16素材网
导 航
首页 > 教程中心 > Flash教程

flash右键菜单代码

 
function url1()
{
    getURL("http://www.lvmeng.cn", "_blank");
} // End of the function
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
baifenshu = int(loaded / total * 100);
baifenbi = baifenshu + "%";
setProperty("jindutiao", _xscale, baifenshu);
var expandmenu = new ContextMenu();
expandmenu.hideBuiltInItems();
var $tab1 = new ContextMenuItem("一流素材网", url1, true, true, true);
expandmenu.customItems.push($tab1, $tab2, $tab3, $tab4, $tab5, $tab6);
expandmenu.onSelect = menuHandler;
_root.menu = expandmenu;
提示:图片质量较高,请在WIFI下浏览。