XML code:
<mx:Transition id="inBase" fromState="login_state" toState="">
<mx:Sequence duration="1000" targets="{[hbox1,hbox3,login,initComp]}">
<mx:RemoveChildAction target="{initComp}"/>
<mx:Zoom id="logZoom" target="{login}" zoomHeightTo="0" zoomWidthTo="0"
effectEnd="logZoom.reverse()"/>
<mx:RemoveChildAction target="{login}"/>
<mx:AddChildAction targets="{[hbox1,hbox3]}"/>
<mx:Move target="{hbox3}" xfrom="-314"/>
<mx:Glow id="lg" target="{logo}" blurXfrom="150" blurXTo="0"
blurYfrom="150" blurYTo="0" color="white" inner="true"/>
</mx:Sequence>
</mx:Transition>
以上是一个我的登陆动画效果,但是 当登陆界面消失后,总是会先显示 主界面,然后才开始动画,我把addchildaction放到move的下面 结果动画就没有了,,请问高手 这是怎么回事啊?
加个时间事件监听,把主界面延缓一下,试试看。
我是按 http://hi.baidu.com/dapao98301/blog/item/eff43ed557b44509a08bb75f.html 给我的提示做的,现在总是
<mx:RemoteObject id="getData" destination="dataService1" res ......