【MC附加的层问题】
this.attachMovie("元件3","mc3_1",this.getNextHighestDepth()); //加到当前场景
------------------
【Flash里打开Html对话框】
on (release) {
getURL("javascript:NewWindow=window.open(\'http://www.RiaHome.cn\',\'_blank\',\'width=480,height=200,left=400,top=200,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No\'); NewWindow.focus(); void(0);", "");
}
------------------
【解决中文乱码】
System.useCodepage = true;
------------------
【间隔函数】
setInterval()
在播放 SWF 文件时,每隔一定的时间,就调用函数、方法或对象。可以使用间隔函数更新来自数据库的变量或更新时间显示。
function a(arg) {
arg = random(10);
trace(arg);
}
setInterval(a, 10,[函数a的参数]);
---------