Revision: 13426
Revision: 13426
Author: dloverin@adobe.com
Date: 2010-01-11 14:36:39 -0800 (Mon, 11 Jan 2010)
Log Message:
***********
Backport changes 12966 and 12000 from trunk.
12966 - Fix sub-applications loading RSLs into the wrong application domain.
projects/framework/src/mx/core/CrossDomainRSLItem.as
projects/framework/src/mx/core/FlexModuleFactory.as
projects/framework/src/mx/core/RSLItem.as
projects/framework/src/mx/managers/SystemManager.as
Pass a module factory from SystemManager and FlexModuleFactory to CrossDomainRSLItem/RSLItem. Use the moduleFactory to find the application domain of the app/modules loading the RSLs. Use this application domain to load RSLs into.
projects/airframework/src/mx/managers/WindowedSystemManager.as
Added a info().currentDomain object to WindowedSystemManager.
1200 - Load RSLs relative to a module.
projects/framework/src/mx/core/FlexModuleFactory.as
Load RSLs relative to the module. Delay loading RSLs until the Event.INIT event because before that the loaderInfo.url is not ready. Without the loadInfo.url we can?\226?\128?\153t load RSLs relative to the module.
QE notes: None.
Doc notes: None.
Bugs: SDK-24698, SDK-20632
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no
Don't merge to trunk.
Ticket Links:
***********
http://bugs.adobe.com/jira/browse/SDK-24698
http://bugs.adobe.com/jira/browse/SDK-20632
Modified Paths:
**************
flex/sdk/branches/3.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemMana ger.as
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/core/RSLItem.as
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/managers/SystemManager.as