AtomicChip
Programmer
Here's my code (AS2.0 within a class):
Any ideas why neither of the onMouseMove events are triggered? If I substitute this.mc_on.onMouseMove for this.onMouseMove, it works fine - but I don't want the onMouseMove for the parent clip, I want it for the child clip...
Any ideas?
Thanks
-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
Code:
class MouseOverButton extends UIComponent
{
//...
private function createChildren()
{
this.createEmptyMovieClip("mc_off",0);
this.createEmptyMovieClip("mc_on",1);
this.mc_off.onMouseMove = function()
{
trace("foo");
};
this.mc_on.onMouseMove = function()
{
trace("foo");
};
invalidate();
}
//...
}
Any ideas why neither of the onMouseMove events are triggered? If I substitute this.mc_on.onMouseMove for this.onMouseMove, it works fine - but I don't want the onMouseMove for the parent clip, I want it for the child clip...
Any ideas?
Thanks
-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy