PDA

View Full Version : Set panhome for the next xml ? (from previous xml)


kuangozz
05-12-2008, 01:28 AM
For example , I have this in pan2.xml

<box id="goToPan2" url="images/arrow.png" align="B" pan="180" tilt="1"
orientation="sphere" rotationX="0" rotationY="0"
onClick="external.ia_video.url=trans/12.flv,1000,fade,loadPan2,loadPan2"
loadPan2="loadPano(xml_file=pan3.xml,0,none)"
/>

I want to modify pan2.xml to set a panhome value of the new pano what will be load in pan3.xml

I tried loadPan2="loadpano(xml_file=pan3.xml&panhome=60,0,none)"
but it's not working !

It easy to set it in pan3.xml , but I must set it in pan2.xml , What I should do ?

Thank you so much !

phberlin
05-12-2008, 11:33 AM
IMO this should work. Maybe you do not use the latest version of FPP? Check if your pano.swf is the most recent one (15 KB).

kuangozz
05-12-2008, 01:38 PM
Thank you !
it works , I re-wrote a new xml and it work well ;)

cheathamlane
05-12-2008, 02:36 PM
What did you change?

kuangozz
05-12-2008, 04:18 PM
I'm not sure what exactly I've modified , may be I removed
disableLoading = 1
(I used to use this to preload some hotpots before loading panorama)

Now my code is look like :

part of x1.xml
<global onTransitionEnd="external.ia_video.visible=0,1000,fade" >
<box id="x1x2" url="images/arrow.png" align="B" pan="0" tilt="1" orientation="sphere" rotationX="0" rotationY="0"
onClick="pano.pan=0,300;pano.tilt=0,300;alpha=0,200;timer=1 ,1000,,loadtrans"
loadtrans="external.ia_video.url=trans/12.flv,1000,fade,loadPan2,loadPan2"
loadPan2="loadPano(xml_file=x2.xml&pan=0)"

/>

part of x2.xml

<panorama>
<parameters>
panoType = mov
panoName = pano/x2
</parameters>
<hotspots>
<global onTransitionEnd="external.ia_video.visible=0,1000,fade" >

izoneguy
05-18-2008, 11:50 PM
so nice.....


Wanker alert!!!

discocandy
05-19-2008, 05:12 AM
@ izoneguy
Yeah I am after it..
please do this type of warning trhoug PM or directly with a report.

I only need the possebillity to remove posts. Do not have the rights yet.. (DENNIS??)

thnx for warning.
on topic now again.:)