The same if() logic applies in ActionScript as well. I've been caught by this one before:
If (“0”) is true If (0) is false -Alex On 6/1/17, 12:44 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote: >Ahh So much love to JS :) > > > >----- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this message in context: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle >x-development.2333347.n4.nabble.com%2FRe-4-7-git-commit-flex-asjs-refs-hea >ds-develop-use-and-rather-than-and-tp61973p61989.html&data=02%7C01%7C%7C22 >cfd0bede6a41d1933a08d4a8c42732%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0% >7C636319007813353831&sdata=y%2FSeXdup7oujotDJEs6mCgpHfAozVShYCb%2B8NbRz4cg >%3D&reserved=0 >Sent from the Apache Flex Development mailing list archive at Nabble.com.