-
gotoandplay not working
ok, i'm having trouble making a mousevent work. Take a look, the button WHO is supposed to go to the scene WHO, but it doesn't work. For the life of me, I can't figure it out.
the file is located here... help would be much appreciated.
http://deserdragon.net/almostp2p/moduleFLA.fla
im not sure if that URL is resolved yet, i just signed it up for a client, but try
http://restandeffect.com/almostp2p/moduleFLA.fla
Last edited by reza naghibi; 12-16-2004 at 03:28 PM.
cheers,
reza ryan naghibi
sign up for your free
search engine optimization
analysis today!
elitebeat enterprises
-
Senior Member
It's going to the who scene, but it is stopping on the first frame of the who scene (because, hidden inside the globals layers, you have a stop(); command). So it looks like nothing is happening....
Remove the hidden stop(); command, and fix it to stop on the last frame of that scene.
I would also recommend using unique frame labels, rather than scene names with your gotoAndPlay() commands. Scene names and actionscript don't mix well.
-
Your button does in fact work, and hitting the "who" button moves the playhead to frame 1 of the the "who" scene. Problem is the who scene is exactly the same as your preceding scene, so you don't really notice it.
In any case, you shouldn't be using gotoAndPlay, but gotoAndStop!
And you shouldn't even be targeting scene names, but labeled frames instead.
Check my post in this thread...
http://www.flashkit.com/board/showth...hreadid=584159 // labels
-
oh im an idiot.. thanks a lot guys. cheers
cheers,
reza ryan naghibi
sign up for your free
search engine optimization
analysis today!
elitebeat enterprises
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|