PDA

View Full Version : Loading panoramas with hotspots spot id onClick="openUr


ccmas
06-19-2007, 10:53 PM
I have 3 panoramas and I want to load one and then the others using a > or < button.
However, when I use onClick="openUrl..." I get via the tracer:
TypeError: Error #2007: Parameter url must be non-null.
at global/flash.net::navigateToURL()
at Hotspots/::openUrl()
at Hotspots/execute()
at Hotspots/executeFunction()
at Hotspots/doHSClick()
The middle panorama is at:
http://www.saunderson.com/FPtours/gallerytest/nog/musicroom/navigation21.html
The xml is at:
http://www.saunderson.com/FPtours/gallerytest/nog/musicroom/navigation21.xml
This is probably a very simple error on my part but I have to confess that it has been very frustrating to try to solve. Any help would really really :oops: be appreciated.

jaaaab
06-20-2007, 08:23 AM
Hi

The last version of FPP doesn't support this scripting:

openUrl:http://www.saunderson.com/FPtours/gallerytest/nog/quad/navigation21.html

you have to use this now:

openUrl(http://www.saunderson.com/FPtours/gallerytest/nog/quad/navigation21.html)

do the same for every other line containing ":"

++

ccmas
06-20-2007, 10:14 AM
:P :P :P
Thanks a lot. I can't recall where I picked up the old syntax from. That will teach me not to double check with the manual but I thought it must be more complex than that!

I'm really delighted with this Flash Panoramas Player. I struggled a lot with Immervision's Pure Players and achieved little. There were so few examples.

WELL DONE DENIS. Great job!