Keith, Karl,
thanks, I have a clearer understanding now.
File structure; Frame labels on timeline order = mmPretzel,
3Musketeers_truffle, MilkyWay_Caramel, mmCO, mmCherry, Twix_java, VOTE, mmPB,
NASCAR.
Animations are setup to play to the end of one then bounce over to the next one
in the
...@chattyfig.figleaf.com [mailto:flashcoders-
boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott
Sent: Wednesday, May 12, 2010 7:58 AM
To: Flash Coders List
Subject: Re: [Flashcoders] gotoAndPlay a sorted array
Keith, Karl,
thanks, I have a clearer understanding now.
File structure
...@chattyfig.figleaf.com [mailto:flashcoders-
boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott
Sent: Wednesday, May 12, 2010 7:58 AM
To: Flash Coders List
Subject: Re: [Flashcoders] gotoAndPlay a sorted array
Keith, Karl,
thanks, I have a clearer understanding now.
File
List
Subject: Re: [Flashcoders] gotoAndPlay a sorted array
Keith, Karl,
thanks, I have a clearer understanding now.
File structure; Frame labels on timeline order = mmPretzel,
3Musketeers_truffle, MilkyWay_Caramel, mmCO, mmCherry, Twix_java,
VOTE,
mmPB, NASCAR.
Animations are setup to play
:05 AM
To: Flash Coders List
Subject: Re: [Flashcoders] gotoAndPlay a sorted array
Keith,
That did it. I shortened the delay and all is working well. Thank you.
My example cited in this post was last years project, I wanted to work
out the code first using it.
Now it's time to build
gotoAndPlay(mOnemTwo);
You need to pass just one element of the mOnemTwo array rather than the
entire array.
So:
gotoAndPlay(mOnemTwo[index]);
Regards,
Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net
-Original Message-
From:
Keith,
added [index] to the function;
now have the following error:
1120:Access of undefined property index.
Wish I could wrap my head around this. Any thoughts?
On May 11, 2010, at 7:31 PM, Keith Reinfeld wrote:
gotoAndPlay(mOnemTwo);
You need to pass just one element of the mOnemTwo array
Hi Don,
How are the different animations playing?
Are you having them play to the end of one then bounce over to the
next one in your final array?
Or is a user clicking a button to send it to the frame to play and
the button is just dynamic?
In your function, you can only go play one frame
Don,
Yes, Karl is correct. In my post 'index' is a variable of type Number which
you would increment upon successive calls to function goOn(). You access
elements of an array by using the array access operator '[]'. The indices of
arrays are zero based, so the index of the first element is 0,
9 matches
Mail list logo