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.

1

Donnerstag, 13. Oktober 2011, 12:03

Bring krpano into background after embeddding it into external flash project

Dear all,

i am currently struggling with an embedding issue.

When embedding krpano into an own flash project (like decibed in cs4 embed example) with reference to the stage, krpano always covers all existing objects and movieclips. Even when adding display objects like sprites and movieclips after krpano has been loaded, they just appear in the back.

There were also some related entries to that problem in the forum, but it was just said that it should be possible to toggle the child order. by doing so, it doesnt effect the display order so far. somehow, krpano and all its elements stay always in front.

So is there a way to really iterate all elements related to krpano and bring them to the back?

Klaus said it's planned to have more embedding support withing the next release. Is there already a time schedule available when this version is going to be released?

I appreciate any kind of help!!

Regards

Cos

2

Freitag, 14. Oktober 2011, 14:38

Hi,

I have the same problem and would be very thankful for some advice, too.

3

Montag, 17. Oktober 2011, 13:15

I am currently using a workarund to achieve my goal, but it's not working perfect yet.

Actually, my goal is to click a hotspot inside krpano, and subsequently a corresponding action in the parent application shall be executed. In my case, a new plugin is shown. This plugin is supposed to be on top of krapano layer. So what i am doing is to hide krpanos visible layer with Klaus' krpano_toggle_visibility' function. So when clicking, krpano is being hided and i can show my stuff (actually not on top). Unfortunately, all loaded plugins inside krpano, also hotspots etc are staying and are not being hided.

@KLaus
Is there propably a way to also iterate all currently activated plugins inside krpano to hide them as well?

Greetz to All!

Cos

4

Montag, 17. Oktober 2011, 13:51

Thank you for sharing, that sounds interesting and I hope it works for you, but it won't help me with my special problem. I have a given swf-file, that loads my panorama and places stuff above it. I can not change that file and I need to show the panorama within it.

5

Dienstag, 18. Oktober 2011, 11:30

Hi,
Unfortunately, all loaded plugins inside krpano, also hotspots etc are staying and are not being hided.
@KLaus
Is there propably a way to also iterate all currently activated plugins inside krpano to hide them as well?

yes, please see the example codes here:
in AS3 eingefügtes Pano wieder löschen

best regards,
Klaus

6

Dienstag, 18. Oktober 2011, 11:37

Will bringing the panorama to the background be available in version 1.0.9 or is there any solution now that I missed?

7

Dienstag, 18. Oktober 2011, 12:06

yes, in 1.0.9 the pano will be placeable inside a DisplayList object,

best regards,
Klaus

8

Dienstag, 18. Oktober 2011, 12:09

Could you give me any hint when the new version will be ready?

9

Dienstag, 18. Oktober 2011, 12:13

Zitat

Could you give me any hint when the new version will be ready?
no, sorry, I don't know when I will be ready with it.

10

Samstag, 7. Januar 2012, 10:46

Hello,

i have a little workaround for KRPano in Background


Quellcode

1
2
3
4
5
6
7
8
...
function krpano_ready(krpanointerface:Object):void {	
	krpano = krpanointerface;	
	krpano.call("loadpano(whatever.xml,null,MERGE,BLEND(1));"); 
	var hotspotlayer:Sprite = krpano.get("hotspot.layer"); 
hotspotlayer.addChild(whatever1_mc);	
hotspotlayer.addChild(whatever2_mc);	... 
}...


When KRPano ready, you can add Childs to the
hotspot-layer-sprite.
Gruß Sodah
sites: sodah | blog
projects: Flashradio | Flashalbum

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Sodah« (7. Januar 2012, 10:56)


11

Samstag, 14. April 2012, 10:30

I have the same problem, you can stage. AddChild (MC), but this is not very flexible, I don't know embeddedstartup and stage is relationship *g*