PDA

View Full Version : Simple Hotspot help please...


Panorado
09-25-2007, 03:51 AM
I cannot "load" a simple HotSpot and would greatly appriciate some help... I do not know what is wrong... I have been over and over the script but it seems right??

1. FlashPanorama comes with TWO hotspot .swf's. The 1st being hotspots.swf and the 2nd being hot_spots.swf

Which one should I be using?? which one is newer or are they exactly the same?

2. In the Online Tutorial >
http://flashpanoramas.com/blog/2006/12/27/hotspot-example-review/
Denis made TWO .xml files... ??? why? Don't you just need ONE with the tags in between

<hotspots>
</hotspots>

It doesn't explain how to use TWO .xml's... how do they relate?

3. Also in that same tutorial... the coding is different than the Help file, for example

Help File:
<parameters>
panoName = 1med
layer_1 = ../files/autorotator.swf
layer_2 = ../files/hotspots.swf
</parameters>

Online Tutorial:
<params>
<param name="segments" value="10" />
<param name="layer_2" value="hot_spots.swf" />
</params>

Is this because one of the HotSpots .swf files is newer and using newer code? or, can this code be used either way?

4. Here is my simple .xml file trying to load a simple picture with a link >

XXXXXXXXXXXXXXXXXXXXXXXXXXXx

<?xml version='1.0'?>
<panorama>

<parameters>
panoName = 1med
layer_1 = ../files/autorotator.swf
layer_2 = ../files/hotspots.swf
</parameters>

<autorotator>
speed = -0.3
interval = 30
pause = 1000
quality = low
</autorotator>

<hotspots>
<spot id="logo" static="1" staticAlign="RB" align="RB" staticX="-4" staticY="-4" url="spot01.png"
onClick="openUrl:http://www.yahoo.com/"
/>

</hotspots>

</panorama>

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Yes, I have all the files in the right places (Autorotator is working fine). I keep looking over and over my coding and everthing seems ok... but the .png pic does not show up in the panorama... ?? What am I doing wrong??

Vincent Ogloblinsky
09-25-2007, 01:27 PM
Hi Panorado,

try that, it works fine for me:

<spot id="logo" static="1" salign="CM" align="CM" staticX="-4" staticY="-4" url="spot01.png"
onClick="openUrl:http://www.yahoo.com/"
/>

It puts your spot in the middle of your viewer

the staticalign parameter does not exist in the documentation.

Panorado
09-25-2007, 08:01 PM
I "copy" / "pasted" your code... but still, no HotSpot.

This is Very strange indeed...
1.) All the files are on my server (I checked by FTP)
2.) All the files (hotspot.swf, med1.swf, med1.xml, all pictures, swfobject.js ect. if forgot any) ARE being downloaded into my Explorer Cache, EXCEPT the actual .png picture file I want to be as a "hotspot" (I cleared the cache before opening the page then opened the page and checked the Cache)
3.) I'm sure... my code is correct now...

-------------------------
<?xml version='1.0'?>
<panorama>
<parameters>
layer_1 = hotspots.swf
</parameters>
<hotspots>
<spot id="1" pan="0" tilt="0" url="ie7.png" scaleable="1" smoothing="1" onClick="openUrl:http://www.microsoft.com/windows/ie/"/>
</hotspots>
</panorama>
------------------------

But... it ain't showing up... ?? It's not my firewall (I turned it off) and my browser shows Denis's example>
http://flashpanoramas.com/blog/2006/12/27/hotspot-example-review/
Just fine.

The only thing I can think of... is my server IXWebhosting can't handle .png files?? that sounds a little strange... Anything else???

izoneguy
09-25-2007, 08:12 PM
?
I have had the same problems.
I can get everything working EXCEPT going to a URL???