Wednesday, July 9, 2008

flex modules , application domain, Error #1034

Got Error #1034 while trying to access the same classes from
the application and from a loaded module.

Needed to add:

applicationDomain="{ApplicationDomain.currentDomain}" to my ModuleLoader Tag

Also needed to add all conflicting classes to the main Application Script tag, like this:

private var typeErrorClass1:Class1 ;
private var typeErrorClass2:Class2 ;

etc.

No comments:

 
Please visit Fishing Reminder