Sie sind nicht angemeldet.

1

Sonntag, 22. März 2009, 12:07

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

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

2

Sonntag, 22. März 2009, 20:27

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.

Quellcode

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

Montag, 23. März 2009, 09:09

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

Montag, 23. März 2009, 21:19

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

Mittwoch, 25. März 2009, 00:24

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

Dienstag, 19. Januar 2010, 22:43

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:

Quellcode

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

But seems it is not correct *confused*

Thanks!

7

Dienstag, 19. Januar 2010, 22:50

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:

Quellcode

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!