1 Reply Latest reply on Aug 20, 2014 6:31 PM by Sphairo Systems

    Android App Help TypeError: Error #1007

    chanyan1 Level 1

      Hi I am trying out Cirrus on Android mobile,

       

      If I open up a new Mobile Project on Flash Builder 4.6;

       

      copy and paste the Cirrus code base on,

       

      I received this Actionscript Error below:::

       

      I cannot find this anywere I am using 4.6 SDK

      Thanks in advance!!

       

       

       

       

       

       

      TypeError: Error #1007: Instantiation attempted on a non-constructor.

                at mx.controls::VideoDisplay/createBorder()[/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/frameworks/projects/mx/src/mx/controls/VideoDisplay.as:1800]

                at mx.controls::VideoDisplay/createChildren()[/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/frameworks/projects/mx/src/mx/controls/VideoDisplay.as:1484]

                at mx.core::UIComponent/initialize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7634]

                at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

                at mx.core::UIComponent/addChildAt()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7199]

                at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\Group.as:2037]

                at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

                at spark.components::Group/setMXMLContent()[E:\dev\4.y\frameworks\projects\spark\src\spark\c omponents\Group.as:633]

                at spark.components::Group/createChildren()[E:\dev\4.y\frameworks\projects\spark\src\spark\c omponents\Group.as:855]

                at mx.core::UIComponent/initialize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7634]

                at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

                at mx.core::UIComponent/addChildAt()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7199]

                at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\Group.as:2037]

                at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

                at spark.components::Group/setMXMLContent()[E:\dev\4.y\frameworks\projects\spark\src\spark\c omponents\Group.as:633]

                at spark.components::Group/set mxmlContent()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:573]

                at spark.components::SkinnableContainer/set mxmlContent()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContaine r.as:657]

                at spark.components::SkinnableContainer/createDeferredContent()[E:\dev\4.y\frameworks\projec ts\spark\src\spark\components\SkinnableContainer.as:1050]

                at spark.components::SkinnableContainer/createContentIfNeeded()[E:\dev\4.y\frameworks\projec ts\spark\src\spark\components\SkinnableContainer.as:1078]

                at spark.components::SkinnableContainer/createChildren()[E:\dev\4.y\frameworks\projects\spar k\src\spark\components\SkinnableContainer.as:885]

                at mx.core::UIComponent/initialize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7634]

                at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]

                at mx.core::UIComponent/addChildAt()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7199]

                at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\Group.as:2037]

                at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628]

                at spark.components::Group/setMXMLContent()[E:\dev\4.y\frameworks\projects\spark\src\spark\c omponents\Group.as:633]

                at spark.components::Group/set mxmlContent()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:573]

                at spark.components::SkinnableContainer/set mxmlContent()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\SkinnableContaine r.as:657]

                at spark.components::SkinnableContainer/createDeferredContent()[E:\dev\4.y\frameworks\projec ts\spark\src\spark\components\SkinnableContainer.as:1050]

                at spark.components::SkinnableContainer/createContentIfNeeded()[E:\dev\4.y\frameworks\projec ts\spark\src\spark\components\SkinnableContainer.as:1078]

                at spark.components::SkinnableContainer/createChildren()[E:\dev\4.y\frameworks\projects\spar k\src\spark\components\SkinnableContainer.as:885]

                at spark.components::Application/createChildren()[E:\dev\4.y\frameworks\projects\spark\src\s park\components\Application.as:1504]

                at mx.core::UIComponent/initialize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7634]

                at spark.components::Application/initialize()[E:\dev\4.y\frameworks\projects\spark\src\spark \components\Application.as:1355]

                at Main/initialize()

                at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\4.y\frameworks\projects\frame work\src\mx\managers\systemClasses\ChildManager.as:189]

                at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\ projects\framework\src\mx\managers\systemClasses\ChildManager.as:359]

                at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:3057]

                at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2843]

                at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2723]

                at flash.events::EventDispatcher/dispatchEventFunction()

                at flash.events::EventDispatcher/dispatchEvent()

                at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:542]

                at flash.utils::Timer/_timerDispatch()

                at flash.utils::Timer/tick()

        • 1. Re: Android App Help TypeError: Error #1007
          Sphairo Systems

          I have the same problem HELP!!

           

          TypeError: Error #1007: Instantiation attempted on a non-constructor.

            at mx.controls::VideoDisplay/createBorder()[E:\dev\4.y\frameworks\projects\mx\src\mx\control s\VideoDisplay.as:1800]

            at mx.controls::VideoDisplay/createChildren()[E:\dev\4.y\frameworks\projects\mx\src\mx\contr ols\VideoDisplay.as:1484]

            at mx.core::UIComponent/initialize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7634]

            at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.y\frameworks\projects\fr amework\src\mx\core\UIComponent.as:7495]

            at mx.core::UIComponent/addChildAt()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7199]

            at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\Group.as:2037]

            at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.y\frameworks\projects\ spark\src\spark\components\Group.as:1628]

            at spark.components::Group/addElementAt()[E:\dev\4.y\frameworks\projects\spark\src\spark\com ponents\Group.as:1387]

            at mx.states::AddItems/addItemsToContentHolder()[E:\dev\4.y\frameworks\projects\framework\sr c\mx\states\AddItems.as:782]

            at mx.states::AddItems/apply()[E:\dev\4.y\frameworks\projects\framework\src\mx\states\AddIte ms.as:563]

            at mx.core::UIComponent/applyState()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:10741]

            at mx.core::UIComponent/commitCurrentState()[E:\dev\4.y\frameworks\projects\framework\src\mx \core\UIComponent.as:10487]

            at mx.core::UIComponent/commitProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx\c ore\UIComponent.as:8304]

            at spark.components.supportClasses::GroupBase/commitProperties()[E:\dev\4.y\frameworks\proje cts\spark\src\spark\components\supportClasses\GroupBase.as:1128]

            at spark.components::Group/commitProperties()[E:\dev\4.y\frameworks\projects\spark\src\spark \components\Group.as:886]

            at mx.core::UIComponent/validateProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx \core\UIComponent.as:8219]

            at spark.components::Group/validateProperties()[E:\dev\4.y\frameworks\projects\spark\src\spa rk\components\Group.as:864]

            at mx.managers::LayoutManager/validateClient()[E:\dev\4.y\frameworks\projects\framework\src\ mx\managers\LayoutManager.as:957]

            at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.y\frameworks\projects\framework\src\mx\ managers\PopUpManagerImpl.as:382]

            at mx.managers::PopUpManager$/addPopUp()[E:\dev\4.y\frameworks\projects\framework\src\mx\man agers\PopUpManager.as:193]

            at skins::itemRenderProducto/seleccionarFotoDesdeCamara()[C:\Users\Sphairo\Documents\GitHub\ venta\src\skins\itemRenderProducto.mxml:107]

            at skins::itemRenderProducto/___itemRenderProducto_renderFotoDesdeCamara1_click()[C:\Users\S phairo\Documents\GitHub\venta\src\skins\itemRenderProducto.mxml:123]