Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Create an AIR application in Flash Builder (mxml attached) with s:SWFLoader.
2. Create a Flex App in Flash Builder (mxml attached). NOTE: This contains a spark label and mx datagrid.
3. Run the AIR app.
4. Add the automation libraries to the apps:
-include-libraries "<YourPath>/sdks/4.5.0/frameworks/libs/automation/automation.swc" "<YourPath>/sdks/4.5.0/frameworks/libs/automation/automation_agent.swc" "<YourPath>/sdks/4.5.0/frameworks/libs/automation/automation_air.swc" "<YourPath>/sdks/4.5.0/frameworks/libs/automation/automation_airspark.swc" "<YourPath>/sdks/4.5.0/frameworks/libs/automation/automation_dmv.swc" "<YourPath>/sdks/4.5.0/frameworks/libs/automation/automation_flashflexkit.swc" "<YourPath>/sdks/4.5.0/frameworks/libs/automation/automation_spark.swc" "<YourPath>/sdks/4.5.0/frameworks/libs/automation/qtp_air.swc"
Actual Results:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2821]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2729]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Expected Results:
SWF loader to load the referenced swf. NOTE: If you remove the 'loadForCompatibility="true"' option, the swf will load in the main app.
Workaround (if any):
n/a