用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");
}
注意要將網頁中的flash的ID號命名爲"links"
加入收藏夾:
on (release) {
getURL("javascript:void window.external.AddFavorite('http://www.163.com','網頁');", "_self", "POST");
}