PDA

View Full Version : on (release) problem



zpewish
August 25th, 2003, 07:31 PM
Sorry about the crosspost. New to kirupa

Need MX Help!

I can't attach the .fla. it's too big. but if you can help, it would be greatly appreciated. anyway, I attached this actionscript to a movie clip:

on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndStop(1);
}
on (release) {
gotoAndPlay("movie", 3);
}

It rolls in and out fine. but refuses to change scenes or even frames with on (release). I am kind of new to flash.

lostinbeta
August 25th, 2003, 08:04 PM
Is the movie clip symbol on the main stage? If so you canuse _parent.gotoAndPlay(). Since gotoAndPlay() on a movie clip symbol assumes you are talking about the timeline in that specific movie clip you need to jump back a level using _parent so that it targets the main timeline.

Otherwise you would need to apply a frame label to the frame you are trying to get to and use _parent.gotoAndPlay("frameLabel")

Eric Jr.
August 25th, 2003, 08:48 PM
Stop crossposting ...

lostinbeta
August 25th, 2003, 09:15 PM
Grrr... thanks for pointing that out Eric.

zpewish: I deleted your other thread, please do not crosspost (post the same question in more than one section), it is both confusing and annoying.

eyezberg
August 26th, 2003, 03:17 AM
and read the rules if you're new,
think of better titles for your posts too...
why does everybody think "i'm new" is an excuse
for not reading the stickies & rules before posting?
specially when you are new, you should get familiar with
the place first before posting..then you wouldn't get answers like these :)
welcome.