ActionScript 2.0 :: Drawing Board How To Add Text, Shapes

Oct 17, 2006

(MX2004)I have made a 'whiteboard', users can draw on it, change width of pen, clear it.

I need to:

1. allow users to add text as well as lines

2. allow them to add a circle or a square

3. clear last stroke/shape

4. save the drawing

5. email it or print it

View 9 Replies


Similar Posts:


ActionScript :: Library For Drawing Resizing Moving Shapes And Text?

Nov 6, 2011

I know Sprite.graphics is pretty easy to use, but I was wondering if there is any ready made libraries for drawing, resizing, moving, layering, etc.. of various display elements? Also, stuff like tool selection, maybe some effects, premade shapes. Anything you would recommend?

View 1 Replies

ActionScript 2.0 :: Drawing Board Thing?

Nov 19, 2005

I found this tut http:[url]...and wat i want to do is have thing like Flash.I know how to make the lines thicker but i need when you click the button the lines turn thicker like the As changes.

View 9 Replies

ActionScript 2.0 :: How To Disable Drawing Board

Mar 10, 2012

Upon hoping to the frame with the drawing board actionscript on it, i've successfully created the erase button to remove all the drawings made, but then i also have a 'HOME' button that takes me back home. BUT the drawing board actionscript is still active even on the HOME frame. +On the home button i've added in the clear(); function to also remove the drawing. Either way this still does not remove the drawing board actionscript. How do I completely disable the drawing board actionscript upon clicking home? but still be able to reactivate it when I'm on the frame again.

[Code]...

View 1 Replies

ActionScript 2.0 :: Drawing Board Stop Draw?

Jun 14, 2004

This code is from a drawing board, the problem is:

1- When you click outside the drawing area, a dot is drawn (thus you cant click anything except inside drawing area because it will result in undesired dots)

2- When you drag outside the drawing area the dot is drawn (bad), the pencil doesn't draw (good), but if you drag until reaching the drawing area draws (undesired, because it should only draw when you started to drag from inside the drawing area) how to tweak the code or simple add a "deselect" tool option ? That's a link to the fla file ziped, and that's the code of the drawing board: [URL]

Code:
_root.P = 0;
_root.level = 1000;
_root.tmpx = -1;

[code]...

View 6 Replies

ActionScript 2.0 :: Change Drawing Board Pen Color?

Mar 19, 2005

I'm making a drawing board and i want users to be able to press colors on my swf to be able to change the colour of the pen how can i do this?

if you dont know what i mean just check a paint package out and look at how you chose your colour thats what i want to do?

View 7 Replies

ActionScript 2.0 :: Drawing Board Undo Last Pen Line?

Aug 5, 2005

i'm currently devolping a drawing board out of flash but i was wondering instead of erasing all the pen lines drawn just the last pen line drawn,im using kirupa drawing board tut for the all erase just stuck to gewt the last line erase done

View 9 Replies

ActionScript 2.0 :: Setting Drawing Board Boundaries?

Dec 12, 2006

I used Kirupa's drawing board tutorial, but when I finished making the flash file I wondered if there was a way to limit where the viewer can draw. For example, on his tutorial he shows you how to create an easy erase button. Well, what if I don't want the viewer to be able to draw on the button. Is there a way to specify the area that you want the viewer to be able to draw on? I tried making the space a movie clip and just adding the actionscript to the movieclip, but when I placed the movie clip inside a bigger flash file it wouldn't let me draw at all. I thought making it a movie clip would then limit the drawable area. Did I do a good enough job explaining my problem? I just want to be able to limit where the viewer can draw, so that the viewer can't get wild and draw all over the buttons and controls.

View 1 Replies

ActionScript 2.0 :: Drawing Board - How To Get Color Selector

Jan 16, 2008

I have put a drawing board on my application, but I cannot figure out how to get a colour selector..? 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.getNex tHighestDepth());
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;
}

View 1 Replies

ActionScript 2.0 :: Drawing Board Stop Draw

Jun 14, 2004

This code is from a drawing board, the problem is:

