Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : movieClip/ Button?


-]
6/2/2004 11:00:17 PM
i've made a movie clip. its a circle and when u move your mouse over it, the
circle with do kinda a small 5 seconds dance, with a funny sound.
How do i make this movie clip when you click on it go to the next scene.?
(i cannot make it a button because the dance wont "flow")
and these codes dont work..

on (release) {
gotoAndPlay("Scene 2", 1);
}

or

onClipEvent (mouseDown) {
gotoandplay("Scene 2", 1)
}

Thx in advance

mandingo
6/2/2004 11:13:29 PM
if your movieClip has an instance name of "circleMC"

circleMC.onRelease = function(){
gotoAndPlay("frameLabel");
}

Another thing... don't use Scenes in navigation... use frames and FrameLabels
as well... the scene labels don't compile in the swf and as a result, your
navigation may not work correctly.

hope this helps,
cheers,
AddThis Social Bookmark Button