Mailing Lists: Apple Mailing Lists

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

Re: dynamic loading of hotspot URL's



The thing with LSP (QuickTime for that matter) is that the event handler script must be hard coded.

You can use QTLists (XML) to send the URLs to the QTVR movie. You can then have a custom event handlers that depending on the hotspot that was clicked, retrieves the correct URL from the QTList. For this to work your QTList and hotspots must be somewhat married, so each hotspot retrieves the correct value from the QTList that was sent.

And yes, all this is done in LSP.

Well, my normal procedure with linked scenes in Director is to create the scene in QTVRAS or whatever and record the data for each hot spot (its panoID & hotSpotID and type of link - blob or jump) and record the jump-to information (panoID, FOV, tilt & pan) into either an internal or external text member. I then read that table into lingo lists (arrays) when the Director project launches. Then declare a triggerCallBack script when the pano sprite loads. The triggerCallBack script automatically runs if a hot spot is clicked and first it tells the QT movie to not react to the hotSpot click, then it refers to the lingo list and either changes screen content if it is a blob link or it sets the multinode Pano's nodeID, fov, tilt & pan angle -> making the jump. I'd be surprised if there isn't a similar approach available in LiveStage.


Why do I do it that way? Because it puts Director in complete control of the QT and you can do more than just jump and because doing it this way is part of my process of avoiding a white flash in the QT window during jumps on certain platforms. It isn't as much of a pain in the ass as it sounds. There must be a way of doing that same thing in LiveStage. No?

Ray Broussard
http://www.PhotographicVR.com/
_______________________________________________
quicktime-vr mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-vr
Do not post admin requests to the list. They will be ignored.

References: 
 >dynamic loading of hotspot URL's (From: "Jan Dunlop" <email@hidden>)
 >Re: dynamic loading of hotspot URL's (From: Ray Broussard <email@hidden>)
 >Re: dynamic loading of hotspot URL's (From: Francesco Schiavon <email@hidden>)



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.