3D Rotate Tool - JavaScript Hotspot & Shadowbox example
Example
About
This example shows:
- A custom hotspot Movie Clip
You can use any movieClip for the hotspot mark. Here, the movieClip named MyCustomHotspot was used, you can find it and edit it in the library of the rotateTool.fla file.
- JavaScript Hotspot
After the hotspot is clicked, a JavaScript function is called. You define the JavaScript function and hotspot in the config.xml, each hotspot can have its own JavaScript function set.
- Loading of other swf
The sample JavaScript function opens a new swf movie in the same area.
Download
You can download this exmaple here: example-openswf.zip. Please note that the JavaScript functionality does not work when the html file is launched directly from your hard-drive. Please access it from an online location or from a local server.
Due to security settings of some browsers (like preventing accessing of local file config.xml from within a webpage or launching local JavaScript), please upload the content of this folder to an online location or test on a local server to experience full functionality. This message will hide automatically when online.