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]...
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);
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.
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.
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?
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?
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.
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.
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)?
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.
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]...
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
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.
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.
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
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?
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?
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...
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?
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.
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?
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
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 ?