By default, when you assign an object to be the mask of another object, that object (the mask) loses its interactivity. For example, a sprite with a click event associated with it will recieve those events when not a mask but will not be able to once it becomes a mask.
If you want an object acting as a mask to be interactive, assign its buttonMode property to be true.
ActionScript Code:
maskInstance.buttonMode = true;
Friday, November 14, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment