Jump to content
GreenSock

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

ruh

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Newbie

About ruh

  • Rank
    Newbie
  1. var queue_xml:XMLLoader = new XMLLoader("imgs/digitals.xml", {name:"digitalsXML", maxConnections:1, estimatedBytes:5000, onChildComplete:imageCompleteHandler, onComplete:queueCompleteHandler}); queue_xml.load(); var img_xml:XML = new XML; //<NEW CODES> var kw:uint = new uint; var kh:uint = new uint; var twx:uint = new uint; var twy:uint = new uint; //</NEW CODES> function imageCompleteHandler(event:LoaderEvent):void { addChild(event.target.content as ContentDisplay); img_xml = LoaderMax.getLoader(event.target.name).vars.rawXML; //<NEW CODES> kw = img_xml.@kw; kh = im
  2. thanks, i tried fitwidth but same result. im using gs v11.
  3. hi, thank you for this great and useful tool. my xml: <data> <ImageLoader name="digital_01" url="imgs/digital_01.jpg" centerRegistration="true" width="640" height="400" twx="342" twy="391" kw="230" kh="200" load="true"/> <ImageLoader name="digital_02" url="imgs/digital_02.jpg" centerRegistration="true" width="734" height="400" twx="594" twy="389" kw="215" kh="192" load="true"/> </data> as3: var queue_xml:XMLLoader = new XMLLoader("imgs/digitals.xml", {name:"digitalsXML", maxConnections:1, estimatedBytes:5000, onChildComplete:imageCompleteHandler, onC
×