Look at the example on livedocs at the bottom of the page.  In short, you're using listening for an itemclick event:
http://livedocs.macromedia.com/flex/2/langref/mx/controls/Menu.html

On 8/10/06, Igor Costa <[EMAIL PROTECTED]> wrote:
Hi list

How should I create a event into the mx:menuBar to add some transitions between my states?

here's what I have
<mx:MenuBar alpha="0" id="itensdoMenu" labelField="@label">
            <mx:XMLList>
                <menuitem label="Home" itemClick="currentState=''">
                </menuitem>
                <menuitem label="Sobre o Flex" click="currentState='sobreFlex'">
                    <menuitem label="O que é Flex?" click="currentState='sobreFlex'"/>
                    <menuitem label="Tecnologias usadas"/>
                    <menuitem label="Soluções ENG"/>
                </menuitem>
          </mx:XMLList>
</mx:MenuBar>

So, I tried to put click event to do that but no sucess, I have to create a event into AS3 to do that?

Who could help me?

--
----------------------------
Igor Costa
www.igorcosta.com

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to