Hi!
As it seems this doesn't work. I tried everything and show doesn't
even raise an Alert.show() box. Belowis my code:
File.mxml
---------
<mx:ViewStack id="myViews" width="100%" height="100%">
<mx:Panel id="knjigaScreen" width="100%" height="100%">
<view:DodajTehSpec_Knjiga
myViews="{eventHandler(event)}"/>
</mx:Panel>
<mx:Panel id="tiskovinaScreen" width="100%" height="100%">
<view:DodajTehSpec_Tiskovina
myViews="{eventHandler(event)}"/>
</mx:Panel>
<mx:Panel width="100%" height="100%" id="zgoscenkaScreen" >
<view:DodajTehSpec_Zgoscenka width="100%" height="100%"
myViews="{eventHandler(event)}"/>
</mx:Panel>
</mx:ViewStack>
File.mxml should tell viewstack which view should it load. Because of
that I need a function which will be triggered every time File.mxml is
ran.
--- In [email protected], "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> "show" should do what you need. "hide" might be useful too.
>
> Shan
>
> _____
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of arnold_charming
> Sent: Wednesday, August 09, 2006 9:01 AM
> To: [email protected]
> Subject: [Junk E-Mail - LOW] [flexcoders] which event?!
>
>
>
> Hi!
>
> I'm currently using ViewStack to "scroll" between different windows.
> I'm now looking for an event which will be triggered every time when a
> user enters a specific view. I tried creationComplete but it is only
> runned at the beggining of creating every container.
>
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.8/414 - Release Date: 8/9/2006
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.8/414 - Release Date: 8/9/2006
>
--
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/