4 Replies Latest reply: Jul 21, 2012 7:37 AM by oknishan RSS

    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.Error #2044: Unhandled


      I write this script for loader and it gives an error

      Idon't know where is the mistake.

      so please help me to sort out the error.

      Thanks in Advanced


      This is the Script




      addEventListener(Event.ENTER_FRAME, preLoad);
      function preLoad(event:Event):void{
          var bytestoLoad:Number = loaderInfo.bytesTotal;
          var numberLoaded:Number = loaderInfo.bytesLoaded;
          if(bytestoLoad == numberLoaded){
              removeEventListener(Event.ENTER_FRAME, preLoad);


              preLoader.preLoaderFill.scaleX = numberLoaded/bytestoLoad;