flex - Loading a class in module1 with the same name as a class in module2 -


i have flex application can load modules necessary. when first module loaded, creates class mybackground(), paints background red. when choose load second module (and unload first) again load class mybackground (from second module). however, when step constructor mybackground, goes straight constructor uicomponentdescriptor:

public function uicomponentdescriptor(descriptorproperties:object) {     super(descriptorproperties); } 

is using same application domain each module load? flex load in class types parent application , cache them, when request class second time lookup, without seeing if class same?

any info on appreciated.

i've managed fix issue using child application domain (which doesn't make 100% sense says child domains can't override parent domains, yet appears happening).

m_moduleinfo.load(new applicationdomain(applicationdomain.currentdomain)); 

Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -