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

RE: [Flashcoders] gotoAndPlay a sorted array

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

Re: [Flashcoders] gotoAndPlay a sorted array

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

Re: [Flashcoders] gotoAndPlay a sorted array

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

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,