Confining hitarea of movieclip used as button
Posted on 2005-05-16
Hello. :) I'm a newbie at Flash so bear with me....
I have a movieclip that I'm using as a button, and within the clip I have actionscript which tells the clip to gotoandplay a certain frame label on rollover. Part of that rollover animation is text which emerges out of the main area of the button (which also disappears upon rollOut). The problem is, once the text emerges, it then becomes part of the hit area within the movieclip, and that complicates the animation if the user rolls over the text before it fully disappears on rollout. Is there any way to disable the text's hitarea altogether? I tried making the text a movieclip and setting the hitarea = null, but that doesn't work because I have no idea what I'm doing. :D Any help would be appreciated.