That works :-)

 

Thanks!

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darin Kohles
Sent: Monday, February 19, 2007 12:06 PM
To: [email protected]
Subject: RE: [AFFUG Discuss] Flex 2 issue: mx.containers.ViewStack

 

You might try setting the creationPolicy="all" for the view stack to force
child creation.

 

Darin Kohles, Application Developer
[EMAIL PROTECTED]
Digital Positions, Inc.
2289 Peachtree Road NE
Atlanta, GA 30309

404-351-2366 phone
404-351-4055 fax
http://www.d-p.com/ 

 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Haygood
Sent: Monday, February 19, 2007 11:36 AM
To: [email protected]
Subject: [AFFUG Discuss] Flex 2 issue: mx.containers.ViewStack

So, I have a ViewStack with a a Canvas, and 2 custom controls that inherit
from Canvas. The ViewStack also implements an interface with the function
show(), which is called when the screen comes into focus by its parent (a
TabNavigator).

 

The first thing ViewStack does is set the selectedChild to one of the custom
controls, which works fine, and then calls the function show() on that child,
which according to trace(), also works fine.

 

Then here comes the problem: the very first time the ViewStack's custom
control child is called, the custom control's show doesn't do anything.
However, switching to a different tab in the ViewStack's parent TabNavigator,
and then switching back to to the ViewStack... everything works fine.

 

Any ideas or hints would be very much helpful, as I'm lost on trying to
figure this one out....

 

Aye aye aye

Justin Haygood | Software Engineer | EyeWonder
Phone 678.891.2031 | Mobile 404.271.2273| Fax 678.891.2017
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  | AIM ewjhaygood

BlackBerry: [EMAIL PROTECTED]


EyeWonder. Richer Media. Richer Results.
www.eyewonder.com <http://www.eyewonder.com/> 

 


------------------------------------------------------------- 
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line 

For more info, see http://www.affug.com 
Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 


------------------------------------------------------------- 
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line 

For more info, see http://www.affug.com 
Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
List hosted by FusionLink <http://www.fusionlink.com>  
-------------------------------------------------------------



-------------------------------------------------------------

To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line



For more info, see http://www.affug.com

Archive @ http://www.mail-archive.com/discussion%40affug.com/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------

Reply via email to