I'm having some trouble catching EI calls when using swfObject, anyone
else got this working?
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("display.swf", "mymovie", "200", "100", "7",
"#336699");
function sayHello(){
alert("hello");
}
so.write("flashcontent");
</script>
where display.swf has this:
testButton.onPress = function(){
ExternalInterface.call("sayHello");
}
no go for me :(
- A
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com