For the following lines of code I am getting unexpected results.

var currAppDomain :ApplicationDomain = ApplicationDomain.currentDomain;

var appDomain1 :ApplicationDomain = new ApplicationDomain( currAppDomain );

var appDomain2 :ApplicationDomain = new ApplicationDomain( currAppDomain );


There appDomain1 and appDomain2 are expected to be child of currAppDomain.
But appDomain1.parentDomain is not equal to appDomain2.parentDomain.
Also non of appDomain1.parentDomain & appDomain2.parentDomain is equal to 
currAppDomain.

I am checking the value displayed in Flex builder Variables tab.

The results are very confusing.

I need this code to load modules in child application domain.

Ref: 
http://livedocs.adobe.com/flex/3/html/help.html?content=18_Client_System_Environment_5.html

I am making any mistake?

Thanks,
Rajkumar Sehrawat

Reply via email to