customize keys ?
Submitted by ebeuque on February 6, 2007 - 12:05.
Is there a way to customize and/or deactivate keys for controlling the Spi-V panorama ?
I'm especially wanting to modify the behavior of control and shift keys for zooming as they are used for something else in other parts of a director movie into which I'm integrating a Spi-V panorama.
I can use a behavior to add key support so that they setProperty of the _camera, but I need to deactivate shift and control.
fieldOfView | SPi-V dev
Re: customize keys ?
The shift and control only cause SPi-V to zoom when the mouse pointer is over the SPi-V sprite. If you still want to disable shift/control zooming, you can disable the shift/control zooming and the cursor key navigation with this code (which assumes you named the SPi-V sprite "SPi-V")
tell sprite("SPi-V")sprite(1).poNavigator.pDisableKeyNavigation
end tell
The other keys (A, D) react even if the mouse is not over the SPi-V sprite. I'll try to fix that ASAP, because you're not going to be able to disable those keys.
Re: customize keys ?
Is it now possible to disable A and D keys?
Karol
Re: customize keys ?
No, and it won't be (like I said)