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

flash actionscript : onClipEvent variable problem


Crimin
10/21/2004 9:21:00 PM
I have 9 instances of a movie clip on my stage and I want to be able to give a
variable a unique value depending on which mc is clicked on. The script I am
tring to use is

onClipEvent (mouseUp) {
_root.x=1;
_root.play();
}

The problem is that the variable x is not recieving the proper value depending
on the mc that is clicked 1-9.
Every time I click on a different mc the value that is returned is always 3.

Has anyone encountered this before?
Thanks for any help
kglad
10/21/2004 9:32:07 PM
AddThis Social Bookmark Button