private function effectEndHandler():void { callLater(showBox); }
private function showBox():void{ mainImgBox.visible = true; } -TH --- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > I have this box which I want to wipe left to hide and then wipe right > to show. > It hides all right and then it called the effectEndHandler, but > mainImgBox.visible = true; does not do anything. There is no wipe right > and the box does not appear. what am I doing wrong ? > > > > <mx:VBox id="mainImgBox" hideEffect="{wipeLeft}" showEffect="{wipeRight}"> > <mx:Image id="mainImg" > source="@Embed(source='../media/jbh.jpg')" > /> > </mx:VBox> > > <mx:WipeLeft id="wipeLeft" duration="1000" > effectEnd="effectEndHandler()" /> > <mx:WipeRight id="wipeRight" duration="1000"/> > > private function effectEndHandler():void { > > mainImgBox.visible = true; > } >