;

PDA

Click to See Complete Forum and Search --> : Simple Action script Problem...


NYCJenX
09-04-2007, 01:29 PM
I have two movie clips and both are in different frames of Scene 1, I wanted to link an enter button on the mc to frame 3 in the scene which will play movie clip two. Now I got that to work with the AS:

on (release) {
tellTarget ("_root"){
gotoAndStop (3);
}
}

However, it seems that the first movie clip is playing behind the second...

Here is a sample so you understand where my problem it, drag your mouse on the second clip where the enter button was on the first clip.

http://www.depictionmedia.com/gallery/photogallery.html

cancerinform
09-08-2007, 10:30 AM
Your AS is Flash 4 syntax. Change to

on(release)
{
_root.gotoAndStop(3);
}

NYCJenX
09-08-2007, 02:16 PM
thank you!