Transitions tutorial...with a twist

Hello everyone,
I’ve made a few threads about this and didn’t get any responses. I’m getting a lot closer to where I want with this but I’ve run into a bit of a snag. I’m using the “transitions” tutorial with a media player. Instead of having a seperate button for each section or song, I have one button that when pushed will load the next section. I’m not sure how to go about applying this code to what I have already.

The buttons (red and blue) I have in the file now are not supposed to be there. I want the user to only have to click on the next button in order to go to the next section. I’m thinking I need to add an array possibly?

I’m really a newbie with actionscript so if someone could please help me, I would REALLY really appreciate it. I’ve been having trouble with this for quite a while and it’s giving me a headache.

Thanks in advance

zip file - www.beneaththesky.com/player_concept2.zip

Anyone? Please?

umm well the way I do it, is to use a watcher, which waits for a change in a variable. This variable is simply incremented by 1 each time the button is pressed. and resets once it hits the maximum number of sections.
the watcher then loads the correct section… easy :wink: you could use an array depending on how you structure the watchers code, using the variable as the index number of the array.

Thanks for the reply :slight_smile: Like I said, I’m sort of a newbie with actionscript so could you point me in the direction of a tutorial or perhaps give me an example of this? Anything would be awesome, thanks again.