Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Willem

Members
  • Posts

    2
  • Joined

  • Last visited

Willem's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Okay, small and cleaner code is indeed preferabel.
  2. Hi Jack, LoaderMax dispatches 'onComplete' when all items are loaded. This doesn't mean that all swf's have been initialized (that _initHandler has been called to set _content when available). Now I add an 'onInit' listener to the last SwfLoader added to the queue, like in: queue = new LoaderMax({name:"mainQueue", auditSize:true, onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler}); queue.append(new SWFLoader('assets/swf/Main.swf', {name:"main", autoDispose: false, estimatedBytes:100000, autoPlay: false})); queue.append(new SWFLoader('assets/swf/Snap.swf', {name:"snap", autoDispose: false, estimatedBytes:100000, autoPlay: false, onInit: lastSwfInitListener})); Is extending LoaderMax with an eventHandler "onAllSwfInit" an option? Thanks!
×