Jump to content
Search Community

Search the Community

Showing results for tags 'Error #2099'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Hi, I am newbie, just first time using this. I want to ask. I get trouble with LoaderMax. I'm using queue Loader and SWF Loader to load my asset. import com.greensock.*; import com.greensock.loading.*; import com.greensock.events.LoaderEvent; import com.greensock.loading.display.*; import flash.display.Sprite; import flash.display.MovieClip; var _progressDisplay:ProgressCircleLite; LoaderMax.activate([imageLoader, SWFLoader, VideoLoader]); var urls:Array = [ "informasi/informasi.jpg", "informasi/studio1.jpg", "informasi/studio2.jpg", "informasi/studio3.jpg", "informasi/studio4.jpg", "informasi/studio5.jpg", ... up to 100 pict ... "galeri6/gallery_1/Images00008.jpg", "galeri6/gallery_1/Images00008.jpg", "galeri6/gallery_1/Images000010.jpg"]; var queue:LoaderMax = LoaderMax.parse(urls, {name:"mainQueue",onComplete:completeHandler, onprogress:progressHandler, onerror:errorHandler}, {autoPlay:true}); queue.append( new SWFLoader("mainMovie.swf", {name:"childClip", estimatedBytes:3000, container:this, autoPlay:true}) ); LoaderMax.prioritize("mainQueue"); queue.load(); _progressDisplay = new ProgressCircleLite({radius:26, thickness:4, trackColor:0xFFFFFF, trackAlpha:0.25, trackThickness:4, autoTransition:false, smoothProgress:0}); this.addChild(_progressDisplay); _progressDisplay.mouseEnabled = false; _progressDisplay.x = 69; _progressDisplay.y = 389; _progressDisplay.addLoader(queue); function progressHandler(event:LoaderEvent):void { trace("progress: " + event.target.progress); } function completeHandler(event:LoaderEvent):void { trace(event.target + " is complete!"); var SWF:ContentDisplay = LoaderMax.getContent("childClip"); addChild(queue.content) removeChild(_progressDisplay); } function errorHandler(event:LoaderEvent):void { trace("error occured with " + event.target + ": " + event.text); } Those all image are my asset that going to be cached (as website asset) and mainmovie.swf is my AS3 main program that will play after the load progress done. So far, it load until mainmovie.swf, well displayed. but I found this error and the progress display stuck at 99%.. Error: Error #2099: The loading object is not sufficiently loaded to provide this information. at flash.display::LoaderInfo/get width() at com.greensock.loading.display::ContentDisplay/_update() at com.greensock.loading.display::ContentDisplay/set rawContent() at com.greensock.loading.core::DisplayObjectLoader/_initHandler() at com.greensock.loading::SWFLoader/_init() at com.greensock.loading::SWFLoader/_rslAddedHandler() at flash.display::DisplayObjectContainer/addChild() I hope someone can help me plz. thanks. tesP.zip
×
×
  • Create New...