Siempre que intenté hacer eso, terminé haciendo esto otro: abrí el fla, coloqué un botón invisible y le asigné el evento a ese botón:
Código PHP:
nombreInstancia.onPress=function(){/*lo que sea aquí.*/}
Y en lo que sea aquí:
Código PHP:
getURL("páginadestino","target");
o
Código PHP:
getURL("javascript:mifuncionjavascript();");
o
Código PHP:
getURL("javascript:window.open('algundestino');void(0);");