Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2007, 12:06 PM
3rw1n 3rw1n is offline
Member
 
Join Date: Nov 2007
Posts: 60
Downloads: 0
Uploads: 0
Default Panorama slowing down when over hotspot

Hello everyone,

I have a small problem with one of my tours.

on this pano => http://visitimo.fr/clients/francmayne/relais_flash_fr/

While pano alone is displaying smoothly, when it goes over my hotspots it's slowing a bit, making it no so smooth as I'd like.

My hotspots are made of alpha=0 jpeg images that shows on hover and grows on click.

Here is a piece of my xml file =>

Code:
<?xml version="1.0"?>

<panorama>
<parameters>
panoName = pano_small	

disableLoading= 1

loaderTextColor = #FFFFFF
loaderBackColor = #000000

qualityMotion = low
segments=15

panHome=0
tiltHome=-20

zoomHome= 1
zoomMax = 1.7
zoomMin = 0.3

layer_2 = hotspots.swf
layer_3 = autorotator.swf
layer_4 = tooltips.swf
layer_5 = loading.swf
</parameters>

<autorotator>
speed=-0.1
interval=30
pause=50000
quality=low
</autorotator>

<tooltips>
altFont=Century Gothic
altSize=30
altColor=0x000000
altFill=0xFFFFFF
altStroke=0x999999
altAlpha=0.6
</tooltips>

<hotspots>
	
<global

onStart="loadPreview();"loadPreview="loadPano(panoName=pano_small,100);onTransitionEnd=loadmain();pano.qualityStatic=low"
loadMain="loadPano(panoName=pano,1000);onTransitionEnd=prefs.visible+=1"

goUp="pano.qualityStatic=low; saturation=0,1000;  contrast=0,500; blendMode=normal; depth=15; static=1; scaleable=0; staticX=0,1000; staticY=0,1000; scale=1,600; distance=1,800; rotationX=0,1000,elastic; rotationY=0,1000,elastic; rotationZ=0,100; global.timer=1,500; pano.qualityStatic=medium; "
goDown="pano.qualityStatic=low; saturation=-0.5,1000; contrast=-0.22,1000;  depth=10; static=0;   scaleable=1; scale=0.5,500; distance=1,600; rotationX=0,600; rotationY=0,600; global.timer=1,700; pano.qualityStatic=medium;   "
restoreQuality="pano.qualityStatic = medium;">

//bouton close
<spot id="close" url="images2/close.gif" alt="fermer la fen?tre" depth="99" staticX="385" staticY="185" smoothing="1" static="1" visible="0" onClick="prefs.visible=0;visible=0;fullscreen(-);fs.visible=1;external.autorotator.pause=5000;" depth="5"/>

//panneau d'entr?e
<spot id="prefs" url="images2/prefs2.png" depth="98" smoothing="1" static="1" visible="0"  onClick="close.visible=0;visible=0;fullscreen(-);fs.visible=1;external.autorotator.pause=5000;" depth="5"/>

//bouton plein-?cran	
<spot id="fs" alt="plein-?cran" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="images2/fs.png" blendMode="lighten" onOver="scale=1.1,600,elastic;depth+=20" onOut="scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

//chemin gallo-romain
<box id="GR1" alt="chemin gallo-romain" url="images2/spot.png" pan="-149.00" tilt=" -31.00" rotationX="44.00" align="RB" depth="1" scaleX="1000.00" scaleY="40.00" 																					onOver="gallosmall.visible+=1" onOut="gallosmall.visible=0" onClick="gallo.openMe" alpha="0"/>
<box id="GR2" alt="chemin gallo-romain" url="images2/spot.png" pan="-127.00" tilt=" -18.25" distance="1.12" rotationX="67.00" rotationY="-52.00" align="RB" depth="2" scaleX="500.00" scaleY="25.00" scaleable="0" 									onOver="gallosmall.visible+=1" onOut="gallosmall.visible=0" onClick="gallo.openMe" alpha="0"/>
<box id="gallo" saturation="-0.5" contrast="-0.25" static="1" sAlign="LT" align="LT" staticX="5" staticY="5" visible="0" depth="250" scaleX="0.4" scaleY="0.4" url="images2/gallo.jpg" openMe="hidePic(); global.hidePic=gallo.closeMe; goUp(); sAlign=CM ; align=CM ; staticX=0; staticY=0;  gallo.visible+=1; gallosmall.visible=0 ; onClick=closeMe" closeMe="global.hidePic=; goDown(); visible=0; onClick=;"/>
<box id="gallosmall" static="1" sAlign="LT" align="LT" staticX="5" staticY="5" visible="0" depth="250" scaleX="0.4" scaleY="0.4" url="images2/gallo.jpg"/>

//piscine
<box id="PI1" alt="piscine" url="images2/spot.png" pan="-144.00" tilt="-108.00" distance="1.00" orientation="down" rotationX="99.00" rotationZ="6.00" align="RB" depth="8" scaleX="350.00" scaleY="237.34" 											onOver="piscinesmall.visible+=1" onOut="piscinesmall.visible=0" onClick="piscine.openMe" alpha="0"/>
<box id="PI2" alt="piscine" url="images2/spot.png" pan="  13.00" tilt=" -53.00" orientation="down" rotationX="99.00" rotationZ="6.00" align="RB" depth="8" scaleX="300.00" scaleY="240.00" 															onOver="piscinesmall.visible+=1" onOut="piscinesmall.visible=0" onClick="piscine.openMe" alpha="0"/>
<box id="piscine" saturation="-0.5" contrast="-0.25" static="1" sAlign="LT" align="LT" staticX="5" staticY="5" visible="0" depth="250" scaleX="0.4" scaleY="0.4" url="images2/piscine.jpg" openMe="hidePic(); global.hidePic=piscine.closeMe; goUp(); sAlign=CM ; align=CM ; staticX=0; staticY=0; piscine.visible+=1; piscinesmall.visible=0 ; onClick=closeMe" closeMe="global.hidePic=; goDown();visible=0; onClick=;"/>
<box id="piscinesmall" static="1" sAlign="LT" align="LT" staticX="5" staticY="5" visible="0" depth="250" scaleX="0.4" scaleY="0.4" url="images2/piscine.jpg"/>

...
...
...
...

</global>

    </hotspots>
	
</panorama>
Maybe of you has some tips to avoid this?

Thanks,

Erwin
Reply With Quote
  #2  
Old 12-13-2007, 03:10 AM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: California, USA
Posts: 773
Downloads: 0
Uploads: 0
Default

I'm experienceing (I think) a similar issue with some "invisible" hotspots.

These spots are all <box/> type, and are stretched and placed on the panorama. When you mouse over them they change alpha just fine. When you click them, the onClick works just fine. But when you press on them, then drag away, then release -- they resize and disappear!

?

[update: adding an empty onPress event to each hotspot seems to have stopped the weird experience: onPress=""]
__________________
Patrick
http://patrickcheatham.com

Last edited by cheathamlane; 12-13-2007 at 03:15 AM. Reason: update
Reply With Quote
  #3  
Old 12-13-2007, 12:01 PM
3rw1n 3rw1n is offline
Member
 
Join Date: Nov 2007
Posts: 60
Downloads: 0
Uploads: 0
Default

Hi,

I added onPress="" to each hotspot, but don't notice any difference?
What changed on your example when you did it?

Erwin
Reply With Quote
  #4  
Old 01-08-2008, 11:19 PM
3rw1n 3rw1n is offline
Member
 
Join Date: Nov 2007
Posts: 60
Downloads: 0
Uploads: 0
Default

I still encounter this problem.

Any other idea?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:45 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.