Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : movieClip/ Button?


-]
6/2/2004 10:54:04 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




urami_
6/3/2004 5:06:16 PM
[quoted text, click to view]

place some label name on frame 1 in scene two than change the above action to
_root.gotoAndPlay("Label_Name_Here");

[quoted text, click to view]

Same as above , however take note that MouseDown it's a global
event , it will execute if the mouse is pressed anywhere on the stage.
if you like to limit that action just to particular movie clip , you will need
to use hitTest

onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.gotoAndStop("label_name_here");
}
}


--

Regards


urami_*



<no>
http://flashfugitive.com/
</no>

AddThis Social Bookmark Button