/ Published in: ActionScript 3
Grabs the flashvar parameter from the HTML called "filepath" or whatever you want.
Expand |
Embed | Plain Text
The HTML should have something like: <param name="flashvars" value="filepath=assets/swfs/preloader.swf" /> And you AS3 File needs: import flash.display.LoaderInfo; LoaderInfo(this.loaderInfo).parameters["filepath"]
You need to login to post a comment.
