ACTIONSCRIPT 2.0:
I have put a drawing board on my application, but i cannot figure
out how to get a colour selector…? Any ideas on this?
Another problem with this, is that when the page is selected i can draw
out of the board, and also when i navigate to another page i can
continue to draw on other pages (not good!)…
Heres the script:
**this.createEmptyMovieClip(“drawing_mc”,this.getNextHighestDepth());
this.onMouseDown = function() {
drawing_mc.lineStyle(10,0x000000);
drawing_mc.moveTo(_xmouse,_ymouse);
onMouseMove = function() {
drawing_mc.lineTo(_xmouse,_ymouse);
}
}
this.onMouseUp = function() {
onMouseMove = noLine;
}**