Jump to content
Search Community

Search the Community

Showing results for tags 'recursiveprependurls'.

  • 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 can't get recursivePrependURLs to work for me. I have additional XMLLoaders in an xml file I'm loading. The main xml file is getting loaded but none of its children are, their URLs are not being updated. var relativePath:String = "/"; LoaderMax.activate([xmlLoader]); var queue:LoaderMax = new LoaderMax({name:"mainQueue", onComplete:loadFilesComplete}); var xmlLoader:XMLLoader = new XMLLoader("assets/xml/config.xml", newXMLLoaderVars().name("configXML").recursivePrependURLs(relativePath)); queue.append( xmlLoader ); queue.prependURLs(relativePath); queue.load(); and here is my xml: <config> <settings stageWidth="800" stageHeight="600" /> <XMLLoader name="tips and hints XML" url="assets/xml/tips_and_hints.xml" load="true" estimatedBytes="10" /> <XMLLoader name="items" url="assets/xml/items.xml" load="true" estimatedBytes="10" /> <XMLLoader name="careers" url="assets/xml/careers.xml" load="true" estimatedBytes="10" /> <XMLLoader name="origin comic" url="assets/xml/origin-comic.xml" load="true" estimatedBytes="10" /> </config> Am I doing something wrong? Cheers
×
×
  • Create New...