TextField in MovieClip blocks MouseEvent.CLICK on vector background even with mouseChildren = false
i'm trying set custom button in flash/as3 textfield causing problems no matter do. i'm wondering if else has ideas.
i have movieclip called tabselector. inside tabselector there 2 layers. first layer has textfield called lbllabel. second layer has movieclip named background which instance of tabbackground.
tabbackground is movieclip containing single vector shape. has 2 frames (representing "pressed" , "not pressed" states), vector different color in each frame.
to keep textfield interfering click events, have tabselector's mousechildren property set false. now, i've done dozen custom buttons in project, , it's worked fine, button, if click anywhere in region textfield occupies, tabselector doesn't register click @ (it still works if click near edge textfield doesn't reach). i've tried setting mousechildren true , lbllabel.mouseenabled false same problem occurs.
the difference between button , of other buttons i've done 1 has vector background , others have imported png (i.e. bitmap) backgrounds.
does textfield cause hole in vector graphics behind if set mouseenabled property false?
the text field isn't input field chance?
More discussions in ActionScript 3
adobe
Comments
Post a Comment