I have a topbar image that changes color based on the mouse position in the fla. The code someone gave me works, but everywhere in the fla. I only want the topbar image to play when the mouse moves hor. across a menu bar).
The topbar is a mc with the color change keyframed over 60 frames.
someone suggested
if (_root._xmouse >= 10 || _root._xmouse <= 100) {
// any movieClip action you want
}
I don’t have any idea how to incorperate this code into my original code. Also, what do the numbers mean associated with mouse position.
i.e. (_xmouse >= 10)