External interface demonstration

The external interface enables Flash and JavaScript integration. It allows for synchronous communication, a method of talking to the Flash player using Javascript. It works by calling functions inside the Flash movie that external Javascripts can call. It works in all the major browsers including Internet Explorer 5.0+, Firefox 1.0+, Mozilla 1.7.5+, Netscape 8+, and Safari 1.3+.

panorama.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="panorama.xsl"?>
<config>
<main>
	<pageTitle>External Interface Demo</pageTitle>
	<theme_enabled>false</theme_enabled>
	<numConnections>3</numConnections>										
	<preloadFronts>false</preloadFronts>									
	<retryItem>5</retryItem>														
	<qualityMotion>low</qualityMotion>								
	<loresFolder>pano</loresFolder>							
	<defaultRes>low</defaultRes>													
	<panoType>cubical</panoType>																			   																						
	<cubeSize>5000</cubeSize>															
	<tiles>24</tiles>																																						
	<loaderImage>images/loader.png</loaderImage>
</main>
<panorama>
	<frameId>External_Interface_demo_1</frameId>
	<cubic>
		<front>grid/front.jpg</front>
		<right>grid/right.jpg</right>
		<back>grid/back.jpg</back>
		<left>grid/left.jpg</left>
		<bottom>grid/bottom.jpg</bottom>
		<top>grid/top.jpg</top>
	</cubic>	
	<roomTitle>Demo Room 1</roomTitle>
	<startX>0</startX>
	<startY>0</startY>
	<startAuto>0.1</startAuto>
	<startDelay>10</startDelay>
	<zoomMin>1</zoomMin>
	<zoomMax>4</zoomMax>
	<zoomStart>1</zoomStart>
	<zoomSteps>0.1</zoomSteps>
	<stepsKeyboard>75</stepsKeyboard>
	<stepsMouse>60</stepsMouse>
	<friction>0.2</friction>
	<threshold>0.001</threshold>
</panorama>
<panorama>
	<frameId>External_Interface_demo_2</frameId>
	<cubic>
		<front>grid2/front.jpg</front>
		<right>grid2/right.jpg</right>
		<back>grid2/back.jpg</back>
		<left>grid2/left.jpg</left>
		<bottom>grid2/bottom.jpg</bottom>
		<top>grid2/top.jpg</top>
	</cubic>	
	<roomTitle>Demo Room 2</roomTitle>
	<startX>0</startX>
	<startY>0</startY>
	<startAuto>0.1</startAuto>
	<startDelay>10</startDelay>
	<zoomMin>1</zoomMin>
	<zoomMax>4</zoomMax>
	<zoomStart>1</zoomStart>
	<zoomSteps>0.1</zoomSteps>
	<stepsKeyboard>75</stepsKeyboard>
	<stepsMouse>60</stepsMouse>
	<friction>0.2</friction>
	<threshold>0.001</threshold>
</panorama>
</config>	

config.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<config>
<themeDir>themes/demo</themeDir>
<fullscreenPluginSize>1.0</fullscreenPluginSize>
<plugin>
	<name>info</name>
	<swf>info.swf</swf>
	<posX>150</posX>
	<posY>300</posY>
	<canvas>true</canvas>
	<fullscreen>true</fullscreen>
	<fullscreenPos>bottom right,-420,-220</fullscreenPos>
</plugin>
</config>

theme.xml

<?xml version="1.0" encoding="ISO-8859-1" ?>
<config>
<theme>
	<canvasWidth>700</canvasWidth>						
	<canvasHeight>513</canvasHeight>					
	<tourWindowWidth>700</tourWindowWidth>		
	<tourWindowHeight>513</tourWindowHeight>	
	<tourWindow_PosX>0</tourWindow_PosX>		
	<tourWindow_PosY>0</tourWindow_PosY>
	<cameraFocus>300</cameraFocus>	
	
	<loadingTxt>Loading</loadingTxt>					
	<mainLoader_PosX>200</mainLoader_PosX>
	<mainLoader_PosY>250</mainLoader_PosY>
	<loader_PosX>200</loader_PosX>
	<loader_PosY>230</loader_PosY>
	
	<panoTransitionType>random</panoTransitionType>
	<panoTransitionColour>0x333333</panoTransitionColour> 
	<panoTransitionEffect>all</panoTransitionEffect> 	
	<panoTransitionBlurEffect_percentage>30</panoTransitionBlurEffect_percentage>
	<transitionDuration>1</transitionDuration>
	
</theme>
</config>