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:09pm

embedexample.fla question

Hi Klaus,

I've several questions about the code of this example.

What do the embeddedstartup function exactly ?
It's a callback function, which wait krpano engine to start ? The first parameter could be any Sprite Objet ?

Is it possible to load two (or more) pano simultaneously inside one flash container ?

You change the area of the pano with the krpano.area function. Is it possible to resize it directly on a Sprite objet, with x, y, width and height ?

Thanks for your answers,
I'm really happy about this interface !!
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

2

Saturday, May 29th 2010, 5:33pm

Hi, Klaus

Possible to change image.layer by another pano ?
I try many things, but no results *wacko*
How to change the image.layer color ?

Many thanks for reply ;-)

3

Tuesday, June 1st 2010, 11:18pm

Hi,
It's a callback function, which wait krpano engine to start ? The first parameter could be any Sprite Objet ?
the first parameter must be the stage,
and second is the call function, which krpano will call when it's ready,


Is it possible to load two (or more) pano simultaneously inside one flash container ?
no, at the moment not,


You change the area of the pano with the krpano.area function. Is it possible to resize it directly on a Sprite objet, with x, y, width and height ?
no, and I think that will be never possible regarding to the way the width/height scaling in as3 works,


Possible to change image.layer by another pano ?
what do you mean?


How to change the image.layer color ?
what color?
if you want to change the background color behind the pano, either change it in the html, or use the new "bgcolor" variable, when this variable will be set, a singled colored shape behind the pano will be automatically created (for the 'area' only),

best regards,
Klaus

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

4

Thursday, June 3rd 2010, 10:54pm

Quoted from "nelk"
Is it possible to load two (or more) pano simultaneously inside one flash container ?

no, at the moment not,


Thanks for your answer. Have you plan to add this feature ?
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

5

Tuesday, July 13th 2010, 8:03pm

Unloading krpano! SOS!!!!

Hi Klaus!

There is a BIG Question: HOW TO KILL KRPANO INSIDE MY AS3 APP?

It's driving me crasy, man! Please doing something, to help me.

I made a lot of work for two weeks, and at the end i descovered, that there is no way to Unload KrPano from as3 applacation.

I've tried everything, i give up. unloadAndStop not working. Please sorry me for my hysteric! I must to show all project tomorrow, i don.t know what to do

6

Thursday, July 15th 2010, 2:54pm

Hi,

sorry, but I think that will not be possible,
the current version was not designed for loading into swf and especially not for unloading,
there is too much global and static stuff...

you could try to remove all elements and events manually from the displaylist, but I can't say for sure it will work...

best regards,
Klaus

7

Thursday, July 15th 2010, 5:48pm

Ok!

After i removing the objects, player returns me this:



TypeError: Error #1009:TypeError: Error #1009: Cannot access a property or method of a null object reference .
at kflashpano::Kpano/hoverHandler()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()



And the question is how to remove this events?

8

Friday, July 16th 2010, 10:19am

And the question is how to remove this events?
this will not be possible,

maybe try this code:

Source code

1
2
krpano.set("hotspot.count", 0);
krpano.set("plugin.count", 0);
before removing krpano itself,
this would be a hack of course, but it could help with that error...

best regards,
Klaus

9

Saturday, July 17th 2010, 7:10am

This not working!

Hi!

This not working!

Ok. Let's think abou different solution. Maybe JavaScript PopUpCode inside SWF? For example ShadowBox. The main task is to get standalone application. Will JavaScript ShadowBox code work within SWF converted to EXE? I thought about AIR but it's not the right choice. Because applacation need to be installed on client computer, and it's not good.

I making standalone promo application, that will be starting from usb flash drive. Klaus, it will be great if you'll help me to find the solution!

P.S. I can send you project.

Zephyr

Professional

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

10

Sunday, July 18th 2010, 3:20pm

You don't need to convert it to an exe or air app. Microsoft developed a tool to open an internet page in the users default browser. http://blogs.msdn.com/b/noahc/archive/20…-tiny-tool.aspx

create a autorun.ini explained on the webpage and put it on your usb drive.

Im not sure why you want to use the embedded fla persé Maybe if you explain what you are making, maybe we can think of other solutions.
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

11

Monday, July 19th 2010, 11:20am

sorry, I think I can't help you here...
the Flashplayer doesn't support any Javascript or real HTML inside it...

best regards,
Klaus

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

12

Monday, October 4th 2010, 2:29pm

Klaus,

About the possibility to have two or more panorama in a same flash app, is it possible now ?

Will it be in the future ?

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

13

Tuesday, December 13th 2011, 4:30pm

Dear all,

i'd also be interested in adding more then just one pano to a stage. Preferrably into an own Sprite or MovieClip Container.

Will this be possible within version 1.0.9 ?

Appreciate any info's about that issue

14

Tuesday, December 13th 2011, 4:32pm

Will this be possible within version 1.0.9 ?
yes

Similar threads