Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 3.2 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Internet Explorer 6.x
Language Found: English
Description
Steps to repro:
1) compile and run attached MXML file (main.mxml) or run main.swf.
2) click the "move tab one" button to reparent tab one to the second TabNavigator container.
3) click the Button control in tab one (which should be in the second (lower) TabNavigator.
Actual results:
RTE...
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/getChildIndex()
at mx.core::Container/getChildIndex()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2407]
at mx.controls::NavBar/enabledChangedHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\NavBar.as:1207]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
at mx.core::UIComponent/set enabled()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:2013]
at mx.core::Container/set enabled()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:635]
at main/___main_Button3_click()[C:\Documents and Settings\pdehaan\My Documents\Flex Builder 3 FXG 6\SDK-18754\src\main.mxml:11]
Expected results
No RTE