Hi, adding pano.swf with addChild() works fine, but how can i remove a pano.swf? (AS3)
removeChild () shows me this error:
TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich.
at PanoCube/doEnterFrame()
Remove Pano in AS3
Yeah, it is stupid that ActionScript doesn't has a destructor so you need to call
before you remove the child from the stage to avoid this error. I included this information into the http://gardengnomesoftware.com/wiki/Pano2VR_-_Flash_API page
Code: Select all
vr.pano.cleanup();
MfG, Thomas