/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var path:String = loaderInfo.url.substring(0,loaderInfo.url.lastIndexOf("."))+".xml"