Problem in short:
somewhere in my code, I used ApplicationDomain.currentDomain.parentDomain.
and on FlashPlayer 10,0,45,2 (debug) it is not null (good behavior), but on FlashPlayer 10,1,102,64 (non-debug) it is null.
Does anyone knows what is the cause and any workaround for this~?
to my understanding, my application domain is structured like this:
and the loading sequence is like this:
the problem is that if ApplicationDomain.currentDomain.parentDomain returns null, application2 can't share the classes loaded in commonClassesDomain.
the problem only occurs on some version of flash players... I tried to read through the flash player release notes, but nothing seems relavent...
don't know if this is relevant, but both commonClasses.swf and application1.swf are in flex 4.0 and applciation2.swf is flex 3.5.