hi Niels:

We've implemented a solution that uses different namespaces for each game
and the workaround the Samuel suggested.  But we also implemented som
destruction logic for all our state aware classes to clean up intervals,
references and to release resources in our shared singleton classes.
Some hairy stuff to deal with, but a lot of fun.  I'm looking at pixioc
approach for loading assets and "dll"s, but still scratching my head for a
proper implementation within our framework.

We've also used sandy for this project, which needed a bit of attention when
it comes to garbage collection and performance tunning, but worked alright
in the long term.

cheers and thanks for your concern
Mariano

On 10/1/07, Niels <[EMAIL PROTECTED]> wrote:
>
>  I would say that using different namespaces is a better solution.. (If
> you use the same namespaces with different classes inside)
>
>
>
> BUT you are saying you load the same game twice and then it breaks … I
> think then it also good be a caching problem, try loading the games with an
> 'nocache' string???
>
>
>
>
>
> Good luck,
>
>
>
>
>
> Niels
>
>
>
>
>  ------------------------------
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Mariano Cerrutti
> *Sent:* donderdag 27 september 2007 4:10
> *To:* Open Source Flash Mailing List
> *Subject:* Re: [osflash] unloading classes
>
>
>
> Samuel:
>
> Hi, my target is AS2/AVM1
>
> cheers
> Mariano
>
> On 9/26/07, *Samuel Agesilas* <[EMAIL PROTECTED] > wrote:
>
> What is your target?
>
> AS2/AVM1 or AS3/AVM+
>
> cheers,
> Sam
>
> On Sep 26, 2007, at 1:50 PM, Mariano Cerrutti wrote:
>
> > Hi List:
> >
> > I have this problem with an app that's loading and unloading
> > externals swf via MovieClipLoader.  It seems like the classes
> > definitions contained within the loaded swfs are overlapping.
> > For instance, we are loading different games from within a landing
> > app.  If we load a game twice everything breaks and the app freezes.
> >
> > Any idea on this?  Any way to unload the loaded classes?
> >
> > thanks in advance
> > cheers
> > Mariano
> > _______________________________________________
> > osflash mailing list
> > osflash@osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
> _______________________________________________
> osflash mailing list
> osflash@osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
> _______________________________________________
> osflash mailing list
> osflash@osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
_______________________________________________
osflash mailing list
osflash@osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to