Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Embedding a SWF file in a HTML5 with Edge not exactly working....

$
0
0
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title><script>

function Test() {
		alert("TEST");

}

 </script></head><body><object type="application/x-shockwave-flash" data="test.swf" width="550" height="400" name="movie_name" id="movie_name" align="middle">     <param name="movie" value="test.swf"/>   </object></script></body></html>

This is my webpage.

Next, in my AS3.0 file I call this function

ExternalInterface.call("Test");

Well, in Chrome this works, but in Microsoft edge it doesn't.

(I need T

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
  <script>
   
function Test() {
  alert("TEST");
  
}
 </script>
 
</head>
<body>
     
   
<object type="application/x-shockwave-flash" data="test.swf" width="550" height="400" name="movie_name" id="movie_name" align="middle">     
 <param name="movie" value="test.swf"/>   
</object>
</script>
</body>
</html>

Test() to be called btw, if it works, I'd have an alert that says "TEST"


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>