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


Similar Posts:


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

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

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

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

Professional :: Making Video Transparent, Which Tool?

Aug 25, 2010

I have cs4 web premium which doesn't include aftereffects. I need to however make a green/blue backgrounded video transparent (alpha channel, if I got it right) to be used by flash/as3. I'm not sure if I can use either firework or illustrator do the job? another question is, for a short movie clip, which tool can be used to edit the movie frame to turn the non-green/blue clored backgroud into green (then adding alpha channel...)

View 1 Replies

Flex :: How Does One Implement The Google Maps 3D API (or Similar) For Flex With A Local Map Cache

Aug 17, 2010

I am writing a Flex application for use on a private intranet with no external Internet access. I want to use Google's 3D Maps Flex API, but it must be connected to the internet to download map tiles on demand.

Is there a way to locally cache the 3D map tiles and data so that I can run this app without an internet connection? And if not, is there a 3D GIS that supports Flex integration and allows for a local map cache?

View 1 Replies

Flex :: Use TweenLite To Implement Effect Of Flex's PopUpManager?

Apr 21, 2011

How can I use TweenLite to implement effect of Flex's PopUpManager?

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

Flex - Implement Screen In Flex When App Is Busy?

Mar 16, 2010

I have a function that restores all of the default settings of my application. This process can take a bit of time, so I would like to implement a "Please wait..." modal popup to let the user know that everything is alright and the program hasn't frozen. Once the function completes its task, I'd like for it to remove the message, and resume normal behavior.

View 4 Replies

How To Implement This Layout In Flex 4

Apr 23, 2010

I'm learning layouts in Flex. I try to make the following layout.The red arrow means when enlarge the window, the red arrow widget will become large too. Can anyone implement this layout in Flex?

View 2 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 :: Implement Localization In FLEX?

Aug 16, 2011

How to achieve Flex Localization !! In my current project other than English, I need to change the language to French/Spanish also.I am using FB 4.0 and it integrated with Java/Jsp/xml. There is lot of integration in almost all modules. Here the requirement was, i want to display a comboBox with French/Spanish options. Now based on the selection whole application language has to change ie either French/Spanish.

View 1 Replies

Flex :: How To Implement HTTP Tunneling

Jul 26, 2009

I've written a Flash (Flex) client connecting to a back-end server to exchange data. I've also written my server from scratch, and it serves two purposes:

(1) Web (HTTP) Server- By default listens on port 80

(2) Socket/Application- Server - By default listens on port 443

Just FYI, both servers run in the same process space, for convenience reasons. They are not expected to handle massive loads, so I'm fine with that. As soon as the Flash client is served to the browser from the HTTP socket, the client attempts to open an XMLSocket to the Socket/Application server. I now want to implement HTTP tunneling, so that my client can connect to the Application server even if the user is behind a firewall. I do not want any external servers involved (proxies etc.) - simply use the servers I already have.

My questions:

(1) Is it better to use port 443 for that? (does it better fool firewalls?)

(2) As far as I can see, what I am required to do, is just ensure that my actual application data is simply encapsulated in an HTTP structure (preceded by a dummy HTTP header), both from the client and server sides. Is that so or am I missing anything here?

(3) Do I need to keep hiding/encapsulating my data every message I send through the socket, or can I just encapsulate the first message when opening the connection?

View 1 Replies

Flex :: Possible To Implement Facebook In Adobe?

Feb 13, 2010

I am considering creating a website with the complexity of Facebook that should be able to scale into the millions of users. My question is: Is there any reason not to use Adobe Flex for such large project apart from the obvious point of requiring everyone to have Flash installed and not having to rely on Adobe? In my view Adobe Flex would reduce the server load for Facebook, because more of the work could me done on the client side.

View 7 Replies

Flex :: Implement Drag-out-to-delete?

Mar 4, 2010

I have a List component from which I'd like to be able to remove items using drag & drop, but without having a specific target. If you use the mac, the behaviour I'm looking for is something like what the Dock uses; when you drag something out of the bounds of the control it should get an icon that indicates that it'll be deleted (OSX uses a cloud or something?) and then if you release it it will be removed from the list.

View 2 Replies

Flex :: Implement The Authentication In Portlets

Jun 4, 2010

I want to have flex portlets side by side with JSP portlets. How can we implement the authentication mechanism? [ Authentication will be handled by the portal and how can we share the same session with flex portlets ]

View 1 Replies

Php :: Implement Virtual Filesystem With Flex?

Apr 9, 2011

I am creating an EDM (Electronic document Management) system which will use Flex for front-end, PHP at server side and Mysql as database. Since its an EDM a single file will have many versions old copies will be stored hence one to one files mapping is not a choice. Wondering whats the best way to do so.

View 1 Replies

Actionscript 3 :: Implement Encryption In Flex 3?

Apr 12, 2011

we have one application where we are pulling some confidential information from one of the product design tools. So we have used HTTPS as the channel and also we are encrypting the Request Parameters and Some data before we sent it to Web Services.Everything seems OK.But when we gave the application for Security auditing they found we have hard coded the encryption key in source code. They have used Sothink SWF Decompiler to look into my SWF file. They caught the key and raised concern over it.

We have developed this application using Flex 3(SDK 3.4). Is there any best way to use Secret key without being hard coded in source code. If anybody come across this kind of problem, please let me know. use the secret keys in SourceCode without being Hard coded.

Here is my sample code:

var currentResult:String = "";
var strDataToEncrypt:String = "";
var kdata:ByteArray;

[code]....

View 2 Replies

Flex :: Implement Paging In Datagrid?

May 2, 2011

i want to implement paging in flex datagrid, i am using this code. In Asp.net we can implement paging by setting property of datagrid, is there any such property for flex datagrid?

View 2 Replies

Flex :: Implement IP Validator Over TextInput

Nov 28, 2011

I have followed this tutorial to implement an IP Validator over a TextInput. But, I have not been able to resolve following error for some hours.
Error: Could not resolve <flexScript:IPAddressValidator> to a component implementation. MasterTabNavigator.mxml /XflowGUI/src/view

Code:
MasterTabNavigator.mxml:
<mx:TabNavigator xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:flexScript="flexScript.*" >
[Code] .....

View 2 Replies

Getting An API To Implement Yahoo Chat In Flex?

May 20, 2009

Is there an API to implement Yahoo chat in Flex? Or at least some calls?

View 3 Replies

ActionScript 3.0 :: How To Implement Localization In FLEX

Aug 16, 2011

How to achieve Flex Localization !! In my current project other than English, I need to change the language to French/Spanish also.

I am using FB 4.0 and it integrated with Java/Jsp/xml. There is lot of integration in almost all modules. Here the requirement was, i want to display a comboBox with French/Spanish options. Now based on the selection whole application language has to change ie either French/Spanish.

View 1 Replies







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