ActionScript 3.0 :: Make A Eraser Tool?

Nov 11, 2010

I simulate a pencil tool in my application, now i want simulate a eraser tool, but no success. how can i eraser that lines draw by pencil in as 3? i try removeChildAt(0); it work's but all draw is erased. [code]...

View 1 Replies


Similar Posts:


ActionScript 1/2 :: Make A Custom Eraser Tool Using Flash?

Sep 26, 2010

I did make a eraser tool. But once I begin to erase a layer, the background layer is visible. I want the layer just below the topmost layer to be visible.
 
For eg consider 2 layers. Layer2 is above Layer1. When I perform erase on Layer2, I see the stage background. I want to actually see Layer1 when I erase from Layer2.
 
Here is the code I used: The comment entry shows that, I have tried that possiblity.
 
import flash.display.BitmapData; 
var linkageId:String = "myimage";
var myBitmapData:BitmapData = BitmapData.loadBitmap(linkageId);

[Code]...

View 3 Replies

Professional :: Stuck On Eraser Tool

Mar 13, 2010

Mac OS 10.4.11; Flash CS3.I cannot change the tool any more. It's stuck on the eraser. It doesn't erase anything, but I can't change it to another tool.I uninstalled Flash, preferences and all, and re-installed it, but the problem persists. Interesting is, my customized workspace is still there, even though I had all preferences and anything else that has the name "Flash" deleted.At the same time the computer opens both CD trays when booting up. Never did that before. So I re-installed the OS, but that didn't help either.

View 1 Replies

ActionScript 3.0 :: Eraser In Drawing Tool

Jul 4, 2011

I have a requirement to create a drawing tool. I have completed till where on mouse down i can draw and on mouse up i stop the drawing. Now i want a eraser in place; something very similar to what is there in paint. So on mouse down of the eraser and moving over the line segment should erase the portion of the lines.

View 5 Replies

Flex :: Implement A Transparent Eraser Tool?

Dec 29, 2010

How can I implement an eraser in Flex so that when it erases on an mx:Image, it makes the area transparent?

View 4 Replies

ActionScript 3.0 :: Eraser Tool On Uploaded Pictures?

Aug 26, 2009

Ive got this problem: the users of my webapplication can upload pictures and draw on them, but would it be possible to let the user erase parts of their uploaded picture (jpg or png) using the eraser tool?. like upload the picture and then convert it to a file that the user can manipulate?

View 2 Replies

Professional :: Eraser Tool Erase Stuff On All Layers?

Feb 15, 2010

In the previous version, the eraser tool only erase things on the single current active layer, but then in CS4 (maybe it's just my problem), the eraser tool simply erase everything on the stage, no matter which layer they are in, except in locked layer.
 
Is it a bug for cs4 or hv I set something wrong or what?

View 4 Replies

Flash :: Copy Channel (BitmapData Class) - Eraser Tool

May 3, 2011

I am developing an application similar to MS Paint. I am building a Flash Paint application. The basic structure is this. I have two layers namely topLayer_mc and bottomLayer_mc. The actual vector drawing is drawn on the top layer and onmouseUp of the tool, a bitmap copy of the vector graphics on the top layer is taken and added as a bitmap to the bottom layer. The top layer is cleared subsequently. It is working for the pencil tool.

Now I need to create an eraser tool. This is where things get tricky. In the application there is an option to save the image as png, so alpha has top be preserved. So the coventional method of draw a brush using the vector and using the draw method of bitmap will not work. Of course, on a visual level it would work if the brush drawn using the vector is to have the same color as that of the background. The eraser's are rectangular in shape.

The technique I am tring to use is to use the copyChannel method of BitmapData class. Specify a channels (say GREEN channel )hex value as 00 and make it as the source. Then make the destination channel ALPHA. I got it working without using movieclips as shown below.

[Code]....

View 1 Replies

ActionScript 2.0 :: Make An Eraser Which Will Reveal A Picture?

Aug 20, 2005

get the zip file which will be very helpfull. I made some screenshots in photoshop for help.

1). map jpg: That's the map

2). the map is covered with a black layer

3).the user changes (somehow) the _alpha property (before starting revealing the image) to -let's say- 60% and reveals with the eraser the path of the map up to some point.

4).the user sets the _alpha of the cover back to 100% in order to get the picture shown in the example.

View 2 Replies

Professional :: Make Selection With Pen Tool?

Feb 28, 2011

In photoshop, you can create a path with the pen tool and then make that path a selection as if you'd used the lasso tool. How do you turn a pen path into a lasso selection in Flash (CS4)?

View 2 Replies

ActionScript 2.0 :: Make Measure Tool For Map?

Oct 27, 2009

I need help to make a tool for measuring function in a map. A textfield should follow the cursor and tell the distance to a point in the map.

View 10 Replies

AS3 :: Make A Powerpoint Presentation Tool In FMIS3 With It?

Jul 21, 2009

Make a powerpoint presentation tool in FMIS3 with AS3.0

View 1 Replies

Flex :: Tool To Make A CD-ROM Demo Application?

Aug 16, 2010

Open a video file embedded in the application.open some pdf files, preferably embedded in the application, but if it will have to open externally, it's no problem.Work in fullscreen on the user computer, with a minimum resolution of 1024x768. I'm thinking about a resolution of 1024x768, centered on a black background.

I was thinking of using Flash, but I don't have much experience, so if there is another easier IDE that creates a Flash application, I would prefer that.

View 3 Replies

ActionScript 2.0 :: Make A Selection Tool Just For The Heck Of It?

Jul 15, 2009

