Groups | Blog | Home
all groups > flash actionscript > january 2006 >

flash actionscript : gotoAndPlay question


David Stiller
1/26/2006 4:53:36 PM
irthy,

[quoted text, click to view]

In this example, your Scene would have to be named "scene 1" (is it?)
and the frame label in that Scene would have to be named "buybeats" (is
it?). Even if it is -- if they both are -- it happens that gotoAndPlay(),
when used with Scenes, is known as buggy. Fortunately, the workaround is
very easy. As long as your frame labels are unique across all Scenes, all
you really need is the label.

Forego that Scene parameter altogether and simply use ...

on (release) {
gotoAndPlay("buybeats");
}


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

irthy
1/26/2006 9:48:24 PM
I have a movie clip that is animated and appears to act like a button except I
can't get the on (release) gotoAndPlay scene1, frame thing to work. I've tried
the _root etc but all it does is absolutely nothing. I just want to have the
movie act like a button and go to a specific frame on the main scene (scene1)
but I think it's trying to go to a frame within the movie clip like it does on
the rollover and rollout actions. How do I get it to go to a specific frame on
a scene. Bellow is what i have for the script

on (rollOver){
gotoAndPlay("start");
}

on (rollOut){
gotoAndPlay("stop")
}

on (release){
gotoAndPlay("scene1", "buybeats")
}


www.thekatillist.com is my url
:confused;
AddThis Social Bookmark Button