On 3/26/08, lytvynyuk <[EMAIL PROTECTED]> wrote:
>
>  Is it true if I have singleton class instantiated in main application and
> in module, instances will be different?
[snip]

If you don't include the class in the main application, each of the
modules will have their own instance of the class. Class Foo in module
1 will be different from class Foo in module 2.

This is due to how modules are loaded in child application domains.
Read up on application domains in Flash (the ApplicationDomain class).

Also:

http://mannu.livejournal.com/372662.html

Manish

Reply via email to