Announcement

Collapse
No announcement yet.

Input without focus

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Input without focus

    How would I receive input to the flash movie without stealing focus (and thus all input) from the UE itself? I read something about using CLIK, although it didn't explain.

    #2
    CLIK uses a focus manager to deal with such things. a requirement is that before any input handling is initiated there must be a setFocus call. Now im doing something i dont think im supposed to do and that is use Selection.setFocus(this). It seems to work right but im not 100% on that. You only need to do this once per clip that needs handling. If there is no focus at all there is no input handler.

    You dont have to use CLIK. You can create your own focus manager but lets face it. Why re-invent the wheel. My favourite coding advice.

    Comment

    Working...
    X