Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom event handling



Hi,
I want to use MovieController.click(param1, param2), and cannot understand the documentation. It says that the first parameter is a QDPoint, which I understand, but the second is:

"modifiers - specifies java-defined modifier flags for the event"

In the C api, the second parameter is a modifier flag which you obtain from the event structure. I presume this is mouseMovedMessage, mouseup, mousedown. nullEvent, etc.

I am doing this for dragging on a QTVR movie and if I use MovieController.click(p, 0); I can pan the movie very, very slowly, and only to the right!

I've tried MovieController.click(p, event.MOUSE_DRAGGED), and
MovieController..click(p, StdQTConstants4.kQTEventMouseMoved );

with the same results.

Any ideas?

Thanks,

Vickie




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.