PDA

View Full Version : ExternalInterface.call


Corvus
09-08-2007, 11:28 AM
Would love to be able to use hotspots to call JavaScript functions in the enclosing web page using ExternalInterface.call. I know I could do this now by making an swf with the call in it and using it for a hotspot, but I'd need a separate swf for each function/parameter combination - very clumsy. Any chance?

Also, is there any documentation for accessing the panorama with JavaScript *from* the web page? I got to grips with window.document.pano.[id]PanoExecute from the source code of the external example, and had a lucky guess at window.document.pano.[id]PanoGet for reading pan and tilt values using JS, but couldn't find this documented anywhere.

Thanks!