Ye 3D sprite masking keydown events 2004-02-13 - By Neto
Back I just had this issue (3D sprite "eats" my keyDown events). I solved it by adding the "on Keydown" to the 3D sprite script, and having it call a "on keyDownEvent" movie handler, that had my keydown handling code. I also had "keyDownEvent()" placed in the "on Keydown" movie script as fallback, in case the 3D sprite loses focus.
I have an editable field used for debug purposes, and it never had problems in coexisting with the 3D sprite, even before I added the workaround code (I needed it because I suddenly needed to trap keypresses for a custom input fields inside the 3D sprite - and I wanted to use the global keydown, to avoid focus problems)
-- -- Original Message -- -- From: "Barry Swan" <gerbil@(protected)> To: <dir3d-l@(protected)> Sent: Friday, February 13, 2004 5:26 AM Subject: [Dir3d-l] Ye 3D sprite masking keydown events
> I think someone posted a quick fix to this issue, but can't seem to find > it. > Can someone gimme a prod, cheers :) > > Barry > gerbil@(protected) > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Dir3d-l mailing list > Dir3d-l@(protected) > http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|