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


Similar Posts:


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

Flash :: Client - Side Image Processing - Creating A PNG Image From A PDF File

Feb 1, 2010

We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Here's the info: Image processing is rasterization from some data. Think like creating a PNG image from a PDF file. We don't have a lot of server power. So client-side processing is a bit of a must.

So, we're considering: Flash - most widespread, but from what i read has lackluster development tools. (and no iPhone/iPad support for now). Silverlight - allows us to use .NET CLR, so a big ++ (a lot of code is in .NET). But is not supported for most mobiles ( rumored android support in the future) HTML5 + Javascript - probably the most "portable" option. The problem is having to rewrite all that image processing code in Javascript.

Clarification: I don't need further ideas on what libraries are available for Silverlight and Javascript. My dilemma is choosing Silverlight means no support for most mobiles choosing Flash means we have to redevelop most of our code AND no iPhone/iPad support HTML5 + Javascript we have to redevelop most of our code and not fully supported yet in all browsers choosing two (Silverlight + Flash) will be too costly Any out-of-the-box or bright ideas / alternatives

View 14 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

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 :: 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

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 :: 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

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

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

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 :: 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

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

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 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

ActionScript 3.0 :: Flash - Creating An Image Gallery And The Images Change But Change Right Back To The Original Image

Mar 2, 2011

I am creating an image gallery and the images change but change right back to the original image. I had it working yesterday but today it doesn't work.

[Code]...

View 1 Replies

ActionScript 3.0 :: Creating An Image Procedurally?

Apr 3, 2009

how to draw pixels onto a blank canvas, whereby I can set the exact pixel location and the exact colour of the pixel? Then, could you also show me how I could do the exact reverse - extract the colour of a pixel in an image given the location?Basically I want to encode some data into an image, save it as a png (I'm okay with the saving to png bit), import the image into another program and extract the data.

View 6 Replies

ActionScript 2.0 :: CS3 : Creating An Image Gallery?

Jul 29, 2010

I did this tutorial just fine in as3 and worked out well. But recently I had to switch my project from as3 to as2 to link buttons to scenes. Now I have a ton of compiler errors from the switch. I was wondering if I can still make this tutorial work out for me in as2, if so what do I have to change? [URl]Heres some of the scripting I did from the tutorial in my project.

stop();
btn1.addEventListener(MouseEvent.CLICK,play1);
function play1(event:MouseEvent):void{

[code]....

View 11 Replies

ActionScript 3.0 :: Creating A Thumbnail Image?

Sep 22, 2008

Is there a way to read in an existing image and write out a smaller, jpeg version?

View 8 Replies

Creating A Rollover With Image Expanding?

May 28, 2010

am trying to find a way to display an image (a shelf with various pieces of art.) I want each piece to be a link where the user can click on it, and it will pop up in a new window, or an area below the main image where it will show a larger, up-close view, with details, such as price, meanings, ect.

View 3 Replies

ActionScript 2.0 :: Creating An Image Slideshow Using Xml

Jul 3, 2006

this relates to the tutorial posted by kirupa on creating an image slideshow using xml with actionscript: [URL] this slideshow is great, but i'm wondering whether it is possible to start it in the middle of the sequence. so, for instance could one button load a swf file with code that would start the slideshow at, say, frame 5 out of 10? i understand how the actionscript for this works, but am running into deadends on how to get the xml more specific. oh, and i'm using flash 8 for this.

[Code]...

View 4 Replies

ActionScript 3.0 :: Creating Sprite Behind Image?

Feb 1, 2010

I'm trying to build a picture viewer that can be used in every way. So it's important for me to make everything dynamic. I have a xml file that I load and then I read all the images and I want a border surrounding the image. I've made a new sprite to load everything in, I made a second sprite to load the images and that second sprite should be behind every image but it will only show behind the first image.

<code>
main_container = new Sprite();
main_container.x=containerX;

[code].....

View 1 Replies

ActionScript 3.0 :: Creating An Image File Dynamically?

Mar 16, 2009

I have an app that lets you upload a photo and mask part of it. I want now to press a button that takes a screengrab of the flash player and saves it to the server.I'm aware this will require scripting to talk to the server but for the flash part of taking a I've even considered using fscommand to somehow access the printscreen function but don't think this will work after checking the documentation.

View 10 Replies

ActionScript 3.0 :: Creating Preview Image For Flv Player?

Feb 5, 2010

I have created an application which includes a menu system for selecting videos and a video player. Currently when the application opens the flv player video starts on load. I would like to change this to show a preview image which would not disappear until my users click on a button to view a video.I have tried to use the preview image function in the flv player and received this error:"The preview image is displayed at authoring time only. To generate a runtime preview image, use the export button and load the image back by writing your own ActionScript.

View 29 Replies

Creating Simple .exe With A Light Flashing Image?

Nov 12, 2010

Was just wondering that tool do i need (an open source tool) to create a very simple table with a blinking light on an image and turn that into an .exe?

View 1 Replies

ActionScript 2.0 :: Creating Buttons From Loaded Image?

Mar 27, 2008

I have loaded several images into the swf with XML and they are placed automatically. How do I make buttons out of them? I want to scale them about 20% bigger.

View 2 Replies

ActionScript 2.0 :: Creating An Image Viewer With Slider Bar?

Feb 9, 2010

Basically I am trying to make a VERY simple image viewer using a slider bar to navigate through the movie clip frames. I have been searching for hours for a nice simple tutorial or fla file but I cant find one. The movie clip currently has 8 frames each one an image, but it may have more or less.

I don't want to create movie clips inside movie clips; rather I have created a button which is fixed to slide along a 400px line. I would like to know what on earth I write to link the movement of the slider button to the frames in the movie clip... for example the first image would be displayed when the slider button is between 0 and 50 pixels of the line upon which it slides.

View 4 Replies

ActionScript 3.0 :: Creating A 'Spotlight' Effect On An Image In Flash

Oct 28, 2009

Right so I was just wondering how I would go about creating a 'spotlight' effect on an image in flash. I want to use a background image which is only visible within the 'spotlight' (e.g. everything outwith the spotlight is just black). The spotlight must be able to be controlled by the user (I know how to do that bit at least)

View 4 Replies

Professional :: Creating Image Of Machine With Moving Blade?

May 29, 2011

I want to make a image move how would I go about it, I have a image of a machine and I want the blade to move do i need adobe flash pro to do it.

View 1 Replies







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