You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, March 22nd 2009, 12:07pm

loadpano, embedded xml and protected swf ?

Hi!
In the beginnig I must say the krpano is great product which I have bought directly afer some day of tests. Mr. Klaus have made great job - but you know this, do you?!
I try the 1.0.8 beta version and stuck with loadpano. ;(
I have made two panorams and generate the swf files using krprotect tool, let's say abc.swf and xyz.swf.
It works fine. So all I need is to upload on my server the abc.swf, abc.html and tiles on the server and the same with xyz.
But if I want to jump from one panoram to the second using loadpano function it doesn't work because it needs the xml file which are not on the server (because they are embedded in swf).
So, how can I load pano without xml file ?
Best Regards
G.

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

2

Sunday, March 22nd 2009, 8:27pm

Right now... if you want to be able to setup multiple pano images and protect / hide all of your xml... then you will have to build your xml to include every pano image you would want to show.

On the simple side you would just use the loadpano action to define the pano.jpg you want to load and null the xml variable...

i.e.

Source code

1
2
3
4
5
<!-- to load an xml... -->
loadpano(nextpano.xml, null, MERGE, BLEND(2));

<!-- to load an jpg... -->
loadpano(null, sphere=nextimage.jpg, MERGE, BLEND(2));


You could use sphere= or cylinder= ... etc...

see... http://www.krpano.com/docu/actions/#loadpano

This works for simple items and I think you give up some flexibility that comes with having a separate xml file...

I believe in the future the kprotect tool will be able to incorporate the additional xml files that you would have.

3

Monday, March 23rd 2009, 9:09am

Hi,

yes, the next kprotect version will solve this

then you can embed several xml files, and also decide which files should be embedded,
and which should be extern,

best regards,
Klaus

4

Monday, March 23rd 2009, 9:19pm

Hi,

yes, the next kprotect version will solve this

then you can embed several xml files, and also decide which files should be embedded,
and which should be extern,

best regards,
Klaus

Thanks for replay. That would be great. When do you plan to release the next version?
What I have noticed on this forum, you work quickly. *smile*
Regards
G.

5

Wednesday, March 25th 2009, 12:24am

When do you plan to release the next version?
I had planed to release it "last week"
but it's still not ready yet so hopefully in the next days...

6

Tuesday, January 19th 2010, 10:43pm

Hi Klaus!

I had planed to release it "last week"
but it's still not ready yet so hopefully in the next days...


Is it completed? I cant get clear on how to load next multires pano from protected swf and embedded xml...
it should looks like:

Source code

1
loadpano(null, "sphere=Panorama_2.tiles/l5_%0v_%0h.jpg")

But seems it is not correct *confused*

Thanks!

7

Tuesday, January 19th 2010, 10:50pm

Hi Klaus!

I had planed to release it "last week"
but it's still not ready yet so hopefully in the next days...


Is it completed? I cant get clear on how to load next multires pano from protected swf and embedded xml...
it should looks like:

Source code

1
loadpano(null, "sphere=Panorama_2.tiles/l5_%0v_%0h.jpg")

But seems it is not correct *confused*

Thanks!



Oh... i got it. kprotect is great!