flex - How do you specify ApplicationDomain.currentDomain when loading via SWFLoader? -
i'm using flex builder 3 build large project. i'm suffering modules stepping on each other , conflict between application/module. structure looks following:
main application |--application 2 |--application 3 |--application 3
(application 2 child of main application, while applications 2 , 3 siblings, children of application 2)
in reality, it's more complicated that, problems start. in end, have tree 4 or possibly 5 levels deep... if can made work. main application file consists of little more canvas , series of buttons. second application contains vertical tab navigator canvases containers, list , tree view within 2 of tabs. application 3 complicated, event calendar in application 4. long no interaction takes place, loads , appears fine. when looking @ modules 2 , 3, both have comboboxes. first accessed works correctly, second throws errors, take sandbox violations. converted applications 2, 3 , 4 modules , used moduleloader bring them in , specify applicationdomain=currentdomain. now, calendar functions in last (now module) fails display @ all. can trace values , throw alert boxes know it's @ least loading, nothing displays. test, stripped module down contain nothing @ label says "test" , displays fine, put inside canvas component, nothing displays. if convert module application , load using swfloader, displays fine, i'm try bring in application parallel it, i'm going started. can use so.data , localconnections pass information , forth, how load swf in application , specify application domain? nice have exist currentdomain , play nice.
i'm not sure understand blurb, if title accurate, may find the sample on page helpful.
Comments
Post a Comment