Ok this is my code for my Paint Program.
stop();
_root.createEmptyMovieClip(“line”,1);
_root.onMouseDown = function(){
line.moveTo(_xmouse,_ymouse);
line.lineStyle(5,0xFF0000,100);
this.onMouseMove = function(){
line.lineTo(_xmouse,_ymouse),
updateAfterEvent();
}
}
this.onMouseUp = function(){
this.onMouseMove = null();
}
orange.onPress = function(){
line.lineStyle(5,0xFFCC99,100);
}
Notice the last 3 lines
orange.onPress = function(){
line.lineStyle(5,0xFFCC99,100);
}
I have different buttons with different colors. the button it is refereing to there is the orange button. but this is what dont work with this.
…When you click the orange button u have to hold down the button and then drag ur curser to where u want to paint with the color orange. this makes a big gash of color orange from the orange button to where you are painting. HOW CAN I FIX THIS!!!
THX in ADVANCE