Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Create an ActionScript 2 SWF file "QualityBug.swf" containing the following AS code on its main time line
this._quality = "HIGH";
2. Compile a simple Flex application with Flex SDK 3.1.0:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="onInit()">
<mx:Script>
<![CDATA[
import mx.core.UIComponent;
import flash.display.Loader;
import flash.net.URLRequest;
private function onInit():void
{ var loader:Loader = new Loader; var container:UIComponent = new UIComponent(); container.addChild(loader); this.addChild(container); // here we load an AS2 SWF file containing this._quality="HIGH" code var request:URLRequest = new URLRequest("QualityBug.swf"); loader.load(request); } ]]
>
</mx:Script>
</mx:Application>
3. Launch the Flex application in debug mode (F11) when IE 6 (not checked with other browsers) is a default browser
Actual Results:
Debugger hangs, the following error message is written in error log:
undefined
at mx.core::UIComponent/validateDisplayList()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6284]
at mx.core::Container/validateDisplayList()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Container.as:2670]
at mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:605]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:660]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8565]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8508]
Expected Results:
Debugging works
Workaround (if any):
(a) Use other web browser for debugging
(b) Call the onInit() method in the creationComplete or applicationComplete event handler.