Ok, ok I'm clearly outnumbered here - waving white flag :-)

And the approach Daniel demonstraded (similar to what Martin outlined) is
indeed very elegant and succint.

When the actions to take (depending on which combination 'is the case') are
rather complex, requiring several lines of code, imo the immediately
readable 'string-based' switch still has its merits in terms of
readability/managability, but I won't insist - up to Eric to pick the one
that best matches the needs of his project.

Cheers!
--------------
Andreas Weber
motiondraw.com



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ben
Smeets
Sent: Thursday, January 26, 2006 8:19 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] checking combinations


What he said :) Without kidding, using the binary type of variable
values and checking what the resulting value is, is the way we do it.
Don't ask me how it works, but it does :) (just to help pointing in the
right direction)


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to