That's the real source of sloppiness, Java has eliminitaed these
discussions by the simple expeditent of requiring that the conditional
resolves to a boolean, nothing wlse will do. THe real question to me
is does AS3 change this behavior?
Well, the Flash answer to this is that all conditionals are cast to
boolean, so if(condition) is effectively executed as if(Boolean(condition)),
which makes it work, but at the same time it makes it easy to be sloppy.
ryanm
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com