I have a music player as a SWF file and I need help converting my static AS3 source paths:
var url :URLRequest = new URLRequest("images/logo.jpg");
var req:URLRequest = new URLRequest("click.mp3");
...into parameters that can be passed in from the HTML page. I'd like to do something like this:
<object width="480" height="270" data="soundplayer.swf" sound="click.mp3" image="logo.jpg"></object>`
The end result I am looking for is to specify the sound and image path within the HTML code instead of it being hard coded within my SWF file.