Hi I have a function in javascript on the html

like:

<script type="javascript">

function openMyWindow(){
document.getElementByID(myWindow).setStyle(etc)
}

and I would like to use it from falsh something like this:

mybutton.addEventlistener(MouseEvent.CLICK, contactJavascript);

function contactJavascript(e:MouseEvent):void{

if (externalInterface.available){
externalInterface.call("openMyWindow()");
}

let me know if this could work at all.
I'm trying to find a google about it, but all seems so obscure
any help appreciated

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to