大师帮助怎么在flex程序中现实插入一个延长时间呢?
import mx.controls.Label; import mx.containers.VBox; import mx.managers.PopUpManager; private var vbopenoff:Boolean=false; private var vboxrs:VBox=new VBox(); private function openvbox():void { vbopenoff=true; if(vbopenoff){ vboxrs.removeAllChildren(); var textrs:Label=new Label(); textrs.text="gaowena"; vboxrs.addChild(textrs); PopUpManager.addPopUp(vboxrs,this,false); movtophed(vboxrs,200,1500); } } //如下是我的问题处 private function corso():void { if(vbopenoff){ movtophed(vboxrs,-200,1500);//问题:我点corso是关上前面打开的vboxrs,这里看不到movtophed执行效果,请问在这里怎么现movtophed完整执行后再执行PopUpManager.removePopUp PopUpManager.removePopUp(vboxrs); } } import mx.effects.Move; import mx.effects.easing.*; //移动特效上要用到的 //往上移动效果 private var moverss:Move; private function movtophed(boxid:Object,yby:int,duration:int):void { moverss=new Move(); moverss.end(); moverss.target=boxid; moverss.yBy=yby; moverss.duration=duration; moverss.play(); }-------------------------<mx:LinkButton label="open" click="openvbox()"/><mx:LinkButton label="coros" click="corso()"/>