thinkingarts (23) [Avatar] Offline
Cut and pasting code from the manual to a test app is made more difficult because the code snipets contain non std ascii characters. For example in 3.2.3 Updating with the debugger you have an example:

canvas.setAttribute(“bgcolor”, 0xCCCCCC);

to paste to the debugger evaluation window. However, the non standard quotes stop it working until they are reaplced with ascii quotes.
macewen (20) [Avatar] Offline
Re: Cut and pasting code
Right. We're aware of the variety of quotes but have left that to the copy editors to fix. Sorry for the bother in the MEAP version.
nklein (33) [Avatar] Offline
Re: Cut and pasting code
Yeah. I'm currently going through each chapter to correct this problem