[flexcoders] which event to use on component display?
hi, using flex1.5 i need an event to fire everytime a component is displayed on screen. creationComplete/initialize happens only once so they are not good for me. for example i have this code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:TabNavigator styleName=MyTabNavigator width=300 mx:HBox label=Tab title 1 mx:Label text=TAB# 1 fontSize=20 color=#FF / /mx:HBox mx:HBox label=Tab title 2 horizontalAlign=center verticalAlign=middle mx:Label text=TAB# 2 fontSize=20 color=#00FF00 / /mx:HBox mx:HBox label=Tab title 3 horizontalAlign=center verticalAlign=middle mx:Label text=TAB# 3 fontSize=20 color=#FF / /mx:HBox /mx:TabNavigator /mx:Application and i want that every time the label on tab 2 is displayed on screen an alert message will pop. which event do i need? (using flex1.5) Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] which event to use on component display?
If there is no show event like in flex 2, you can use the change event of the TabNavigator and a small function which checks the selected tab. Cheers, Ralf. On 7/11/06, shemeshkale [EMAIL PROTECTED] wrote: hi, using flex1.5 i need an event to fire everytime a component is displayed on screen. creationComplete/initialize happens only once so they are not good for me. for example i have this code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:TabNavigator styleName=MyTabNavigator width=300 mx:HBox label=Tab title 1 mx:Label text=TAB# 1 fontSize=20 color=#FF / /mx:HBox mx:HBox label=Tab title 2 horizontalAlign=center verticalAlign=middle mx:Label text=TAB# 2 fontSize=20 color=#00FF00 / /mx:HBox mx:HBox label=Tab title 3 horizontalAlign=center verticalAlign=middle mx:Label text=TAB# 3 fontSize=20 color=#FF / /mx:HBox /mx:TabNavigator /mx:Application and i want that every time the label on tab 2 is displayed on screen an alert message will pop. which event do i need? (using flex1.5) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] which event to use on component display?
There is definitely a show event in flex 1.5. Are you not seeing the expected results when using the show event? Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf BokelbergSent: Tuesday, July 11, 2006 9:40 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] which event to use on component display? If there is no show event like in flex 2, you can use the change eventof the TabNavigator and a small function which checks the selectedtab.Cheers,Ralf.On 7/11/06, shemeshkale [EMAIL PROTECTED]com wrote: hi, using flex1.5 i need an event to fire everytime a component is displayed on screen. creationComplete/initialize happens only once so they are not good for me. for example i have this code: ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" mx:TabNavigator styleName="MyTabNavigator" width="300" mx:HBox label="Tab title 1" mx:Label text="TAB# 1" fontSize="20" color="#FF" / /mx:HBox mx:HBox label="Tab title 2" horizontalAlign="center" verticalAlign="middle" mx:Label text="TAB# 2" fontSize="20" color="#00FF00" / /mx:HBox mx:HBox label="Tab title 3" horizontalAlign="center" verticalAlign="middle" mx:Label text="TAB# 3" fontSize="20" color="#FF" / /mx:HBox /mx:TabNavigator /mx:Application and i want that every time the label on tab 2 is displayed on screen an alert message will pop. which event do i need? (using flex1.5) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___