Nice pie on the face from Tim.
I tell you, this is what you get for programming at the framework level.
callLater() is evil...
;-)
Mike
On Fri, Sep 19, 2008 at 1:06 PM, Tim Hoff <[EMAIL PROTECTED]> wrote:
> *
>
> private
> * *function* effectEndHandler():*void* {
> callLater(showBox);
> }
>
> *private* *function* showBox():*void*{
> mainImgBox.visible = *true*;
> }
> -TH
>
> --- In [email protected], "[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;
> > }
> >
>
>
--
Teoti Graphix, LLC
http://www.teotigraphix.com
Teoti Graphix Blog
http://www.blog.teotigraphix.com
You can find more by solving the problem then by 'asking the question'.