Page 1 of 1

Removing Pano2VR SWF from Parent SWF

Posted: Fri Jan 28, 2011 8:29 am
by richalot
I'm importing my pano into another SWF (Flash 8, AS2), however, once it is loaded it cannot be removed. It appears that the loaded pano SWF is actually creating a new movie clip and placing it at the root layer (or up a level) rather than as a child. Unfortunately, this essentially leaves a permanent 360 on the screen. Is there a way to make the pano SWF entirely self-contained and not reference _root or its parent elements?

Re: Removing Pano2VR SWF from Parent SWF

Posted: Sun Feb 06, 2011 9:33 pm
by Noisy
can we see your code?

Re: Removing Pano2VR SWF from Parent SWF

Posted: Thu Apr 28, 2011 10:08 am
by richalot
I believe we've traced the problem down to the _lockroot. We need to be able to dynamically create a movie clip for the pano (or parent the movie clip) in order to make them appear within thumbs or a zoom panel. With the root locked, then we have no ability to do so. Do you provide source? Can we comment out the _lockroot line somehow so that references to _root are internally once again?

Re: Removing Pano2VR SWF from Parent SWF

Posted: Thu Apr 28, 2011 8:40 pm
by richalot
In terms of code sample, we have several layers of clips in different places but at the end of the day, we are loading external assets using a loader with the loadClip function. These pano swfs are successfully loaded but they are not placed within the loading clip but instead at the origin, top left, directly on the root.