Working with Hotspots

The easiest way to add hotspots to your panoramic image is to make an swf file. Import your image and add buttons on top of it.

From that file you can then target the component in your main file using
_parent._parent

For example, to load a new panoramic image in your component from an external file that has the button labeled myButton the following code should be added to the timeline of the external file:

myButton.onRelease=function()
{
     _parent._parent.loadNew("myNewImage.jpg");
}

Click and drag in the example below. The different numbers lead to different pages, try it out.