1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

为什么我的flash不能用javascript

Discussion in '前端开发' started by thisword, Apr 9, 2006.

  1. thisword

    thisword New Member

    Joined:
    Mar 1, 2006
    Messages:
    58
    Likes Received:
    0
    thiswordik8.ik8.com/ietest.html

    我在flash里面放了一个按钮bb写
    bb.onPress=function(){
    getURL("javascript:moveWindow()","_self";
    }
    然后发布出来在htm的bodyl里面写
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function moveWindow() {
    moveTo(0,0);
    }
    // End -->
    </script>

    怎么不行呀! 大家帮手看看哦.谢谢
     
  2. thisword

    thisword New Member

    Joined:
    Mar 1, 2006
    Messages:
    58
    Likes Received:
    0
    我用的是XP,IE6.02
     
  3. swenge

    swenge New Member

    Joined:
    Nov 28, 2005
    Messages:
    386
    Likes Received:
    1