You can call the method just about anyway imaginable.

<mx:Button label="Fire event" click="init()"/>

My advice would be to look at the API. If you put your cursor on a mxml component, like in the above example, put the cursor on any of the letters in "Button" and hot "SHift + F2". This will take you to the API. Scroll down to the "Events" section. Any of those you treat as an attribute where you pass in the name of your function as the value.


Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. __._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to