【发布时间】:2013-03-28 15:34:07
【问题描述】:
如何在 AS3 中设置屏幕宽度(例如)值的范围? 我的意思是我有这段代码:
var myBounds:Rectangle=this.getBounds(stage);
if ((myBounds.width>650)&&(visibleArea.intersects(myBounds)))
{
if(this.currentFrame==1)
this.play();
}
else
{
this.gotoAndStop(1);
}
return;
我的电影只有在宽度超过 650 像素时才会开始。 我不知道如何设置一系列值,如下所示: 250<.width>
【问题讨论】:
标签: actionscript-3 prezi