Hello,
I'm beginner to actionscript, I've defined following function in script tag of page
i want to call it from actionscript,
what i've already wrote is:
neither it shows the alert, nor calls the showMessage function,
reply
I'm beginner to actionscript, I've defined following function in script tag of page
Code:
<script type="text/javascript">
function showMessage(){
alert("javascript says: Hello ActionScript");
}
</script>
what i've already wrote is:
Code:
import flash.external.ExternalInterface;
on (press) {
//mx.controls.Alert.show("Hello, world!");
ExternalInterface.call("showMessage()");
}
reply
Comment