Hello. I am planning to create a drawing game with ActionScript 3. Here's my idea. I will create some buttons with color, i.e., red, blue, green, yellow and white. When I click one of them, I can start drawing with the color I choose on the stage. Also, I will crate an eraser button, so once someone finishs her/his drawings, you can clean the stage and start over.
This is something I thought about it may work, but obviously, it doesn't work...
Does anyone kindly help me what I am doing wrong? I appreciate your help!
//create a button, instance name is redButton
var newLine1:Shape = new Shape();