| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to link to Scene 2?
i have a question of how to use button to link from Scene 1 to scene 2.
i already create a button and have scene 1 and 2 ready as well. all i need now is the action. how to set the action of the button so that it links to another scene when i click on it??? i've tried open up the action window (F9). and set up the action "gotoandplay (scene 2)" but it just not working.... |
|
#2
|
|||
|
|||
|
You have to put the button on first, your action script is supposed to look like this:
on (press) {gotoAndPlay("Scene 2", 1); } |
![]() |
| Viewing: Tutorialized Forums > 2D Graphics > Flash > How to link to Scene 2? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|