salignX horizontal window alignment, works together with static parameter
Can be used to change the window align point with motion tween or to set the window align point to any custom position.
Setting of salign property changes salignX value (L gives -0.5, C gives 0, R gives 0.5).
<spot url="me.jpg" static="1" salign="RB" align="RB" onClick="alignX=0,1000;alignY=-1,1000;salignX=0.5,1000;salignY=0.5,1000;" />
(moves static hotspot object form the right-bottom corner to the left-bottom corner on mouse click)
salignY vertical window alignment, works together with static parameter
Can be used to change the window align point with motion tween or to set the window align point to any custom position.
Setting of salign property changes salignY value (T gives -0.5, M gives 0, B gives 0.5).
<spot url="me.jpg" id="s1" static="1" salignX="-0.25" salignX="-0.25" />
(places hotspot object to 1/4 from the panorama window left-top corner)
player.file= ProjectName_files/media/sound/part1.mp3<hotspots>
<global
onStart="
disableLogoMeter();
"
onNewPano="
disableAutorotator();
"
enableAutorotator="
external.autorotator.disabled=0;
pano.behaviour=2;
"
disableAutorotator="
external.autorotator.disabled=1;
pano.behaviour=-1;
"
disableLogoMeter="
external.logometer.enabled=0;
"
play_part1_function="
player.file=audiotest_files/media/sound/part1.mp3;
"
>
<pano
/>
<spot
id="deletemeifyouwant"
url="AudioTest_files/hotspotFiles/images/emptyImage.png"
depth="1"
/>
<spot
id="player"
url="AudioTest_files/hotspotFiles/swf/soundspot.swf"
depth="2"
/>
<spot
id="click_trigger"
url="AudioTest_files/hotspotFiles/images/SP1c.png"
scaleable="0"
static="1"
cacheAsBitmap="0"
depth="4"
scaleX="0.4"
scaleY="0.4"
staticX="10"
staticY="10"
alignX="0"
alignY="0"
salignX="-0.5"
salignY="-0.5"
onClick="
play_part1_function();
"
/>
</global>
</hotspots><hotspots>
<global
onNewPano="
disableAutorotator();
"
enableAutorotator="
external.autorotator.disabled=0;
pano.behaviour=2;
"
disableAutorotator="
external.autorotator.disabled=1;
pano.behaviour=-1;
"
d_onOver_scale="
scale=1.2,100,easyIn;
"
d_onOut_scale="
scale=1,100,easyOut;
"
play_mitch="
player.file=test_files/media/sound/mitch.mp3;
"
>
<pano
/>
<spot
id="hotspot1"
url=""
depth="1"
/>
<spot
id="hotspot18"
url="files/hotspotFiles/images/small_brighter.png"
depth="18"
pan="27.231900116758265"
tilt="-8.367465529158261"
onClick="
play_mitch();
"
/>
<box
id="player"
url="files/media/swf/soundspot.swf"
orientation="sphere"
depth="19"
pan="4.759171447619187"
tilt="-23.586988247220273"
refreshRate="12"
/>
</global>
</hotspots>play_mitch="
player.file=test_files/media/sound/mitch.mp3;play_mitch="
player.file=files/media/sound/mitch.mp3;Users browsing this forum: Bing [Bot] and 1 guest