javascript中如何循环打出一个ActiveX对象的所有方法和属性?
在html页面中注册了一个别人写的ActiveX对象,通过调用javascript语句,打印出该对象的所有方法和属性,怎么做?
------解决方案-------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN ">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME= "Generator " CONTENT= "EditPlus ">
<META NAME= "Author " CONTENT= " ">
<META NAME= "Keywords " CONTENT= " ">
<META NAME= "Description " CONTENT= " ">
</HEAD>
<BODY>
<table width= "100% " border= "0 " cellspacing= "0 " cellpadding= "0 ">
<tr>
<td>
<b> 在线音乐点播 </b> </td>
</tr>
</table>
<br>
<table align=center style= "font:9pt ">
<tr>
<td> <object classid= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 " id= "MediaPlayer1 " width= "286 " height= "225 ">
<param name= "AudioStream " value= "-1 ">
<param name= "AutoSize " value= "-1 ">
<!--是否自动调整播放大小-->
<param name= "AutoStart " value= "-1 ">
<!--是否自动播放-->
<param name= "AnimationAtStart " value= "-1 ">
<param name= "AllowScan " value= "-1 ">
<param name= "AllowChangeDisplaySize " value= "-1 ">
<param name= "AutoRewind " value= "0 ">
<param name= "Balance " value= "0 ">
<!--左右声道平衡,最左-9640,最右9640-->
<param name= "BaseURL " value>
<param name= "BufferingTime " value= "15 ">
<!--缓冲时间-->
<param name= "CaptioningID " value>
<param name= "ClickToPlay " value= "-1 ">
<param name= "CursorType " value= "0 ">
<param name= "CurrentPosition " value= "0 ">
<!--当前播放进度 -1 表示不变,0表示开头 单位是秒,比如10表示从第10秒处开始播放,值必须是-1.0或大于等于0-->
<param name= "CurrentMarker " value= "0 ">
<param name= "DefaultFrame " value>
<param name= "DisplayBackColor " value= "0 ">
<param name= "DisplayForeColor " value= "16777215 ">
<param name= "DisplayMode " value= "0 ">
<param name= "DisplaySize " value= "0 ">
<!--视频1-50%, 0-100%, 2-200%,3-全屏 其它的值作0处理,小数则采用四舍五入然后按前的处理-->
<param name= "Enabled " value= "-1 ">
<param name= "EnableContextMenu " value= "-1 ">
<!-是否用右键弹出菜单控制-->
<param name= "EnablePositionControls " value= "-1 ">
<param name= "EnableFullScreenControls " value= "-1 ">
<param name= "E