Actionscript 3 stage.focus?
Actionscript 3 stage.focus?
Out of context: Reply #7
- Started
- Last post
- 14 Responses
- CyBrain0
The Event.ADDED_TO_STAGE didn't work.
http://pastebin.com/f24f588b9also tried registering frame_mc with the MouseEvents, but still got the same results as before.
My best guess right now is that I should set the stage.focus.
When I traced stage.focus at the end of onAddedToStage or rolling over any of the squares (before clicking anywhere) I got [object Portfolio] as a result. Portfolio.as is my document class.
After clicking anywhere I trace null as stage.focus rolling over any of the squares.
After clicking anywhere I get null as a result.