PDA

View Full Version : Logic operators


flashmart
10-03-2006, 09:43 PM
Hello everyone. I'm doing an oral presentation tomorrow on the logic operators ( ||, && and !) in flash. I've seen somewhere that || could be replaced by "or" (without the ""), that && could be replaced by "and", etc but that macromedia does not recommend it. I was wondering why? Because I tested it and it still works but they say that since Flash5, it's no longer reommended to use the word instead of the symbols. Any ideas?

Thanks in advance and sorry for spelling mistakes, english is not my first language.

Cota
10-03-2006, 11:16 PM
as Flash progresses, certain functions and operators are being depreciated. Meaning, they are moving away from using them.

senocular
10-03-2006, 11:52 PM
ActionScript 3, for example, no longer supports or and and, only || and &&.

flashmart
10-04-2006, 04:29 AM
Thank you very much for this information :)