//库里个mc连接符为aa舞台上个按钮名字为pr_btn
this.createEmptyMovieClip("creat_mc", 999);
creat_mc.attachMovie("aa", "aa_mc", 1000, {_x:200, _y:200});
pr_btn.onPress = function
{
var prJobrJob = PrJob;
var isStartPr:Boolean = prJob.start;
(isStartPr)
{
prJob.addPage(_root, {prAsBitmap:true});
prJob.send;
}
delete prJob;
};
//提示打印那桢停哪桢PrJob类其他思路方法就不写了按f1自己看吧
////////////////////////////////////////////
2、outlook我电脑回收站等
//先在舞台上建个叫aa_btn按钮
_root.aa_btn.onPress = function
{
getURL("mailto:[email protected]");
//outlook必须放到服务器上使用本地无效
//链接[我电脑].swf放桌面上有效以下样
getURL("file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}");
//链接[我文档]
//getURL("file:///::{450D8FBA-AD25-11D0-98A8-0800361B1103}");
//链接[网上邻居]
//getURL("file:///::{208D2C60-3AEA-1069-A2D7-08002B30309D}")
//链接[控制面版]
//getURL("file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}");
//链接[回收站]
//getURL("file:///::{645FF040-5081-101B-9F08-00AA002F954E}");
};
/////////////////////////////////////////
3、flashjs
//就举个例子其他自己试吧大括号内写成行放网页上本地无效网页中高宽要全改为100%
aa_btn.onPress = function
{
getURL("javascript:NewWindow=window.open('http://www.webjx.com/flash/index.html','Win','width=660,height=480,left=0,top=0,toolbar=No,
location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus; void(0);");
};
////////////////////////////////////////////
4、设为首页:
on (release) {
getURL(";void document.links.HomePage('http://www.webjx.com/')", "_self", "OST");
}
注意要将网页中flashID号命名为"links"
加入收藏夹:
on (release) {
getURL(" window.external.AddFavorite(http://www.webjx.com,'网页');", "_self", "OST");
}
最新评论