removing object movie

Using Pano2VR/Object2VR SWF files with your own Flash projects
Post Reply
filepark
Posts: 8
Joined: Mon Oct 05, 2009 4:45 am

to remove a panorama I have to use the following code: vr.cleanup(); removeChild(loader);
How can I remove object movie created in Object2VR? What is the code?
erik leeman
Posts: 470
Joined: Sat Sep 09, 2006 10:51 am
Contact:

Does vr.cleanup(); removeChild(loader); work for you? Did you actually check?
For me (and I think a lot of others) it doesn't, so that would be interesting.
I had to add code to erase the bitmap data from memory of all six cube faces individually to have some effect.

Perhaps something similar can be done to the images that make an object movie.
It would at least release most of the memory occupied by it.

Erik
filepark
Posts: 8
Joined: Mon Oct 05, 2009 4:45 am

Thank you Erik, I’ve read your previous messages - very useful.
Post Reply