7/31/2010 5:40:41 AM
Title:
color visualizer
we have a client requirement 2 make a web application like
https://www.sherwin-williams.com/visualizer/
where user can upload a pictore and then visulaise it.
i just want 2 know how can we add lasso tool in flash application.
Inder
Points: 2980
Posts:0
7/31/2010 7:31:50 AM
If you are taking about the click selection tool in the application "sherwin williams", then I think that's not a lasso tool , on click it just selects the predefined area of the image. I uploaded a new image to test and on click it just selects the whole image rather than selecting similar colors. Selection is only occurring on the images that are from its internal library
7/31/2010 7:40:12 AM
I hope this is what you want
http://www.helloworlder.com/?p=206
7/31/2010 8:21:10 AM
I can give you some idea about the lasso tool in actionscript 3.0
If you are creating a lasso tool that selects just a rectangular area then its quite easy, you just need to store the starting x,y position when mouse is clicked and then note the ending x,y position when mouse is released. You can get the selected bitmap area using the bitmap class by passing the the rectangle already selected.
In case of selection by mouse you need to note all the mouse co-ordinates and then extract the bitmap pixel by pixel from with in that area
7/31/2010 8:23:38 AM
A good application using lasso tool. You may decompile it and check how its lasso functionality is working .
http://www.splashup.com/splashup/
5/3/2011 12:08:39 AM
Please provide me source file or source actionscript code for making selection by lasso or by clicking by mouse, using the lines and making the shape. and then i want to crop that area.
6/2/2011 5:17:07 AM
Hi,
I am also searching for the same help.Can any one have an idea how to create an AIR application like https://www.sherwin-williams.com/visualizer/.
currently i want to check its feasibility for AIR application. So can qanyone have an idea about this?