+ -
当前位置:首页 → 问答吧 → 请问各位,fscommand里面能使用变量么?

请问各位,fscommand里面能使用变量么?

时间:2011-03-19

来源:互联网

像下面这样的代码,里面的19是flash里面的变量zid,请问怎么修改可以按变量格式输出呢?
on (press) {
fscommand ("", "map19.style.display='none'");
}

作者: sumsup   发布时间: 2011-03-19

自己搞定了,

on (press) {
var map19= "map19.style.display='none'"
fscommand ("send_var",map19);

}

作者: sumsup   发布时间: 2011-03-19