Object code Type : Object : HTML : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  HTML   » [  Object  ]   
 



Object code Type

Please note that some example is only working under IE or Firefox.

    
<html>
<head>
<script language="javascript">
    function function1() {
        var m = document.getElementById("myObject").codeType;
        alert("The value of codeType property is:\n"+m)
    }
</script>
</head>
<body>
<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="250" height="230" >
   <param name="movie" value="yourshockwavefile.swf">
   <param name="quality" value="high">
   <embed id="myObject" 
          src="yourshockwavefile.swf" 
          quality="high" 
          pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" 
          width="250" 
          height="230" 
          codeType="application/x-shockwave-flash">
   </embed>
</object>
</p>
<input type="button" value="Click here" onClick="function1();">
</body>
</html>

    
      
      
Related examples in the same category
1.  Object's object
2.  Object data
3.  Object Block Formats 'Count'
4.  Object declare
5.  Object 'plugins page'
6.  Object 'standBy' Example
7.  Object Parameter type
8.  Object Parameter value
9.  Object Parameter value Type
10.  'codeBase' Example
11.  'classid' Example
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.