"Transfering data from localhost" plugins work but pano not loaded

I am trying to use the following URL
http://localhost/theater/krpano.swf?=theaterBelowLobby.xml
and I am also trying to load the jpeg directly with a
http://localhost/theater/krpano.swf?pano=theaterBelowLobby.jpg
but I am not able to see the panorama. I see only a grey screen with the plugin controls and the string "Transfering data from localhost"

Here is the theaterBelowLobby.xml file.
I have added permision to a local WAMP www directory for the flash player global security settings.

<krpano version="1.0">
<image type="SHPERE">
  <sphere url="theaterBelowLobby.jpg" />
</image>
<progress showload="bar(center,33%,3%,0,15%,shaded,
                        0x000000,0x666666,0xAAAAAA)"
/>
<plugin name="zoombuttons" url="zoombuttons.swf" />
<plugin name="options" url="options.swf" />
<plugin name="editor"  url="editor.swf" />
</krpano>

I believe that I was able to load one of the jpegs directly before, but it is not working now.
I was able to load the Flash CS3 example from my localhost server in a browser.

I added the localhost development directories to allowed directories for the flash player and I have reduced the size of my panoramic files to 8000x4000 pixels with a photoshop compression level of 5 which realizes files in the range of 1.2 MBytes to about 2.2 Mbytes. I also tried to reduced a file to 6000x3000 with a compression level of 5 which achieved a size of about 736 kBytes.

Tried it on my production server w/ license file. no success

I uploaded the files to my production server with the domain in my license file and it still doesn't work.

Using Flash CS3 example as starting point. It works for me

I am using the flash CS3 example as a starting point because it works for me. I was going to use the mxmlc compiler, but I will just use my flash CS3 application now. Except, I will have a problem integrating the Google Maps flex based interface. The yahoo maps has a CS3 example, but Yahoo maps is not as good as Google. There sattelite imagery is pretty bad.

At least I can forge ahead with some useful development. I bought a personal license without the tools such as the tiler. I am getting much better results w/ a higher resolution image jpeg with more compression. 1.2 MB to 2.4 MB is a good range as far as quality versus download time assuming a minimum broadband link.

Re: Transfering data from localhost" plugins work but pano not

Hi,
the syntax of your call is not right:

when using "pano=" then you must set the path to the xml there.

e.g.

krpano.swf?pano.xml

but when you want a sphere or a cubical image direct then use this syntax:

krpano.swf?sphere=sphereimage.jpg

or

krpano.swf?left=left.jpg&front=front.jpg&right=right.jpg ....

about the imagesize, there is a internal imagesize limit in flash,
images larger than something around 8000 pixels wouldn't be display correctly.
the there would be no error message to the viewer from flash.
but a way to solve this is to tile the images.

googlemaps

castillonis wrote:

I am using the flash CS3 example as a starting point because it works for me. I was going to use the mxmlc compiler, but I will just use my flash CS3 application now. Except, I will have a problem integrating the Google Maps flex based interface. The yahoo maps has a CS3 example, but Yahoo maps is not as good as Google. There sattelite imagery is pretty bad.

At least I can forge ahead with some useful development. I bought a personal license without the tools such as the tiler. I am getting much better results w/ a higher resolution image jpeg with more compression. 1.2 MB to 2.4 MB is a good range as far as quality versus download time assuming a minimum broadband link.

Hi, when using google maps API in a plugin you need to allow access to the google maps
server, in the xml this can be done with this code:

or what problem did you have exactly?

one about the imagesize - but lower resolution (with lower compression) compare to
high resolution (with high compression) images will be renderd faster!
because the lower resolution needs less memory (4 byte per pixel),
and "reading memory" is still one of the slowest operations on computers Wink)

regards,
Klaus

Thanks, could you post the XML snippet for google maps allow acc

Thank you for responding and thank you for the Flash CS3 example. This really helps me get started. Can you post the XML code that allows access to Google maps server.

re: Thanks, could you post the XML snippet for google maps al

sorry, the xml tags were filterd,
second try: Wink

<security>
   <allowdomain domain="googlemaps.com" />
</security>

Just noticed a mispelt SPHERE in my XML file on the blog

I just noticed sphere mispelt as SHPERE sic in the XML above. I should try reading it Smile Thanks for the allowdomain XML

re: Just noticed a mispelt SPHERE in my XML file on the blog

hi, such errors are often difficult to find Wink