PDA

View Full Version : hotspot position


massimo
02-25-2008, 12:16 AM
Hi...
When I change in fullscreen mode...
I don't understand how to keep hotspot in the same position.
what did I miss?
Thanks.

cheathamlane
02-25-2008, 12:38 AM
Hi Massimo:

Do you have a link to an example of the problem?

massimo
02-25-2008, 01:18 AM
ciao patrick..
this is the link : http://www.lenzo.it/torino/
when you go in fullscreen mode the "1/2" hotspots doesn't stay on position.
thank you :)

cheathamlane
02-25-2008, 01:24 AM
Ciao Massimo:

:)

One thing: (layer_3 = files/editor.swf) looks wrong to me... I'm surprised the XML parses that as a comment.

Have you tried just using staticX and staticY with your "1" and "2" spots? Is there a reason they need to be using salignX and Y?

massimo
02-25-2008, 01:33 AM
here is the xml : http://www.lenzo.it/torinoXML/
layer 3 : I use like this, to quickly hide it :)
do you think i have to try just with static? I try....

massimo
02-25-2008, 01:48 AM
no Patrick... it doesn't work. now they stay near ... but no there were I wont

cheathamlane
02-25-2008, 02:31 AM
no Patrick... it doesn't work. now they stay near ... but no there were I wont

Really? :confused:

So, your XML looks similar to...

<spot id="auto" static="1" salign="BC" staticX="105" staticY="-50" url="images/black_a.png" blockMouse="1" visible="0"alpha="0.6"
onClick="external.autorotator.disabled-=1 pano.pan_v=0; pano.tilt_v=0; pano.zoom_v=0;"/>

<spot id="full2" url="images/1.png" static="1" salign ="BC" staticX="150" staticY="-50" depth="0" alpha="0.5"
onClick="loadPano(panoName=images/torino, 500, stripes)"/>


...and doesn't work?

massimo
02-25-2008, 02:58 PM
Hi
I have understood.... (I hope :)
the problem was that I wonted the two hotspot near the open and close fulscreen button, which are made in flash... and they moove dinamycally with the stage size. Becouse my hotspot are made with editor they have a fix position on stage ! am I wrong?
ciao.

cheathamlane
02-25-2008, 03:37 PM
Hey Massimo:

OK, that makes much more sense now. :)

If you align your static <spots> using something similar to:
sAlign="rb" staticX="-203" staticY="-30"
...you should be good. You need to tell FPP that the sAlign is "RB" (right-bottom), so it knows where to put things. When using RB, then the above code would mean to put the hotspot at 203 pixels from the right side of the window, and at 30 pixels up from the bottom of the window.

massimo
02-25-2008, 10:18 PM
thank you Patrick :) now I understand.

cheathamlane
02-25-2008, 11:14 PM
Cool Massimo! Hope it was helpful... :)

I have found that The Editor doesn't always write out all the attributes/parameters. Still haven't figured it out completely... Maybe it's just on an as needed basis?