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

flash (macromedia) : Stopping objects?


Pigbren
4/2/2004 9:35:13 PM
Say I have a bunch of frames of objects moving that loops. Is there a way to
make it so that when an object is clicked with the mouse it stops moving and
everything else keeps going? I want is so it goes to another frame outside the
loop once all the objects are clicked. Is there a way to do this?

Thanks.
kO2n
4/2/2004 10:35:10 PM
Whats your definition of 'object' ? Are you talking about instances of symbols on the stage?

seb
4/3/2004 9:30:39 PM
You'll have to turn your graphics into movieClips and give them instance
names, so you can apply some Mouse events to them. If you don't
understand what I'm talking about, you need to read some tutorials and
learn the basics.



[quoted text, click to view]
Pigbren
4/3/2004 10:04:29 PM
JRMillion
4/3/2004 10:26:45 PM
Well you asked a very general question and it can be done but it depends on
different factors.
If you you scripted motion, you can use variables to determine speed,
direction etc, you can just set speed to 0 when something is clicked.
Pigbren
4/3/2004 11:02:25 PM
Uhh I dont really know how to do that. See I was gonna have the symbols move
around using different frames or flash around in different places. I dont think
that changing the speed will stop the symbol from doing whats in the next
frame. Can anyone give me some step by step instructions on how to do it this
way? Please?
JRMillion
4/3/2004 11:06:16 PM
you are probably better off finding some motion tutorials.
kO2n
4/4/2004 12:00:07 AM
Use a stop(); action in the frame you want to stop at, say you want a movie
clip to play through once just put the stop action in the last frame and the
playhead wont go any further.

I suggest taking some of the basic builtin tutorials in Flash.

Regards,
Viru.
Pigbren
4/4/2004 1:34:14 AM
ok I figured out how to make paths (although it seemed a little more difficult
to have two different paths). Now that I got them to move, I still cant figure
out:
A) how to destroy them when clicked
and most importantly B) how to get it to go to a certain frame when ALL of
them are clicked

Thanks
Pigbren
4/4/2004 3:55:33 PM
*sigh* I know exactly what ur talking about. Im not that new with flash. The
objects already are movie clips, they sorta have to be to make a path with
them. What i need to know is WHAT mouse events to run, WHERE, and HOW. I need
instructions!
Pigbren
4/4/2004 11:52:19 PM
AddThis Social Bookmark Button