Switch/case is a bit quicker. On Wed, Jun 25, 2008 at 10:12 AM, Allandt Bik-Elliott (Receptacle) < [EMAIL PROTECTED]> wrote:
> Hi guys > > quick question that came up in a conversation I had the other day - are > switch statements more or less efficient than a series of if...else > statements in either AS2 or AS3? > > I'd always thought that the most efficient was the switch > > al.z > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders