Jump to content
GreenSock

waq177

Members
  • Posts

    1
  • Joined

  • Last visited

waq177's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I was thinking it would be nice to have a way to inject custom xmlNode names into a loaderMax instance. Many devs already have a defined xml spec for their project. It'd be nice not to have to rewrite them with , , etc nodes. Some kind of method that accepts a loaderMax type and an array of nodes that should be mapped to it: var queue:LoaderMax = new LoaderMax({name:"mainQueue", auditSize:true, onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler}); tempArray = new Array(graphic, thumbnail, hiRez, icon) // these are the custom nodes queue.mapCustomNodes(ImageLoader, tempArray) //tell loaderMax to search the xml file for these nodes as well queue.append( new XMLLoader("xml/data.xml", {name:"xmlDoc"}) );
×