well i tried to make a selection tool just for the heck of it, so when you click and drag a box apear and selects multiple things you drag over, i got it 80% done but im stuck in a rut, here is my fla please give me advice on improving, youll see what i mean when you run it[URL]...

View 0 Replies

ActionScript 2.0 :: How To Make Admin Tool For Page

Aug 12, 2010

I made my page in flash as2 every day i change some news tha i have in my page but is very dificult because i dont have an admin panel that is why i ask if you know anything about how to make an admin panel for my page

View 0 Replies

ActionScript 3.0 :: 3d Rotate Tool \ Way To Make It Work At Runtime?

Apr 4, 2009

3d rotate tool is there any way to make it work at runtime. just like the bone tool.

View 2 Replies

Change Brush Size - Make The Eyedropper Tool ?

Aug 27, 2009

1. How can I change the size of the brush tool? It's all greyed out on every project I start, stuck at the very smallest size (0.10). I'm trying to trace over a photo at the moment, and it's taking FOREVER with the tiny little brush. It only un-greys itself after I draw a line, but I can only change the size of the line I've just drawn. As soon as I go to draw a new line, it goes straight back to size 0.10.I'd use the pencil tool, because I can change that, but...

2. How do you make the eyedropper tool put your chosen colour into the pencil colour box as opposed to the brush box? Every time I use it, it forces me to use the brush. Which, because of the above problem, is ridiculously inconvenient to draw with in just about every situation.

View 1 Replies

How To Get A Bigger Eraser

Jun 7, 2010

i see there are various choices in the dropdown, but i still need it bigger. can this be done?

View 3 Replies

Files Not Saving With Deco Tool Or Spray Brush Tool Selected?

May 6, 2009

I found that .fla files do not save in Flash CS4 when the Deco tool or Spray Brush tool is selected. Is this a bug? Or is there a workaround to this issue.

View 3 Replies

ActionScript 3.0 :: Remove / Disable Tool For Objects Using Transform Tool

Jul 6, 2009

Working with senocular Transform Tool - How to remove/disable tool for objects Im new to AS3, and i have to use it for my current project. I have used the AS2 Transform tool extensively, but needless to say, the AS3 version works entirely differently.
The way i understand it, the tool applies to and every Sprite , movieclip on stage

[Code]...

View 2 Replies

ActionScript 3.0 :: Make  Transformation Tool For Horizontal And Vertical Scaling Image?

Aug 3, 2009

Can any one tell me how to make  transformation tool for horizontal scaling  and vertical scaling the image
like that link[url]...

View 1 Replies

Professional :: Eraser Moving Over The Area?

Mar 31, 2010

however i'm not able to use eraser, when i select the eraser shape and mode i can see a eraser moving over the area i actually want to erase, but in the end the layer is still there...  i did search all criss cross the menu, cannot find, i'm sure it's something funny, how can i apply eraser fully?

View 3 Replies

ActionScript 3.0 :: Creating Eraser Over The Image?

Oct 25, 2011

My issue -I drawing with the pencile over the image and want to erase that graphic but not able to suucees please give some solution.My backgroud page is image and i am adding zoomIn/ZoomOut functionality to image. Is there solution to erase only graphic part and Image will remain as it is?

View 6 Replies

ActionScript 2.0 :: Flash Interactive Eraser?

Sep 5, 2003

does any1 know how to do a flash interactive eraser?it's something like the other flash paint programs,but unlike those programs i have found so far,they only have a button for erasing the whole screen...i need a flash program that uses an interactive eraser tool...

View 9 Replies

ActionScript 3.0 :: Adding An Eraser To Custom Drawing App?

Jan 16, 2012

I've made most of my application now, which allows the user to draw on a canvas, I'm just not sure on how I would go about creating a button which allows the user to switch to an eraser, or what code I would even use?

View 3 Replies

Bone Tool Combined With 3d Tool?

Oct 29, 2009

im making a bone animating system in flash but then i want to give it a more vital animation by manipulating its z y x position how is it possible using the 3d tool?im doing everything needed but when i get to that point nothing seems to work,i dont get 3d tool options.

View 2 Replies

ActionScript 1/2 :: Pencil Lines Eraser Backspace Delete Doesnt Work In Script?

Feb 1, 2011

I have come against a problem whit this tutorial:i cant  erase my lines now i have a bit more then just a pencil and a hole menu whit it,now i have even download the tutorial file and in the file it doesnt work eitheri use flash cs4.ow i dont whant to have anything complex like actionscript 3but still an solution and if it isnt to hard can i make a eraser to?

View 3 Replies

Flex :: Make List Items As Tool Tips For Combo Box Items?

Dec 1, 2009

How to make list items as tool tips for combo box items?

View 2 Replies

ActionScript 2.0 :: Draw Line Tool Like Flash Line Tool?

Mar 12, 2010

I want to create a line tool exactly like flash line tool. But the code that I am using shows the line when we release the mouse button. How can I show the lines while it is drawing

Code:
this.createEmptyMovieClip("drawing_mc",this.getNextHighestDepth());
drawing_mc.lineStyle(1,100);

[code].....

View 1 Replies

IDE :: Oval / Rectangle Tool And Oval / Rectangle Primitive Tool

Nov 14, 2010

I do know how to use the oval / rectangle and oval / rectangle primitive tools in the tool bar and find them quite useful, but one thing I find confusing is. A oval / rectangle primitive object can be edited later but the oval / rectangle can't. So the point is,how do we use them properly ? when to use ? Why does Adobe Flash still keep the oval / rectangle tool in their product instead of removing them with the oval / rectangle primitive tool ?

View 2 Replies







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