$(document).ready(
function() {
jQuery('#tabs').tabs();
var params = parseQueryString();
var user = params["user"]
$('#tab-5').flash({swf:'swf/flash.swf',height:525,width:928,wmode:'transparent',flashvars: { pma3 : user}});
}
)
AS3
import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.net.navigateToURL;
import flash.external.ExternalInterface;
click_btn.addEventListener(MouseEvent.MOUSE_UP, onClick);
click_btn.buttonMode = true;
function onClick(e:MouseEvent):void {
var pmaUser:String = root.loaderInfo.parameters.pma3;
var myURL = pmaUser;
ExternalInterface.call("console.log", myURL);
if(pmaURL) {
navigateToURL(new URLRequest(myURL), '_blank');
}
}