Android App Help TypeError: Error #1007

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()

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]

Similar Messages

  • TypeError: Error #1007: Instantiation attempted on a non-constructor. on port to Flex 4

    I have been porting an app from Flex 3.4.x to 4.0.. I have successfully ported the app and its libraries to flex 4.0 (everything build successfully, all the CSS has the new Namespace stuff added, and warnings are down to the same stuff pre-port).  I've also removed ALL the references to http://www.adobe.com/2006/flex/mx in any of my mxml files... In short I "think" I have moved everything over to the new mx and fx namespaces. But I still get the following error (which never happend in 3.4 or 3.5 with this same app) when I try to run my flex app.
    TypeError: Error #1007: Instantiation attempted on a non-constructor. at mx.preloaders::Preloader/initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\preloaders\Preloader.as:253] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:1925] at mx.managers::SystemManager/initHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2419]
    At this point I am completely stumped.. anyone have any ideas?
    Thanks
    Josh

    *Scratches head*
    Ok so I did a -keep and checked my  ***SystemManager-generated.as   the funciton info() was setting the sparkdownload progress just fine
    preloader: SparkDownloadProgressBar
    and it was importing both ths spark and mx progress bars
    import mx.preloaders.DownloadProgressBar;
    import mx.preloaders.SparkDownloadProgressBar;
    then I checked my link report.. and sure enough the spark preloader was there
    <script name="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\libs\framework.swc(mx.preloaders:SparkDownloadProgressBar)" mod="1263586859699" size="13103" optimizedsize="6977">
    as was the mx.preloaders.preloader
    <script name="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\libs\framework.swc(mx.preloaders:Preloader)" mod="1262975731760" size="6770" optimizedsize="4160">
    as was the IPreloaderDisplay
    <script name="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\libs\framework.swc(mx.preloaders:IPreloaderDisplay)" mod="1262975731869" size="2113" optimizedsize="508">
    what wasn't in my link report was the mx.preloaders.DownloadProgressBar, but it was probably optmized out because it isn't actually ever called...
    And I can tell that info() is the one being called the first time through (when the first RSL decompression happens), so that's not it..
    Is there a way to figure out what tha second RSL decompression is?    It seems to me thats where the issue is.. (from what it looks like (based on width and hight numbers that the first decompression is my application (having my apps height and width) the second decomression is my object tag in my browser (because it has the height and width numbers I am setting there.. (which are different because I am trying to use the scaleMode to make the app scale to fit different sizes)..
    Oh and if I haven't said it yet, Thank you very much for your guidence on this.. Its a real headscratcher for me.
    Josh

  • TypeError: Error #1007:Tried to create an instance in a no constructor

    Hello guys,
    Im stuck with actionscript error, i really need help here the error i got:-
    TypeError: Error #1007:Tried to create an instance in a no constructor.
    at Away3dScene/initObjects()
        at Away3dScene/init()
        at flash.display::DisplayObjectContainer/addChild()
        at Away3dProject()
    So use Away3d, however dont know really where is the error becouse every thing seems be okay, im using adobe flash cs5.5, flash player 10.
    main.as code:
    package
        import flash.display.Sprite;
        import flash.display.StageScaleMode;
        import flash.display.StageAlign;
        import net.hires.utils.Stats;
        public class Away3dProject extends Sprite
            public function Away3dProject()
                stage.scaleMode =  StageScaleMode.NO_SCALE;
                stage.align =  StageAlign.TOP_LEFT;
                var scene:Away3dScene = new Away3dScene();
                addChild(scene);
                var stats:Stats = new Stats();
                addChild(stats);
         and here Away3dscene.as:
    package
        import away3d.cameras.Camera3D;
        import away3d.containers.Scene3D;
        import away3d.containers.View3D;
        import away3d.core.base.Object3D;
        import away3d.core.clip.RectangleClipping;
        import away3d.core.math.Number3D;
        import away3d.materials.WireColorMaterial;
        import away3d.overlays.LensFlare;
        import away3d.primitives.Plane;
        import flash.display.BlendMode;
        import flash.display.Sprite;
        import flash.events.Event;
        public class Away3dScene extends Sprite
            //[Embed(source="assets/library.swf", symbol="Halo")]
            private var Halo:Class;
            //[Embed(source="assets/library.swf", symbol="Flare1")]
            private var Flare1:Class;
            //[Embed(source="assets/library.swf", symbol="Flare2")]
            private var Flare2:Class;
            //[Embed(source="assets/library.swf", symbol="Flare3")]
            private var Flare3:Class;
            private var _scene:Scene3D;
            private var _camera:Camera3D;
            private var _view:View3D;
            private var _flare:LensFlare;
            public function Away3dScene()
                this.addEventListener(Event.ADDED_TO_STAGE, init);
            private function init(evt:Event):void
                initScene();
                initObjects();
                this.addEventListener(Event.ENTER_FRAME, render);
            private function initObjects():void
                /*var floor:Plane = new Plane();
                floor.width = floor.height = 100000;
                floor.segmentsW = floor.segmentsH = 12;
                floor.y = -3500;
                floor.material = new WireColorMaterial(0x333333);
                _scene.addChild(floor);*/
                var flareSourceDummy:Object3D = new Object3D();
                flareSourceDummy.x = 1000;
                flareSourceDummy.y = 500;
                flareSourceDummy.z = 3000;
                _scene.addChild(flareSourceDummy);
                _flare = new LensFlare(flareSourceDummy, _camera);
                _flare.setBurnClip(_view);
                _flare.setHaloAsset(new Halo());
                _flare.addFlareAsset(new Flare1());
                _flare.addFlareAsset(new Flare3());
                _flare.addFlareAsset(new Flare1());
                _flare.addFlareAsset(new Flare2());
                _flare.useRotation = false;
                //_flare.useAlpha = false;
                //_flare.useScaling = false;
                //_flare.useBurning = false;
                //_flare.blendMode = BlendMode.SCREEN;
                //_flare.burnMethod = LensFlare.BURN_METHOD_COLOR_TRANSFORM;
                _view.addOverlay(_flare);
            private function hoverCamera():void
                var mX:Number = this.mouseX > 0 ? this.mouseX : 0;
                var mY:Number = this.mouseY > 0 ? this.mouseY : 0;
                var tarX:Number = 3*(mX - stage.stageWidth/2);
                var tarY:Number = -2*(mY - stage.stageHeight/2);
                var dX:Number = _camera.x - tarX;
                var dY:Number = _camera.y - tarY;
                _camera.x -= dX*0.25;
                _camera.y -= dY*0.25;
                _camera.lookAt(new Number3D(0, 0, 0));
            private function initScene():void
                _scene = new Scene3D();
                _camera = new Camera3D({z:-1500});
                _view = new View3D({scene:_scene, camera:_camera});
                _view.x = stage.stageWidth/2;
                _view.y = stage.stageHeight/2;
                _view.clipping = new RectangleClipping({minX:-stage.stageWidth/2, minY:-stage.stageHeight/2, maxX:stage.stageWidth/2, maxY:stage.stageHeight/2});
                _view.opaqueBackground = 0;
                addChild(_view);
            private function render(evt:Event):void
                hoverCamera();
                _view.render();
          Please guys, any idea will be helpful to me.
        Best,

    Yes, you right, now after i do what you explain appear more informations. 
      at Away3dScene/initObjects()[C:\Users\ahmed\Desktop\3d\Away3dScene.as:65]
        at Away3dScene/init()[C:\Users\ahmed\Desktop\3d\Away3dScene.as:44]
        at flash.display::DisplayObjectContainer/addChild()
        at Away3dProject()[C:\Users\ahmed\Desktop\3d\Away3dProject.as:17]
    error number 65 in Away3dScene is: _flare.setHaloAsset(new Halo());
    error number 44 in Away3dScene is: initObjects();
    error number 17 in Away3dProject.as is: addChild(scene);
    and the last error is: at flash.display::DisplayObjectContainer/addChild()
    But what is strange i test project at flash builder and he work fine, i just want move from flash builder to run in flash cs5.5, so i move Away3dProject.as, Away3dScene.as, and i add Away3d classes to flash cs5.5 and also   add net class to flash cs5.5.
    also i add all movies clips to my libriry project, please could you help me to find why i got this error with flash cs5.5.
    Best,

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

    So I am trying out Flex 4 and started so by creating a basic class that extends the spark.components.Application class.
    package
        import spark.components.Application; 
        public class SimpleApp extends Application
            public function SimpleApp():void
                super();
    It compiles time but at runtime I am getting this error:
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
    at mx.preloaders::Preloader/initialize()
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()
    at mx.managers::SystemManager/initHandler()
    Anyone have any insight into this? I found this http://forums.adobe.com/message/2724794 but it doesn't really seem to be a whole lot of help in my case.

    K so I just setup a simple mxml file for it
    <?xml version="1.0"?>
    <sa:SimpleApp xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:sa="com.simpleapp.*" />
    Now it seems to be happy. Thanks.

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

    package{
              import flash.display.MovieClip;
              import flash.events.MouseEvent;
              public class MainTimeline extends MovieClip{
                             private var movieArray:Array = new Array(8);
                             private          var myMovieClip:Array = new Array(18);
                             private          var sco:Array = new Array(6);
                             private var i:Number = 0;
                             private var rangeX:Number = 0;
                             private          var sumScore:Number = 0;
                             public function MainTimeline(){
                                            movieArray = [tele01, tele02, tele03, tele04, duck01, monkey01, pig01, boom01]; //Animation MovieClip from library
                                            myMovieClip = [myMovieClip1, myMovieClip2, myMovieClip3, myMovieClip4, myMovieClip5, myMovieClip6]; //Blank MovieClip from library
                                            for (i = 0; i < 6; i++)
                                                           var number:Number = Math.floor(Math.random() * 9);
                                                           myMovieClip[i] = new movieArray[number]; //create Animation MovieClip to Blank MovieClip
                       myMovieClip[i].x = rangeX;
                                                           myMovieClip[i].y = 90;
                                                           sco[i] = 50;
                                                           addChild(myMovieClip[i]);
                                                           rangeX += 132;
               myMovieClip[0].addEventListener(MouseEvent.CLICK, disappear1);
               myMovieClip[1].addEventListener(MouseEvent.CLICK, disappear2);
               function disappear1(e:MouseEvent):void {
                                                          myMovieClip[0].visible=false;
                      sumScore = sumScore + sco[0];
                      score.text = sumScore.toString();
                                        function disappear2(e:MouseEvent):void {
                                                      myMovieClip[1].visible=false;
                                                      sumScore = sumScore + sco[1];
                                                      score.text = sumScore.toString();
    I am a Newbie of AS3 and I dont't undersatnd why this code can run successfully sometimes, sometimes not and told me "TypeError: Error #1007: Instantiation attempted on a non-constructor."
    Please, help me... I try to solve anything. Thank you.

    Change...
    myMovieClip[i] = new movieArray[number];
    to
    myMovieClip[i] = new Array[number];
    OR
    myMovieClip[i] = movieArray[number];
    I'm not sure of the intention

  • Runtime Error 1007 on a simple ProgressBar in Flex 4

    This is such a simple code that compiles correctly, but I'm getting the error below when running it
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
                    at mx.controls::ProgressBar/createChildren()[E:\dev\4.0.0\frameworks\projects\framework\src\ mx\controls\ProgressBar.as:1110]
                    at mx.core::UIComponent/initialize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\ UIComponent.as:7250]
    Here's the code that gives this error:
    <s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx"
       xmlns:com="com.*" xmlns:folders="services.folders.*"
       height.mini="80" height.full="400"
       minHeight.full="200" minHeight.mini="70"
       title="Upload Photos" creationComplete="initCom()"
       currentState="full" controlBarVisible="true"
       width="418" minWidth="400">
    <s:controlBarContent>
    <com:IconButton id="btnAdd" toolTip="Add file(s)" click="addFiles()" icon="{addIcon}"
                              skinClass="com.skins.IconButtonSkin" width="20"/>
    <com:IconButton id="btnRemove" toolTip="Remove file(s)" click="removeFiles()" icon="{removeIcon}"
                              skinClass="com.skins.IconButtonSkin" width="20"/>
    <mx:ProgressBar id="uploadProg" labelPlacement="center" width="100%"/>
    <com:IconButton id="btnCancel" toolTip="Cancel upload" icon="{cancelIcon}" click="onUploadCanceled()"
                              skinClass="com.skins.IconButtonSkin" width="20"/>
    <com:IconButton label="Upload" toolTip="Upload file(s)" id="btnUpload" icon="{uploadIcon}" click="uploadFiles()"
                              skinClass="com.skins.IconButtonSkin" width="20"/>
    <com:IconButton id="btnView" toolTip="Show/Hide file(s)" click="changeView()"
                              icon.full="{viewIconFull}" icon.mini="{viewIconMini}"
                              skinClass="com.skins.IconButtonSkin" width="20"/>
    </s:controlBarContent>
    </s:TitleWindow>
    If I remove the progressbar code from here, it runs fine. But with that one line, I get above error during runtime. With this line in, even the Design mode doesn't show-up in Flash Builder 4
    Any idea what could be the issue here?
    PS: I've tried with the normal s:Button as well, before the skinned button component. So obviously those can't be the problem.

    I'm not able to reproduce this error with the following sample:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:TitleWindow title="Upload Photos" width="418" minWidth="400">
            <s:controlBarContent>
                <s:Button id="btnAdd" toolTip="Add file(s)" width="20"/>
                <s:Button id="btnRemove" toolTip="Remove file(s)" width="20"/>
                <mx:ProgressBar id="uploadProg" labelPlacement="center" width="100%"/>
                <s:Button id="btnCancel" toolTip="Cancel upload"  width="20"/>
                <s:Button label="Upload" toolTip="Upload file(s)" id="btnUpload" width="20"/>
                <s:Button id="btnView" toolTip="Show/Hide file(s)"  width="20"/>
            </s:controlBarContent>
        </s:TitleWindow>
    </s:Application>
    Can you try to simplify your application to reproduce the issue in a small amount of code like this sample so we can investigate further?

  • Error #1007 - attempting to instantiate a non-constructor

    I am receiving said message on an actionscript-only project. I tried to reduce the application to a nonsensical example:
    package
    {       import flash.display.Sprite;
            public class zz extends Sprite
                    public function zz()
                            var dummies:Array = [];
                            dummies.push(new dummy());
                            dummies.push(new dummy());
                            var newdata:Array = dummy.mixup(dummies);
    package
            import flash.geom.Point;
            public dynamic class dummy extends Array
                    public function addp(pt:Point):void
                            this.push(pt.clone());
                    public static function mixup(dummies:Array):Array
                            var ret:Array = [];
                            function local_makeresult():void
                            {       for(var n:int = 0 ; n < 3 ; n++)
                                    {       var b:dummy = new dummy();
                                            ret.push(b);
                            local_makeresult();
                            for(var m:int = 0 ; m < dummies.length ; m++)
                            {       for(var n:int = 0 ; n < 3 ; n++)
                                    {       var i:int = int(dummies[m].length * Math.random());
                                            var j:int = int(3 * Math.random());
                                            ret[j].push(dummies[m][i]);
                            return ret;
    So the problem class
    a) extends array
    b) includes a static utility function (converting an array of class objects into another one)
    c) that utility function includes nested functions
    Tge error message looks like this
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
        at dummy/mixup/local_makeresult()
        at dummy$/mixup()
    Does this mean we cannot use nested functions inside static ones?

    Hi
    as I said this is not actual code (several hundred lines) but just a contrived example modelling the application structure. While it is still something different, lets assume that the dummy class represents polygons (so it derives from array and would implement useful methods like finding total length, area, center of gravity).
    The static function could be intersection
    I am using quite a few nested functions in this project - they have access to local variables of the enclosing function. Without the m I wouldhave to pass in a handful of variables (or an object grouping them together)
    I have already noticed that nested functions are a mixed blessing, because there are fewer compile-time checks (such as number and type of arguments). However, they exist, so why shouldn't I use them?
    One of the things I stumbled over: when I got the error, I tried one thing ... that did make the code work in the end: I removed the static attribute from the function and changed the main class to call it as a method of the first element of the array (which is certainly making it unreadable)

  • Adobe Air + Box2D.swc = TypeError: Error #1009 // New way to handle .swc files in Flash for iOS Apps?

    Hi,
    I need your help please - I have to update one of my iOS Apps. In this App I use Box2d for a simple maze game (it's an app for kids). When I publish & test this game on my Mac it works fine. I can drag my Hero (fish) through this Maze and all collision detections, gravity etc. work perfect.
    When I test it on my iPad it doesn't work. The device debugger shows this error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at global$init()
      at global$init()
      at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31]
      at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26]
      at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50]
      at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100]
      at misc::Entity/handleAddedToStage()
    Line 31: loader = new CLibInit();
    I guess "CLibInit" should come from the .swc file.
    The thing is:
    I didn't change anything in this maze game - it seems this has to do something with the new Flash and/or Adobe Air version. Box2D.swc file is included:
    It always worked like this - and it works when testing it on my Mac - but it is no longer working on my current system.
    So I started my Mac from an older system (10.9.5 on an external HD) and published the App from Flash CS6 and Adobe Air 13.0 - then it suddenly worked on my iPad as before. I was able to tap an the fish and drag it arround.
    The same project / app published from my current OS X 10.10 + Flash CC 2014 + Adobe Air 15.0.0.302 is not working. I always receive this Error Message - I can not drag the fish - nothing happens. And I have no idea why this happens and what else I could do. I searched the whole day for a solution but didn't find anything.
    So did anything change by the way Flash and/or Air handles .swc files? Is there an other way to include: import cmodule.Box2D.* / CLibInit ?
    Please - if anyone has a clue - please let me know!!
    Best regards
    Jan

    Update:
    There is also an Android Version of this App. I just published and tested a new version of it on my kindle fire & Samsung Galaxy Tab 2. On both Tablets the maze works perfect. I'm able to drag the fish around etc.
    Then I published this Android Version for iOS and tested it on my iPad. Again I'm getting the Error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference. 
      at global$init() 
      at global$init() 
      at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31] 
      at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26] 
      at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50] 
      at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100] 
      at misc::Entity/handleAddedToStage
    ...and the fish is stuck - I can't drag it - nothing happens. So this error only occurs when I publish the App for iOS - as an .ipa. Did anything change in the way Air handles .swc files?
    I'm totally confused
    If anybody has an idea what I could try - PLEASE LET ME KNOW!!

  • Show error at the time of checking compactibility of android apps in BB playbook Google Maps API not support?

    Hello Friends,
    Please Help
    I am trying to check the compactibility of android apps in BB playbook but I get error message
    "Your application is not compatible with the BlackBerry® Runtime for Android™ Apps."
    This package not support
        uses-package    com.google.android.maps
    But actully issue is I am not using com.google.android.maps package in project.
    But It also shous the error of google.maps package.
    Please help me tell me the solution regarding that.
    Only this one issue is not solve.
    Thanks Billions!!
    Aniruddha

    My Eris? Only minor occasionally glitches (force closes or bad apps) and just recently found one tiny dead spot in the LCD screen (no big thing). Biggest thing is I have NOT had to pull my battery in months! I think it was more my fault the last time it happened.
    The main reason I think my phone is so problem free is I did a factory reset soon after 2.1 OTA update.
    Btw I went from a Motorola W385 to the Droid Eris. Big learning curve, but I enjoyed the trip. LOL

  • Amazon Android App Error

    Dear Everyone
    I hope i get solution to this
    I submitted an App to Amazon Android App Store
    They reviewed and sent me this error below
    Thank you for your recent submission of Beanstalk Learning Demo. Unfortunately it failed our testing procedures due to the following reason(s):
    *** Your app has failed following test cases. 1) Bug: If a voice call is received while the application is running, then after ending the voice call the user is taken to the home screen of the device. Steps to reproduce: 1. Launch Application 2. Receive incoming voice call 3. End the voice call 4. Notice that the user is taken to the home screen of the device. *** 2) Bug Description: If an alarm alert is activated while the application is running, then after dismissing the user is taken to the home screen of the device. Steps to reproduce: 1. Set Alarm 2. Launch Application 3. Wait for alarm to be displayed 4. Dismiss alarm alert 5. Notice that after alarm is dismissed, the user is directed to home screen of device.
    I have the following Action script on my file..which i know is not correct...what i want is when someone is watching my app..and by mistake clicks on home button of samsung galaxy tab..and then reclicks on app..it should open from where it stopped...the same goes with a phone call and alarm
    Following is my script..can someone help me with changes
    import flash.desktop.NativeApplication;
    import flash.desktop.SystemIdleMode;
    import flash.events.Event;
    import flash.events.KeyboardEvent;
    import flash.ui.Keyboard;
    NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;
    NativeApplication.nativeApplication.addEventListener( KeyboardEvent.KEY_DOWN, handleKeyDown );
    NativeApplication.nativeApplication.addEventListener( Event.DEACTIVATE, handleDeactivate );
    function handleKeyDown( e :KeyboardEvent ) :void
       switch( e.keyCode )
        case Keyboard.BACK:
         NativeApplication.nativeApplication.exit();
         break;
        case Keyboard.SEARCH:
        case Keyboard.MENU:
         e.preventDefault();
         break;   
    function handleDeactivate( e :Event ) :void
       NativeApplication.nativeApplication.exit();
    var loader:Loader = new Loader()
    var Request:URLRequest = new URLRequest("MainPage.swf");
    loader.load(Request)
    loader.x = 0;
    loader.y = 0
    addChild(loader);
    Please help
    regards
    Anand

    I tried not enabling mobile data just in case, and I still have the issue.
    i.e. apps working great, exit the app, go for lunch, come back, impossible to launch the app anymore with that error message. Uninstall/re-install (+re-entering login details) fixes the issue.... Quite painfull I would say.
    Just to be clear, with this error code, the app does not launch at all (ie no news, no login screen, just the error message)

  • HT5642 Unable to download app this time error while downloading app please help!!!

    when i download some app from apps store i get the following error
    "Unable to download app this time error while downloading app" please help!!!
    i ve tried these Things but
    didnt workout yet
    1) i tried hard reset
    2)i tried logout/login Itune & appstore
    3)Connected to pc and rest setting Network and Full Rest
    all of no use... i dont want to update my softwre from IOS 6.0
    Plx help!1

    Hey Prahaladvatsan,
    Thanks for the question. If I understand correctly, there is a blank app icon on the home screen. It looks like you have already done some troubleshooting. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Have a good one,
    Mario

  • After updating to iOS6 I cannot update my apps anymore. Error "Account not in this store". Pls help

    After updating my iPad2 to iOS6 I cannot update my Apps anymore. Error message says "Account not in this store". I changed my iTunes store to Philippines and synced my iPad. Didn't do any good.

    Go here:
    Settings > iTunes & App Stores > tap your Apple ID: > View Apple ID > Country/Region
    and confirm that it's set to the correct country for your account. If it is, try signing out of your account and back in.
    Hope this helps.

  • I have ios7 on my iphfone 4 I now have a iphone5 with ios8 I cannot access the cloud to download my contacts and apps.  the error is both phones need to be ios8,  my iphone4 will not allow changing to ios8.  can anyone help.  Thanks

    i have ios7 on my iphone 4 I now have a iphone5 with ios8 I cannot access the cloud to download my contacts and apps.  the error is both phones need to be ios8,  my iphone4 will not allow changing to ios8.  can anyone help.  Thanks

    Contact Apple and speak to someone in account security.

  • HT5622 when i try to download an apps a message error 1009 appear ,please help me,what i have to do

    when i try to download an apps a message error 1009 appear ,please help me,what i have to do

    plishing/scam. I would go to Settings>Safari and Clear Cookies. Data and History and not go to that site for a while. Seems like an infected site.
    See this previous discussion on same symptom
    https://discussions.apple.com/thread/6042028?tstart=0

  • After trying many times with two different debit cards still does not allows me to buy a game from the app store gives error "YOUR PAYMENT METHOD WAS DECLINE.PLEASE ENTER VALID PAYMENT METHOD INFORMATION"  Please help me out

    I WANT TO PURCHASE NFS MOST WANTED GAME FROM APP STORE BUT IT DOESN'T ALLOW ME TO PROCEED FURTHER
    after trying many times with two different debit cards still does not allows me to buy a game from the app store gives error "YOUR PAYMENT METHOD WAS DECLINE.PLEASE ENTER VALID PAYMENT METHOD INFORMATION"  Please help me out

    In most cases, you can't use a Debit card anymore. So, either redeem an iTunes gift card or use a credit card.

Maybe you are looking for

  • Help opening PDF files using Adobe Reader

    I just downloaded the latest version of Adobe Reader on my Mac, and now whenever I try and open a PDF file, a message pops up saying "Before viewing PDF documents in this browser, you must launch Adobe Reader and accept the End User License Agreement

  • BADI for PM Order data change

    Dear all, In one of our requirements, we need to update the data present on the CAUFVD structure before AUFK is updated. There is an existing Z bespoke field on the table AUFK added through an include. As a part of the Order creation, this field rema

  • Why won't my iPhoto open?

    I can not get my iphoto to work. i get a message that says my iphoto will not work with my mac os x 10.7.2 and that an update needs to be done in order for it to work, but i dont need an update.

  • Custom tab in MM01

    Hi All, I have created a custom tab in MM01transaction successfully using SPRO customisation settings. However, when I transport the "Screen sequence" using SCC1 tcode to my "Test client", the order of the of the custom tab is getting randomly change

  • I produce programs for preachers to air on broadcast TV.  All of the stations require a Data Disc in

    lieu of a DVD. How do I keep the CC data in the data file so when the station airs the program the CC will be present?