Flash API (Pano2VR) From Garden Gnome Softw are (Redirected from Pano2VR - Flash API) Jump to: navigation, search To embed the pano, please use the following code: Contents [hide] 1 Loading the Panorama o 1
1 Actionscript 3
2 Actionscript 2
0 2 Panorama API calls o 2
1 Changing the view o 2
2 Changing the panorama window o 2
3 Hotspots o 2
4 Video o 2
5 Others 3 Change the default Hotspot handler o 3
1 Actionscript 3
2 Actionscript 2
0 Loading the Panorama Actionscript 3
0 import flash
display
*; import flash
URLRequest; import flash
events
Event; var loader:Loader = new Loader(); var url:String = "panorama
swf"; var urlReq:URLRequest = new URLRequest(url); var vr:MovieClip; // panorama movieclip // This is done after the swf is loaded
function finished_loading (e:Ev