1- When you click outside the drawing area, a dot is drawn (thus you cant click anything except inside drawing area because it will result in undesired dots)

2- When you drag outside the drawing area the dot is drawn (bad), the pencil doesn't draw (good), but if you drag until reaching the drawing area draws (undesired, because it should only draw when you started to drag from inside the drawing area)[code]...

View 6 Replies

ActionScript 2.0 :: Changing Drawing Board Pen Colour?

Mar 19, 2005

im making a drawing board and i want users to be able to press colours on my swf to be able to change the colour of the pen how can i do this? if you dont know what i mean just check a paint package out and look at how you chose your colour thats what i want to do?

View 9 Replies

ActionScript 2.0 :: Changing Color In A Drawing Board?

Feb 21, 2005

in a flash drawing board... how do i get it to change color of the pen... i know how to draw.... but not how to change color

View 3 Replies

Flash :: Drawing Board In Professional CS 5.5 Installed Or An Extension?

Sep 20, 2011

Is there a drawing board in Flash Professional CS 5.5 installed or an extension? I want to use it to display a text string, and the user would be able to draw above the text. For example I could display a question and the user would be able to circle the right answer. Is it possible?

View 1 Replies

ActionScript 2.0 :: Drawing Board - User Can Only Draw On Specified Area?

Jul 14, 2004

I need to know how to script the drawing board as in the user can only draw on a specified area. For example, on a 800x600 layout, only 1/4 of it is the drawing board.After the user has drawn the image, when he/she clicks on a button, the image will be replicated on another area in the same 800x600 space. So far, I can only manage to make a drawing board on the whole 800x600 space and erasing.

View 2 Replies

Flex :: Create A Simple Drawing Board/whiteboard Functionality?

Jun 17, 2009

How do I create a simple drawing board/whiteboard functionality in Flex ?

View 2 Replies

Flex :: Creating Simple Live Drawing / White Board Application?

Jul 9, 2010

How do I create a simple live drawing board/whiteboard functionality using flash as3, and flash media server 3.5.

View 1 Replies

ActionScript 2.0 :: Get The Pattern Drawn On The Drawing Board To Be Repeated On Another Area Of The Stage

Jul 15, 2004

This time round i need to get the pattern drawn on the drawing board to be repeated on another area of the stage.I need it to be repeated 4x4 tile.

View 1 Replies

Flex :: Drawing Lines Between Shapes?

Jan 24, 2011

I have one left panel in which there are different shapes like start,end connectors..... when i drag line image inside canvas i want to draw line/connector between two shapes how would i do it

View 1 Replies

Actionscript :: Drawing Shapes In Flex?

Feb 9, 2011

I want to develop an image editing application in Flex 4. My initial requirement is to draw various shapes like Line, Rectablge, Triangle, Circle, Star etc in appication. I want to facilitate user to draw shapes using rubber banding like professional applications do.

All shapes would be vector and should look smooth in an size. So, can't use bitmap and scale them.

What are better methods to achieve this?

View 2 Replies

ActionScript 3.0 :: Drawing Shapes At An Angle?

Dec 29, 2009

I have a code, that draws a horizontal line, then it turns into a slope, and at the end of the slope it draws a circle. Here's a code:

Code:
var xspeed:Number = 1; // defines increments for x of slope
var yspeed:Number = 2; // defines increments for y of slope
var hspeed:Number = 5; // horizontal line increments

[Code]....

Create document 800x700 and put this code into main timeline. Now test movie As you can see, everything works great. But there is a problem. The circle is being drawn at 0 degree angle. But I want the circle to match the angle of the slope, so it looks like the slope and the circle are both at the same angle.

View 1 Replies

Tween Between Two Shapes Created With Drawing Ap?

Jul 11, 2009

I have 2 shapes drawn with the drawing api - the points are stored in an array like this...

private var shape_points : Array = [ [81,61],[81,46],[84,43],[84,0],[11,0],[0,5],[0,48],[69,48],[81,61 ] ];

