Flash to JavaScript 
Example Using ActionScript getURL()