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.

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

1

Saturday, May 29th 2010, 3:34pm

krPano in Air ?

Hi,

I'm wondering if someone has test loading krPano in an Air application, now that krpano can be embed in a flash container

Regards,
Nicolas
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

holger.rapp

Beginner

Posts: 2

Location: Karlsruhe

Occupation: Software Developer

  • Send private message

2

Monday, May 31st 2010, 11:44am

Hey Nicolas,

I already tried that but I ran into a securtiy error:

Source code

1
2
3
4
5
6
7
SecurityError: Error #3015: Loader.loadBytes() is not permitted to load content with executable code.
at flash.display::Loader/_loadBytes()
at flash.display::Loader/loadBytes()
at kprotect/_4()
at kprotect/ats()
at kprotect/embeddedstartup()
at Main/krpano_load_complete()[C:\Entwicklung\flashdev\KRPano Editor\src\Main.mxml:29]


According to Adobe I would need to use something like that:

Source code

1
2
3
var lcon:LoaderContext = new LoaderContext();
lcon.allowLoadBytesCodeExecution = true;
krpanoloader.load(new URLRequest("krpano.swf"),lcon);


But I still get that error. If you're using FlashDevelop you can test this yourself:
http://dl.dropbox.com/u/1166836/KRPanoForum20100527.zip

It would be interesting if you got the same error.

Regards, Holger

3

Tuesday, June 1st 2010, 10:37pm

Hi,

I haven't tried loading krpano into AIR by myself yet,

but thanks for this note:

Source code

1
2
var lcon:LoaderContext = new LoaderContext();
lcon.allowLoadBytesCodeExecution = true;


I didn't know that AIR needs that flag set, but I will add it to the next krpano release,

best regards,
Klaus

4

Monday, June 7th 2010, 6:25pm

how far away

Is the new version of Krpano that can be embedded. I am currently working with FPP and I want to switch to krpano for embed projects.

autiomaa

Beginner

Posts: 36

Location: Finland

Occupation: Photographer, Retoucher, Web Developer

  • Send private message

5

Sunday, June 13th 2010, 12:15am

Surely hoping that future version of krpano could be embedded to Air application as that would make it much easier to create easily distributable presentations / virtual tours with custom interface etc.