Error #1007: Instantiation attempted on a non-constructor. at flexlib.containers::WindowShade/createOrReplaceHeaderButton()[/Users/groumly/Development/workspace-3.5-flex4/FlexLib/src/flexlib/containers/WindowShade.as:258] #357
Originally filed by siddh...@gmail.com on 2011-04-25T05:31:41
What steps will reproduce the problem?
When swf file is loaded in top of mainApplication Swf (or Wrapper file) file.
When moving from Flex 3 to Flex 4
What is the expected output? What do you see instead?
We should be able to see the window shade component ( button) .
We are not able to see the button
Error message is displayed
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at flexlib.containers::WindowShade/createOrReplaceHeaderButton()
at flexlib.containers::WindowShade/createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::Container/addChildAt()
at mx.core::Container/addChild()
What version of the product are you using? On what operating system?
Flex builder 4.0 and SDK 4.1.0
Originally filed by siddh...@gmail.com on 2011-04-25T05:31:41
What steps will reproduce the problem?
What is the expected output? What do you see instead? We should be able to see the window shade component ( button) . We are not able to see the button Error message is displayed
What version of the product are you using? On what operating system? Flex builder 4.0 and SDK 4.1.0
Please provide any additional information below.
My Wrapper file (Main Application.mxml )