Hi,
I’m using Flash CS3 and I have this weird problem…
I just put a input text box (with borders so I can see it) and called “[COLOR=RoyalBlue]txtTest[/COLOR]” and added this script:
[COLOR=RoyalBlue]txtTest.addEventListener(FocusEvent.FOCUS_OUT, function(event:FocusEvent):void {
trace(“FOCUS_OUT”);
});[/COLOR]
Test the movie and you will see that when you click in the box and click out side it will trace “FOCUS_OUT”.
Now add any User Interface Component to the Scene.
Test the movie, you can’t make it trace “FOCUS_OUT” anymore…
Why?
How can I fix this?
Any idea?
Thank you.