PDA

View Full Version : The new update ver 2


Steini Fjall
03-25-2007, 04:32 AM
Hi Denis!

And to congratulations with ver 2. :D

I'm going through your tutorials and trying to work out how everything works! But I have some problem's. I'm trying to following the "Using plugins" tutorial but I can't get the xml file to work (I done the same in ver 1 tutorial and it's working out fine!) I'm just copying and pasting around the xml code. But the xml file will not work. I noticed one thing and that is that the code is note the same from ver 1 to ver 2. Could that be a problem?


Ver 2
<?xml version = '1.0'?>?<panorama>?****<parameters>?********layer_1 = fps.swf?****</parameters>?</panorama>

Ver 1
<?xml version="1.0" ?> ?<params>?<param name="layer_1" value="fps.swf" />?</params>

So is this a bug or my mistake? Sorry but I just a Photographer not programer and a little frozen. javascript:emoticon(':roll:')

Regards,

Stone, Iceland

this is the error messages that I get in standalone player ver 9
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at PanoController/parseXML()
at PanoController/PanoController::completeDatafile()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

TimF
03-25-2007, 12:22 PM
Hi Steini,

Just wondering, why are you using so many of the '?' (query) characters.

I have run the new version with no problems, my XML file looks like ..

<?xml version = '1.0'?>
<panorama>
<parameters>
layer_1 = hotspots.swf
</parameters>
<hotspots>
<global onLoad="alpha=0; alpha=1,1000" >
<pano pan="100" tilt="-10" />
<spot id="21" pan="0" tilt="0"
scaleX="0.35"
scaleY="0.35"
url="flvplayer.swf"
/>
</global>
</hotspots>
</panorama>

This works for me.

Btw, Denis ... FANTASTIC !!!!! :D

Steini Fjall
03-26-2007, 12:39 AM
Hi Steini,

Just wondering, why are you using so many of the '?' (query) characters.


Well as a beginner with out knowing what I'm doing I just made a copy and past from the tutorial. And yes now everyting works fine after I deleted the space between and the line brakes!

Thanks for clarifying this out for me Tim :lol: