Flash常用功能代碼

flash 做那種彈出的小窗口

分兩步:
   
flash中的按鈕加入如下action:      

  HTML頁面的...之間加入下面的javascript代碼.

 

如何使得flash一打開就是全屏?

  fscommand("fullscreen",true)


如何不能使用右鍵?

   fscommand ("showmenu", "false");

 

設爲首頁:

on (release) {
    getURL("javascript:void(document.links.style.behavior='url(#default#homepage)');

    void document.links.setHomePage('http://www.flash8.net/')", "_self", "POST");
}

注意要將網頁中的flashID號命名爲"links"

加入收藏夾:

 on (release) {
    getURL("javascript:void window.external.AddFavorite('http://www.163.com','
網頁');", "_self", "POST"); 
 }

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章