Sorry I wasn't aware of the nature of haXe. I've just read some of the documentation (http://haxe.org/tutos/haxe_as2) and now see that it addresses this problem perfectly. Great stuff! Thanks.

Chris


Nicolas Cannasse:
Thanks Nicolas,
I've been trying to find an elegant solution to this to keep any loaded swfs encapsulated so that they are 'fully' destroyed (movieclips, objects, singletons etc.) when the swf is unloaded. I'm sure many developers have investigated this. How do you manage to prevent your classes in external swfs from loading into the _global namespace? Have you managed to discover a way to prevent the Flash Player from inheritently performing this at runtime?

This is not the Player that fixe this behavior but the compiler, which
assigns classes explicitely in _global. A different compiler such as
haXe can then generate different bytecode.

Nicolas
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to