im using this simple code for my drawing board on flash mx 2004.
stop();
_root.createEmptyMovieClip(“line”,1);
_root.onMouseDown = function(){
line.moveTo(_xmouse,_ymouse);
line.lineStyle(5,000000,100);
this.onMouseMove = function(){
line.lineTo(_xmouse,_ymouse);
updateAfterEvent();
}
}
this.onMouseUp = function(){
this.onMouseMove= null();
}
I want it to only work on one frame but when u go to another frame you can still draw. ill post my flash that i am making so u will understand(USE PAINT FIRST).
http://www.putfile.com/media.php?n=gatesv111
please help and thx:)
im also a begginer to flash and actionscript so my game/interactivity isnt the greatest