PDA

View Full Version : swf files playing in background and preview/hotspot problem


Mindslave
08-24-2007, 10:09 AM
Hi,

question #1

I was trying to make waving flags in the panorama.
so i had an transparent swf file of a waving flag now i added it with this script:

<spot url="flag.swf" pan="-3" tilt="5" buttonMode="0" />

it seemed good cause the flag was waving but when I moved to the right, left up or down the flag would move to...

i tried:

<box url="flag.swf" orientation="front" pan="-3" tilt="5" buttonMode="0" />

then it stays in the right place but it doenst wave anymore... :(

does anyone have a sollution for me?

________________________________________

I figured out question 1 myself :P <box id="flag" url="flag1.swf" scale="0.5" blur="2" pan="-6.5" tilt="14.8" scale="0.5" orientation="front" refreshRate="20" segmentsX="4" segmentsY="4" buttonMode="0" />




question #2

if i have this script:

<?xml version="1.0" ?>
<panorama>
<parameters>

disableLoading = 1
loaderTextColor = #FFFFFF
loaderBackColor = #282828
loaderText =
zoomHome = 0.7

layer_5 = hotspots.swf

</parameters>

<hotspots>
<global
onStart = "loadPreview();"
loadPreview = "
loadPano(?panoName=docks_small,300);
onTransitionEnd=loadMain();
pano.qualityStatic=low
"
loadMain = "
loadPano(?panoName=docks,600);
onTransitionEnd=
"
>

</global>
</hotspots>
</panorama>


where do I put the hotspots script line (for instance: <spot url="flag.swf" pan="-3" tilt="5" buttonMode="0" /> )??? so the hotspots fade in at the same time my docks pano fades in...

thx in advance :P

_________________________________________________


I figured out question 1 myself :P <box id="flag" url="flag1.swf" scale="0.5" blur="2" pan="-6.5" tilt="14.8" scale="0.5" orientation="front" refreshRate="20" segmentsX="4" segmentsY="4" buttonMode="0" />

Only question 2 now :)