Skip to main content
Participant
July 10, 2006
Question

onrelease...What

  • July 10, 2006
  • 3 replies
  • 312 views
why links to scenes don't work. The action script is correct but when I go checking the project with an export (.swf) and I click to that button the scene linked to it is not the sameone that appears on the action script. WHY? It's driving me mad
This topic has been closed for replies.

3 replies

Inspiring
July 10, 2006
going from scene to scene is always a problem ... If you want to switch from scene to scene use frame number...

if you have.. lets say... 7 frame in scene 1 your scene 2 is frame 8

or better add some frame label so you don't have to count the frame

scene2 frame 1 label : myScene2

gotoAndPlay(myScene2)
Chicca81Author
Participant
July 11, 2006
thanx It was really handy and it works great
July 10, 2006
Could u perhaps be a little more specific... like give us a codesnippet, or perhaps a .fla!?
Inspiring
July 10, 2006
...I don't understand your question...
Chicca81Author
Participant
July 10, 2006
Sorry people... my English is not that good.. I'll try again:
I have a switch on scene 1, I link the switch to scene 2

on (release) {
gotoAndPlay ( "scene2", 1 );
}

I check there is no mistakes on action script and then I go to export the movie in order to check what I've just done. When I'm on scene 1 I click the switch and it brings me to scene 4 instead of scene 2. Why?