Hello to all,
well i have been with flash for about one year now, mostly not using it’s full potential of action scripting and just using it as a frame by frame editor for 3D effect’s or to make a few sites.
I’ve been using a lot of the tutorials from kirupa.com and stumbled upon the DrawingBoard and gave a shot at making my own in MX 2004. so far i have this for my code for each of the styles (20 in all)
on (press, keyPress “1”) {
_root.lineStyle(1,0x000000,100);
}
that is for my small black line and it goes all the way up to size ten (that one is size one) and there are 2 color’s green and black ( I had 4 total but it got annoying) each size is assigned to a key ; as you can see black with a thickness of one is assigned to key ‘1’and size 10 for black is 0 and size ten for green is ‘p’, 1 for green is ‘q’ and 5 for green in ‘t’ and so on.
i have a little panel on the left that is like a message window that houses 20 buttons, just incase they don’t want to press the key’s the window is collapsible, all that works. one thing that i cant get right is the clear button, I will up load my file as soon as I am on my computer ( yes I actually did remember that script). another question that i have is that is there a way to have a fill option?
I forgot why I am posting well the thing is that I don’t mind having the sizes and color’s assigned to the keys but it would be even better if I could have a numericstepper component (is that right?) so that i can chose the size there and make it a variable that will replace the ‘1’ in the code above. I have tried but for some reason it won’t work. also is there a way for there to just be color boxes on the side and once you click on them it changes the color of the brush, i am/was really frustrated at it because for some reason it wont work, i will send the file over first thing i can, possibly tomorrow around mid-day.
Thanx,
-Lato
wow, long post…