PDA

View Full Version : N00b


Zane217
04-14-2002, 04:27 AM
First I have to say that I am self-taught in flash and actions scripts so I don’t know much about it yet, I do know some programming though. This is the simplified version of the problem.

I have a two scene movie, the first frame of each scene is labeled either main or links. The movie plays then stops and waits for a button to be pressed. The button action script is like this

On (release) {
X = "main";
Run;
}

or x = links depending on the button that is hit. The movie then continues to play
The last frame has an action script

Gotoandplay (x)

I was hopping to get it to go to the correct scene and the first frame and run. It either goes to the first frame of the wrong scene or does a quick loop at the end of the movie that does not stop looping. I think my problem my be a local or global variable problem. Or I know a lot less than I though about this scripting thing. I an starting to go through the tutorials on this page, they seem very usefull
Any and all help would be useful
Thanks

Zane

Billy T
04-14-2002, 04:55 AM
try getting rid of the scenes and putting it all in 1 timeline

cheers