Re: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Donald Talcott
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

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Keith Reinfeld
...@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

Re: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Donald Talcott
...@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

Re: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Karl DeSaulniers
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

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-12 Thread Keith Reinfeld
: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

[Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Donald Talcott
Have a file with 9 animations, each with a frame label on the timeline I've created 2 arrays, sorted the 2nd one and concat() the two into a third array. I'm tracing all arrays and they are working as I'd like. Now I would like to gotoAndPlay the final array. Can this be done? See code below:

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott Sent: Tuesday, May 11, 2010 5:25 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] gotoAndPlay a sorted array Have a file with 9 animations, each with a frame label on the timeline I've created

Re: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Donald Talcott
Sent: Tuesday, May 11, 2010 5:25 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] gotoAndPlay a sorted array Have a file with 9 animations, each with a frame label on the timeline I've created 2 arrays, sorted the 2nd one and concat() the two into a third array. I'm tracing all

Re: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Karl DeSaulniers
...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott Sent: Tuesday, May 11, 2010 5:25 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] gotoAndPlay a sorted array Have a file with 9 animations, each with a frame label on the timeline I've

RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
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,