Both shapes have the same number of points. I need to tween the points from one shape to the other using tweenlite/max or tweener.

View 1 Replies

ActionScript 2.0 :: Animating The Drawing Of Shapes?

Oct 23, 2003

If I want to draw the stroke of a square just using actionscripting, I can (i.e moveto()).That will just show the stroke of a square as soon as I play the .SWF file.Let's say I want to animate the drawing of the stroke of a square from one point to the next. This way when I play the .SWF file, it will show the square being made. How would I go about doing so?

View 2 Replies

IDE :: CS4 Tutorial : Drawing Shapes In Flash?

Aug 24, 2010

This thread is designed to help collect discussion on the Drawing Shapes in Flash tutorial.

View 1 Replies

Flash :: Drawing Outlines Around Organic Shapes

Mar 21, 2010

One thing that seems particularly easy to do in the Flash IDE but difficult to do with code is to outline an organic shape. In the IDE you can just use the inkbucket tool to draw a stroke around something. Using nothing but code it seems much trickier. One method I've seen is to add a glow filter to the shape in question and just mess with the strength. But what if i want to only show the outline?What I'd like to do is to collect all of the points that make up the edge of the shape and then just connect the dots. I've actually gotten so far as to collect all of the points with a quick and dirty edge detection script that I wrote. So now I have a Vector of all the points that makeup my shape. How do I connect them in the proper sequence so it actually looks like the original object?[code]

View 1 Replies

Actionscript 3 :: Drawing A Connector Line Between Shapes?

Mar 24, 2010

I am building a diagramming tool using Adobe Flex 3. I am about to implement connector lines and I have a question.

Imagine I have 2 squares at random positions on the canvas. I need to draw an arrowed connector line between them. I need it to tend to the target square's center but end on its border.

How do I find out the exact points between which to draw the line?

View 3 Replies

Actionscript 3 :: Drawing Shapes In Flex 4 Addchild?

Mar 31, 2010

I am simply trying to draw a rectangle inside of a panel using flex4. I am using spark instead of mx. It complains about addchild being replaced by addelement; however, addelement expects type ivisualcomponent. I think sprite should be of that type; however, it reports an error when trying to use the below code... I have tried a few different ways. I think I am missing something very basic about flex 4.

[Code]...

View 3 Replies

ActionScript 3.0 :: Tween Between Two Shapes Created With Drawing Api?

Jul 10, 2009

I have 2 shapes drawn with the drawing api - the points are stored in an array like this...

Code:
private var shape_points : Array = [ [81,61],[81,46],[84,43],[84,0],[11,0],[0,5],[0,48],[69,48],[81,61 ] ];

Both shapes have the same number of points. I need to tween the points from one shape to the other using tweenlite/max or tweener.

View 1 Replies

Actionscript 3.0 :: Tween Between Two Shapes Created With Drawing Api

Jul 10, 2009

I have 2 shapes drawn with the drawing api - the points are stored in an array like this... Code: Select allprivate var shape_points : Array = [ [81,61],[81,46],[84,43],[84,0],[11,0],[0,5],[0,48],[69,48],[81,61 ] ]; Both shapes have the same number of points. I need to tween the points from one shape to the other using tweenlite/max or tweener.

View 1 Replies

ActionScript 3.0 :: Drawing Shapes So That Anything Inside Gets Deleted

Aug 7, 2010

I want to draw lines to make a region so that anything inside that region is deleted. The Case : You could say that there are many movieclips in stage but when I just selected by drawing circle or something even complex shape to it purposely then anything inside that shape is just gone.

View 3 Replies

ActionScript 2.0 :: Make A Drawing Board(like Colouring Book) Where When Click And MOVE THE MOUSE It Colours The Object?

Jun 14, 2006

i am trying to make a drawing board(like colouring book) where when i click and MOVE THE MOUSE it colours the object(more like a brush and not as a paint bucket)i would like to know how to colour objects individually(without coloring background) and the most IMPORTANT is there any way to detect what percentage of object had been colored(like if 100% of object coloured something happens!)

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved