IEMobile Team Weblog

Information about Internet Explorer for Windows Mobile

Update to IE Mobile Adobe Flash support

We recently found out that the Adobe Flash player 7 for Pocket PC supports a direct call into the player by an activeX object via JavaScript.  This opens up a direct way for websites to verify if IE Mobile browsers have Adobe Flash installed and even its version.  

 

The activeX object only takes two lines of code.  See example below.

 

<html>

<head>

<title>Flash Alert</title>

</head>

<body>

<script language=javascript>

axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");

axo.GetVariable("$version");

alert(axo.GetVariable("$version"));

</body>

</html>

Published Tuesday, February 06, 2007 6:56 PM by iemoblog
Filed under: , ,
Anonymous comments are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker