hey guys,
im having an issue with as broadcasting.
i have 4 unique movie clips.
the first thing my script dose is randomly choose one of the four and using the .attachMoveiClip method to duplicate it, this happens about 40times. Each movie clip is given a unique name.
what i want to achieve iswhen i click on any movie clip, it performs the same function.
i tried initializing each movie clip as it was created and add the same object as a listener to all.
then got the movie clips to broadcast “onClick” when onMouseDown.
then used [AS]obj.onClick = function{ trace(“i got clicked”); }[/AS]
this worked, except that when i click on movie clip, every movie clip sent the broadcat and i got the trace 40times.
is there a better way? or am i using this the wrong way to achieve what i want?
thx guys