i try to put script on this button to go to specific scene
but it alway error, can anyone help me ?
here's the button
Attachment 73875
Printable View
i try to put script on this button to go to specific scene
but it alway error, can anyone help me ?
here's the button
Attachment 73875
Hi,
HTML Code:onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false))
{
trace("click"+ name);
_root.gotoAndStop(2);
}
else
{
}
}
Hi,
well post some more of the fla, the button.fla one only had one frame and no scenes, cant do it all for you
here's my project
http://s000.tinyupload.com/index.php...85257141488303
the button.fla was the sample
i was trying to make when the "Mulai" button pressed, the frame will go to "soal1" scene
can you help me ?
Hi,
try this, remove the onclipevent code from each button.
Inside Mulai movieclip, give the button a name of "Clicker"
On the first frame of main timeline use this code
Hope that makes sensePHP Code:stop();
Mulai.Clicker.onPress = function()
{
trace("clicked: " + this._parent._name);
gotoAndPlay("soal 1", 1);
};
thanks