Viewer drawing

Alright, I want to make it so that the person watching the movie can draw in an area i designate, anyone have an idea how to pull this off? im not sure myself and would like to know if anyone could help out. Kind’of like www.youdraw.com but of course using flash instead java or whatever it is they’re using.

thanks

tell me if this is what you mean:

http://mitsuwaguy.tripod.com/dd.html

If this is what you want to do, than send me an email and i’ll email you the FLA.

http://www.kirupa.com/developer/actionscript/drawingboard_flash5.asp

like the tripod one but i plan to make it like a message board and the viewer uses this to draw with.

This is excellent, I’ve been looking for just this application. I need to know if anyone can direct me to a tutorial that would also allow to draw a circle, or perhaps what kind of mods can be done to this tutorial to add that capability.

*Originally posted by Jubba *
**http://www.kirupa.com/developer/actionscript/drawingboard_flash5.asp **

You mean something like a circle tool?

pom :asian:

Yes, that’s right. A very simple drawing application, where you can draw straight lines & circles.

*Originally posted by ilyaslamasse *
**You mean something like a circle tool?

pom :asian: **

Sure you want this with Flash 5? :frowning:

pom :asian:

Well, not sure. I want to have a web-enabled drawing application. Simple, not too sophisticated. Can you recommend a different techology that can also be web-enabled?

*Originally posted by ilyaslamasse *
**Sure you want this with Flash 5? :frowning:
**

Oh no, I just meant it would be easier with Flash MX, that’s all… It depends on what version you have.

pom :asian:

Putting this code in the first frame of your animation will allow you to drag circles on the scene. Fun!

MovieClip.prototype.drawCircle = function(r, x, y){
		this.moveTo(x+r, y);
		this.curveTo(r+x, -0.4142*r+y, 0.7071*r+x, -0.7071*r+y);
		this.curveTo(0.4142*r+x, -r+y, x, -r+y);
		this.curveTo(-0.4142*r+x, -r+y, -0.7071*r+x, -0.7071*r+y);
		this.curveTo(-r+x, -0.4142*r+y, -r+x, y);
		this.curveTo(-r+x, 0.4142*r+y, -0.7071*r+x, 0.7071*r+y);
		this.curveTo(-0.4142*r+x, r+y, x, r+y);
		this.curveTo(0.4142*r+x, r+y, 0.7071*r+x, 0.7071*r+y);
		this.curveTo(r+x, 0.4142*r+y, r+x, y);
}
_root.lineStyle(2,0x000000,100);
_root.onMouseDown=function(){
	x=_xmouse;
	y=_ymouse;
	}
_root.onMouseUp=function(){
	var dx=_xmouse-x;
	var dy=_ymouse-y;
	this.drawCircle(Math.sqrt(dx*dx+dy*dy),x,y);
}

pom :asian:

My final plan was to make something like that on www.youdraw.com but with flash and some basic drawing tools. Although im gonna make it more of a message board than anything else. If anyone would like to help me on this, please email me at [email protected]. Thanks again fellas

i had formatted my computer and was using a email proggy on it that i had the source saved in. could you resend it again please? thanks again

Hey Thank for your help. I’m a bit of a newbie, so I have one other question (general question). I would like to know how to scale a movie clip within a flash movie.

I know that doesn’t make much since, so here’s an example, I want to drag a movie clip that’s looks like an ARROW onto a field. I then want to scale the arrow to fit between two points. The arrow will be one size, and I want to allow the user to scale it up or down depending on the other elements in the file.

JB

hey, someone had sent me a source before but before i could back it up, my computer was virally infected and i had to format, whoever sent it, please send again to [email protected]

thanks fellas, soon as i finish everything i’ll toss a link up with the final product