Sorry for the peculiar thread title; i didn’t know how to sum up my problem in a few words.
I have an mc, that i need to have follow the mouse on the x axis. I have that just fine. But my problem is that i need a certain frame within the mc to play if the mouse is at a certain area of the stage.
For example, if the mouse is at the x coordinate of 235 to the left, frame 2 of the movieclip will play. I uploaded just a test fla that i was practicing on.
if you compare two values you must not write if(a=b)
because this gives a the value of b and if b is not 0,undefined or null the if always returns true!!!
i send you the .fla but i wrote that if x is bigger than the values then the frames are switched because it is very hard to point at a specific pixel with the mouse !