[Papervision3D] Multiple instances of papervision?

Joshua Milstead jmilstea at scad.edu
Wed Sep 16 12:51:42 PDT 2009


That was exactly my problem! Thanks so much!!!

----- Original Message -----
From: "Itai Asseo" <iasseo at digitas.com>
To: papervision3d at osflash.org
Sent: Wednesday, September 16, 2009 3:41:17 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Papervision3D] Multiple instances of papervision?


Re: [Papervision3D] Multiple instances of papervision? You might be running into a LoaderContext issue — if you are using classes with the same name in both the loader and loaded SWFs you’ll overwrite the new classes with the old ones. You can avoid that by adding this code: 

//used to make sure swf's classes do not interfere with this app var AD:ApplicationDomain = new ApplicationDomain( null ); var context:LoaderContext = new LoaderContext( false, AD ); 
_loader.load( req, context ); 

-i 

On 9/16/09 3:30 PM, "Joshua Milstead" < jmilstea at scad.edu > wrote: 



has anyone ever come across a problem loading multiple swf files with papervision content on to the same stage? I am working on a project where I need to be able to click on an object in one papervision scene and have it load another scene from another swf on the same stage. I can load regular swfs but if I load any other swf containing papervision to the stage it doesn't show the content from the new swf, but I don't get any errors. any suggestions? thanks! 

_______________________________________________ 
Papervision3D mailing list 
Papervision3D at osflash.org 
http://osflash.org/mailman/listinfo/papervision3d_osflash.org 

Itai Asseo | Lead Creative , Creative Technology Powerhouse | D I G I T A S 
355 Park Avenue South | New York, NY 10010 | USA 
Office: +1 646 735 7328 | Fax: +1 212 350 7850 
Mobile: +1 646 924 7795 | Email: iasseo at digitas.com 
www.digitas.com 

Members of the Paris-based Publicis Groupe S.A. (Euronext Paris: FR0000130577, NYSE: PUB), the world's fourth largest communications group and second largest media counsel and buying group. 

The information in this email and subsequent attachments may contain legally privileged, proprietary and confidential information that is intended for a particular recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this email information is prohibited. When addressed to Digitas clients or vendors, any information contained in this email is subject to the terms and conditions in the governing contract. If you have received this email in error, please immediately notify us by telephone or by return email, and delete the email. 




_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



More information about the Papervision3D mailing list