Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Ye 3D sprite masking keydown events

Ye 3D sprite masking keydown events

2004-02-13       - By Neto

 Back
Reply:     1     2     3     4     5     6     7     8     9  

Ah, I had forgotten about the focusSprite. I actually used it, since I
control the field's editable property manually (it only ever becomes
editable if the user clicks on it, and becomes uneditable if the user clicks
outside or press return). This became a little habit of mine, because in
past projects with lots of editable fields that could both work as variable
input and display I had a major pain in managing their updates, and
controlling who is editable and who isn't was the best solution.

-- -- Original Message -- --
From: "Roman Bl�th" <bloeth@(protected)>
To: <dir3d-l@(protected)>
Sent: Friday, February 13, 2004 3:41 PM
Subject: Re: [Dir3d-l] Ye 3D sprite masking keydown events


> Hello Neto,
>
> >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)
> >
> Actually I had this issue with our actual project, too, and then for the
> first time have read about
>     "set the keyboardFocusSprite = textSpriteNum"
> And from the help-file: Setting keyboardFocusSprite to -1 returns
> keyboard focus control to the score, and setting it to 0 disables
> keyboard entry into any editable sprite. I really can't remember having
> ever to do with such an issue, so this was new to me.
>
>
> Best regards,
> Roman.
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> 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