USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 5/28/06 02:08 PM
Sign-Up: 09/25/04
Posts: 34
OK guys...sorry to have to ask...but I seem to have misplaced my buttons file (where I keep information about making different buttons...the one I am interested in at the moment is a replay button...could anyone quickly list the code...I have done this;
on (release) { "scene 2" , "frame 1" }
but to no avail...is there a crucial mistake I am making...
thanks alot
-Electronix-
Posted at: 5/28/06 02:10 PM
Sign-Up: 08/17/03
Posts: 16,550
on (release){ gotoAndStop("Scene 2", 1); }
If the light is green, the trap is clean. PSN ID: KirkNG
Posted at: 5/28/06 02:17 PM
At 5/28/06 02:10 PM, Kirk_Cocaine wrote: on (release){ gotoAndStop("Scene 2", 1); }
ahh thankyou...but this seems to send the user somewhere around scene two frame 100...is this just me?
thankyou
-electronix-
Posted at: 5/28/06 02:18 PM
infact...frame 150 to be precise ;P
Posted at: 5/28/06 02:20 PM
Sign-Up: 05/07/05
Posts: 6,429
on (release) { trace ("gotoAndStop/Play only works well with numbers not scenes or labels") gotoAndStop (1) // Replace 1 with the frame number you want to go to. Remember frame numbers are cumulative over scenes. So if scene 1 has 200 frames then frame 1 of scene 2 will be frame 201 }
- Matt, Rustyarcade.com
All times are Eastern Standard Time (GMT -5) | Current Time: 07:46 AM
<< Back