http://livedocs.adobe.com/flex/3/langref/mx/containers/ViewStack.html#event:change
--- In [email protected], "John" <[EMAIL PROTECTED]> wrote: > > Does anyone have any source code for this? I cannot find anything > mentioned in the Flex 3 documentation. > > --- In [email protected], "Fotis Chatzinikos" > <fotis.chatzinikos@> wrote: > > > > The view stack has a change event, > > > > you can associate a handler there and depending on the index of the > stack > > call the appropriate swf start/play method > > > > > > On Wed, Oct 22, 2008 at 3:20 AM, John < > > jpapworth@> wrote: > > > > > My actionscript is not that strong, we have several Flash > animations > > > in each of our viewstack children, and reall I wondered if there > was > > > something we could make it play it from frame 1 of the movie > again. > > > > > > If we cannot get this to work, is there a similar functionality > > > within States, where we can use our forward and back buttons to > > > navigate each way? > > > > > > TIA > > > --- In [email protected] <flexcoders%40yahoogroups.com>, > > > "valdhor" <stevedepp@> wrote: > > > > > > > > In a viewstack each view is only instantiated when that > particular > > > > view is selected. Once instantiated, it is not instantiated > again. > > > > What you want to do is have your Flash play when an event > occurs. > > > For > > > > the instantiation you would probably want to use the > > > CreationComplete > > > > event. For subsequent times I think the event is Show (Although > I > > > > could be wrong) > > > > > > > > > > > > --- In [email protected] <flexcoders% > 40yahoogroups.com>, "John" > > > <jpapworth@> wrote: > > > > > > > > > > Hi there > > > > > > > > > > I wonder if someone can help me. > > > > > > > > > > I have a viewstack with seperate pages - each page has a Flash > > > > > animation. However, what I have found is when I navigate > through > > > the > > > > > viewstack, the flash plays, then I goto the next page all is > > > fine, but, > > > > > if I then return to the previous one - it does not reset the > > > Flash to > > > > > frame 1. It has stayed at its last frame. > > > > > > > > > > Is there a way of telling Flex to play these movies from the > > > beginning > > > > > everytime? > > > > > > > > > > Regards > > > > > > > > > > J > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Fotis Chatzinikos, Ph.D. > > Founder, > > Phinnovation > > Fotis.Chatzinikos@, > > >

