Re: [Flashcoders] AS3 singleton not working across multiple loaded swf

2008-02-15 Thread Meinte van't Kruis
I've never had that problem. To avoid conflicts between classes of loaded swf's, I usually set the loader context to the current domain of the loading SWF, maybe it helps in your case too. On Fri, Feb 15, 2008 at 2:22 AM, Patrick Matte | BLITZ [EMAIL PROTECTED] wrote: The only way I have been

RE: [Flashcoders] AS3 singleton not working across multiple loaded swf

2008-02-15 Thread Patrick Matte | BLITZ
: [Flashcoders] AS3 singleton not working across multiple loaded swf I've never had that problem. To avoid conflicts between classes of loaded swf's, I usually set the loader context to the current domain of the loading SWF, maybe it helps in your case too. On Fri, Feb 15, 2008 at 2:22 AM, Patrick

[Flashcoders] AS3 singleton not working across multiple loaded swf

2008-02-14 Thread Patrick Matte | BLITZ
The only way I have been able to use a singleton across loaded swfs in AS3 is if it was first referenced in the main swf. Any other singleton I use that are not referenced in the main swf work only within the swf they are contained into. Is this a normal behavior in AS3 ? Does it have anything