Search the web
Sign In
New User? Sign Up
ydn-flash · Yahoo! Flash Developer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Possible bug in Flash MenuBar component   Message List  
Reply | Forward Message #989 of 2036 |
RE: [ydn-flash] Re: Possible bug in Flash MenuBar component

I can’t reproduce in 1.2 either, and I copied your code exactly. The “orange” item is already greyed out when I open the menu.

Josh Tynjala
Yahoo!

 


From: ydn-flash@yahoogroups.com [mailto:ydn-flash@yahoogroups.com] On Behalf Of mrjoecutting
Sent: Wednesday, May 14, 2008 7:56 AM
To: ydn-flash@yahoogroups.com
Subject: [ydn-flash] Re: Possible bug in Flash MenuBar component

 

Tripp,
Thanks for looking into this.

It's very strange that you can't reproduce this - I first had it with
version 1.12 and have just installed version 1.2 and its just the same.

Here's the complete code for my test example. I've simply typed it
into the first frame on the timeline and the "orange" only goes greyed
out when you move your mouse from the menuBar to the menu itself (ie
over red, orange yellow etc). I'm testing in the Flash IDE (CS3).

import com.yahoo.astra.fl.controls.MenuBar;
import com.yahoo.astra.fl.events.MenuEvent;
import flash.events.MouseEvent;

//create an xml object
var menus:XML =
<menus>
<menu label="colors">
<menuitem label="red"/>
<menuitem label="orange" enabled="false"/>
<menuitem label="yellow" />
<menuitem label="green" />
<menuitem label="blue" />
<menuitem label="purple" />
</menu>
<menu label="cars">
<menuitem label="american">
<menuitem label="cadillac" />
<menuitem label="buick" />
<menuitem label="pontiac" />
<menuitem label="chevrolet" />
<menuitem label="ford" />
</menuitem>
<menuitem label="japanese">
<menuitem label="toyota" />
<menuitem label="honda" />
<menuitem label="nissan" />
</menuitem>
</menu>
<menu label="apples">
<menuitem label="gala" />
<menuitem label="granny smith" />
<menuitem label="fuji" />
</menu>
</menus>

var menuBar = new MenuBar(this);
menuBar.dataProvider = menus;

Cheers

Joe

--- In ydn-flash@yahoogroups.com, "tripp.bridges" <trippb@...> wrote:
>
> Hi Joe,
> I am having trouble reproducing this issue. I have tried XP with IE 6,
> 7, FF 2.0.0.14 and Safari 3.1. I have also tested within the Flash
> IDE. In all case the menu opens with the node greyed out and
> non-clickable.
> When testing, I took the existing examples provided with the component
> and changed the "orange" node to match yours. Perhaps, there is
> something else in your code contributing to this issue. Can you send
> me a larger sample of your code? If I can reproduce your issue, I can
> verify it as a bug and/or offer suggestions.
>
> Thanks,
> Tripp
> --- In ydn-flash@yahoogroups.com, "mrjoecutting" <contact@> wrote:
> >
> > I might have found a bug in the MenuBar component.
> >
> > If I create a menu with one of the items disabled like this:
> >
> > <menuitem label="orange" enabled="false"/>
> >
> > Then the item displays normally (black text) until I move the mouse
> > over it - then it turns grey.
> > I'm using Flash CS3 on Windows XP.
> >
> > Is this a known bug or am I doing something wrong?
> >
> > Cheers
> >
> > Joe
> >
>



Wed May 14, 2008 5:18 pm

joshtynjala
Offline Offline
Send Email Send Email

Forward
Message #989 of 2036 |
Expand Messages Author Sort by Date

I might have found a bug in the MenuBar component. If I create a menu with one of the items disabled like this: <menuitem label="orange" enabled="false"/> Then...
mrjoecutting
Offline Send Email
May 9, 2008
5:12 pm

Hi Joe, I am having trouble reproducing this issue. I have tried XP with IE 6, 7, FF 2.0.0.14 and Safari 3.1. I have also tested within the Flash IDE. In all...
tripp.bridges
Offline Send Email
May 9, 2008
6:16 pm

Tripp, Thanks for looking into this. It's very strange that you can't reproduce this - I first had it with version 1.12 and have just installed version 1.2 and...
mrjoecutting
Offline Send Email
May 14, 2008
2:56 pm

I can't reproduce in 1.2 either, and I copied your code exactly. The "orange" item is already greyed out when I open the menu. Josh Tynjala Yahoo! ...
Josh Tynjala
joshtynjala
Offline Send Email
May 14, 2008
5:19 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help