Google Plus and the Bookmarklet
- JULY 12, 2011
- posted by Jesse R. Lucas
- 5
Blog / Code
The AS3 Date object has some really great features, but you can definitely overlook some details that will get you steamed.
Let me start with some general background for those not familiar with dates in AS3. The Date object is not tied to some universal external web source (directly anyway); the runtime is getting the current date/time information from your OS.
So, if you change your computer’s t...Ran across an interesting bit of code while extending a GreenSock class today.
A while loop that used i— in the place of a conditional. Which honestly didn’t make a lot of sense to me at first. It seemed like the loop would run forever; decrementing i to negative 2147483648.
…code…
Kevin pointed out that, in fact, the while loop stops when i == 0 because 0 satisfies the conditional as false.
Here...Copyright 2012, Forest Giant, Inc