Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

buffalo

Anfänger

  • »buffalo« ist der Autor dieses Themas

Beiträge: 1

Wohnort: St. Louis, MO

Beruf: web designer

  • Nachricht senden

1

Freitag, 23. April 2010, 17:27

license on IIS

I am looking for help with a license issue.
I keep getting a "license error" even though I have unlimited license.
Regarding information on page, http://krpano.com/docu/iisservers/

...and then set the path to this license file with the "license" parameter:
as direct HTTP get parameter: krpano.swf?pano=krpano.xml&license=license.xml

i have a swf file name assembly.swf
and a license file renamed to license.xml.
The swf file is embedd in an htm file named index.htm.
Also using krpano_as3_interface.as

Where and how do I implement this line of code: krpano.swf?pano=krpano.xml&license=license.xml
Thanks for your help.

2

Freitag, 23. April 2010, 18:36

Hi buffalo,

Can you give a link to see?
Perhaps you are making some kind of mistake in your files path or file names...
Try to put all your 3 files inside the same folder. For example:
your_domain.com
-- Your_Folder:
---- krpano.swf
---- krpano.xml
---- licence.xml
And try to open the URL:
your_domain.com/Your_Folder/krpano.swf?pano=krpano.xml&license=license.xml

It should work...

SAlut

3

Freitag, 23. April 2010, 18:38

you need to add the .license MIME type to the iis server. follow the link to microsoft on the same page you linked to. dont worry about that license string until you posted it i have never seen it. I never do anything with the license file except make sure a copy of it is in the same folder as krpano.swf.

4

Freitag, 23. April 2010, 18:53

Hi VN2009 ;-) ,

Zitat

dont worry about that license string until you posted it i have never seen it.
1. add a MIME type for ".license"
.....
2. change license filename and extension
change the name of the "krpano.license" file to a other filename with an extension that the IIS servers knows.
for example, rename:
krpano.license -> license.xml
or any other name:
krpano.license -> anyname.gif

and then set the path to this license file with the "license" parameter:

as direct HTTP get parameter: krpano.swf?pano=krpano.xml&license=license.xml

or as Flash variable (SWFObject 1.5 example) so.addVariable("license","license.xml");

SAlut.

5

Freitag, 23. April 2010, 21:25

i see disreguard my comments :)

6

Mittwoch, 19. Mai 2010, 05:43

RE: license on IIS

I am looking for help with a license issue.
I keep getting a "license error" even though I have unlimited license.
Regarding information on page, http://krpano.com/docu/iisservers/

...and then set the path to this license file with the "license" parameter:
as direct HTTP get parameter: krpano.swf?pano=krpano.xml&license=license.xml

i have a swf file name assembly.swf
and a license file renamed to license.xml.
The swf file is embedd in an htm file named index.htm.
Also using krpano_as3_interface.as

Where and how do I implement this line of code: krpano.swf?pano=krpano.xml&license=license.xml
Thanks for your help.




edit swfkrpano.js
"
{var c=new SWFObject(h,b,a,f,"9.0.28",
e);c.addVariable("license","krpano.gif"); c.addParam("allowFullScreen","true");c.addParam("allowScriptAccess","always");c.embed=function(d){if(c.write(d))d=new SWFkrpanoMouseWheel(c)};c.passQueryParameters=function(){var d=document.location.search||document.location.hash;if(d){d=d.substring(1).split("&");for(var j=0;j<d.length;j++){var i=d[j],k=i.indexOf("=");if(k==-1)k=i.length;var l=i.substring(0,k);i=i.substring(k+1);c.addVariable(l,i)}}};return c}else g='Adobe Flash Player 9/10 or higher needed<br/><br/><br/><a href="http://www.adobe.com/go/getflashplayer/" target="_blank">
"

first " krpano.license " -- > "krpano.gif"

second edit swfkrpano.js


add "c.addVariable("license","krpano.gif");" *sad* 对不起我的英语表达水平有限 *sad*

7

Donnerstag, 20. Mai 2010, 13:59

Hi,

editing the swfkrpano.js would be possible of course,
but I would recommend to put the addVariable call better in the html file,
e.g. when there is an update of the swfkrpano.js you can just overwrite the old one,

here an example (html):

Zitat

var swf = createswf("krpano.swf");
swf.addVariable("xml", "pano.xml");
swf.addVariable("license", "license.xml");
swf.embed("krpanocontent");
see also here:
http://krpano.com/docu/swfkrpanojs/

best regards,
Klaus