On Fri, Dec 11, 2009 at 3:49 PM, Dave Watts <[email protected]> wrote:

> > I have the following code:
> >
> > ...
> >
> >        //check the hands and stop when they reach the 40 frame
> >        public function checkFrame(e:Event):void
> >        {
> >            if (e.target.currentFrame == 40)
> >            {
> >            ...
> >            }
> >                if (e.target.currentFrame == 40)
> >            {
> >            ...
> >            }
> >        }
>
> This may not have anything to do with your problem, but why do you
> have two identical conditional tests, one right after the other?
>

Good point. I'll put everything in the first.
beno
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to