PDA

View Full Version : static hotspot positioning


suastegui
12-21-2006, 03:36 PM
In my 'pano.swf' I loaded, apart from the background-jpg's, a swf that gives a fullscreen in Flash 9 as well as a hotspot plugin.
The first one shows a button 'fullscreen' that changes to 'normal' after the fullscreen is initiated.
The hotspot plugin shows a static 'hotspots' button.

<spot id="3" static="1" staticAlign_v="-0.468" staticAlign_h="-0.383" url="hotspots.png" smoothing="1"

When I click the 'fullscreen', the 'hotspots'-button looses its position as demonstrated below

http://www.guru.ag/hotspot1.jpg

http://www.guru.ag/hotspot2.jpg

jaaaab
12-21-2006, 04:42 PM
it seems that your hotspot coordinates are relative, not absolute...

that's all i can say, as far as i never tried this viewer ;)

bye

Denis
12-21-2006, 10:09 PM
Yes. align_h and align_v are all relative values (relative to size of window in this example).
Just use staticX="100" (use width of the fullscreen button). Alligment for both buttons should be "LT".

suastegui
12-22-2006, 07:18 AM
Sorry Denis, I didn't read your how-to-hotspot page well and missed the staticX param. Probably the exitement about the options I have with flashpanoramas...
Everything is working well now.

Denis
12-22-2006, 08:55 PM
Great. :)