evan
07-30-2008, 04:20 PM
can I set a rectangular boundry programatically rather than what I have been doing
wich is placing a sprite and assigning event listeners like this:
pad.addEventListener(MouseEvent.ROLL_OUT,hideThis, false, 0, true);
and
pad.addEventListener(MouseEvent.ROLL_OVER,showThis, false, 0, true);
it works but I'm looking for another way to improve on an idea.
wich is placing a sprite and assigning event listeners like this:
pad.addEventListener(MouseEvent.ROLL_OUT,hideThis, false, 0, true);
and
pad.addEventListener(MouseEvent.ROLL_OVER,showThis, false, 0, true);
it works but I'm looking for another way to improve on an idea.