Posts Tagged ‘Actionscript’

25 lines

Check this out: there is always something to learn from simplicity. http://www.25lines.com/

ActionScript VQS Errata – Page 140 Typo – Code 10.3 Correction

Thanks to Jason of http://www.jasonhildredesign.com for bringing a code error from Code 10.3 on Page 140 to my attention. For the textFocus event handler function, the event object should be a FocusEvent object and not a MouseEvent object. The correct code should read: function textFocus(evt:FocusEvent):void {    evt.target.text = ‘ ‘; } Cheers, Derrick

ActionScript VQS Errata – Page 154 Typo – To generate random numbers

Thanks to Karen Collins of the University of Waterloo for finding a typo on page 154, To generate random numbers – Step 1. The code sample trace(‘pseudoRandomNumber; “ + pseudoRandomNumber); should read: trace(‘pseudoRandomNumber; ‘ + pseudoRandomNumber); The string pseudoRandomNumber ends in a double-quote and should end with a single quote (in bold). Cheers, Derrick