Now I have a parent document with 2 children mxml docs using 
viewStack. I would like to take the value of a textInput from one 
child and place that value into a text control of the second child. 
Is this possible?

Thank you

--- In [email protected], "kredding.geo" <[EMAIL PROTECTED]> 
wrote:
> 
> Perfect. Thank you.
> 
> 
> --- In [email protected], Gordon Smith <[EMAIL PROTECTED]> wrote:
> > Try
> > 
> > parentDocument.headerStack.selectedChild = secondCanvas;
> > 
> > - Gordon
> > 
> > -----Original Message-----
> > From: kredding.geo [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 02, 2005 5:13 PM
> > To: [email protected]
> > Subject: [flexcoders] ViewStack change using separate mxml file
> > 
> > 
> > 
> > 
> > I created a simple mxml applicationthat contains a viewStack. 
The 
> > stack defaults to the first canvas. This canvas contains a 
button 
> > that when pushed, changes the stack to the second canvas. 
> > 
> > I can get this to work, but what I really want is to put the 
first 
> > canvas into a second mxml file. The problem that happens is now 
> when 
> > the button is pushed it, the action script doesn't understand the 
> id 
> > of the viewStack. The action script is running on the second 
mxml 
> > file while the viewStack is in the first mxml file. 
> > 
> > The code is:
> > function loginButtonPressed() {
> > headerStack.selectedChild = secondCanvas;
> > }
> > 
> > Flex cannot find headerStack. Is there any way to pass this 
value 
> > back and forth between the two mxml files?
> > 
> > Thank you so much,
> > Kim
> > 
> > 
> > 
> > 
> > 
> > 
> > Yahoo! Groups Links





Reply via email to