[Papervision3D] KeyboardEvent detection
xero
xero.nu at gmail.com
Wed May 21 11:00:18 PDT 2008
hey,
when i do keyboard event listeners
in flex (2 or 3) i use this or nothing...
this.addEventListener(KeyboardEvent.KEY_DOWN, keyHandler);
or just
addEventListener(KeyboardEvent.KEY_DOWN, keyHandler);
off topic...
the only time i have ever used
Application.application
has been to grab flashvars
from the HTML doc that loaded
the flash (more info on that here)
http://the.fontvir.us/b10g/?id=95
hope this helps!
____ ___
\ \/ /___________ ____
.\ // __ \_ __ \/ _ \
./ \ ___/ | | \( <_> )
/___/\ \___ >__|---\____/
| \_/ \/ |
| xero harrison |
| xero.nu at gmail.com |
| http://xero.nu |
| http://fontvir.us |
| http://0x000000.nu |
| http://xero.owns.us |
`---------------------'
> ---------- Forwarded message ----------
> From: "Philippe Guillard" <pguillard at gmail.com>
> To: papervision3d at osflash.org
> Date: Wed, 21 May 2008 19:20:21 +0200
> Subject: [Papervision3D] KeyboardEvent detection
> I'm using Flex + PV3D, i'd like to detect mouse events from anywhere to
> move my camera, and i'm surprise to see that i can't detect my keybord
> events.
> Something wrong? :
> Application.application.addEventListener(KeyboardEvent.KEY_DOWN,
> keyHandler);
>
> Thanks,
>
> Phil
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080521/b6863ebe/attachment.html
More information about the Papervision3D
mailing list