David Harris's Technology Blog

ColdFusion, Flex, and other stuff...   (and 332,180 hours, 45 mins in to my plan for global domination)

Search:

Calendar:

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Subscribe:

Enter your email address to subscribe to this blog.

Archives By Subject:

Tags:

adobe air ajax cfug coldfusion flash flex frameworks free software fxug general jpgmetadatareader mac off topic opensource papervision spry

Recent Entries:

Top Posts:

Recent Comments:

Top Commenters:

My Links:

RSS:


Saving images from Flex using ColdFusion

Not long ago, someone blogged a test using Flash Media Server to save images from a web cam to a server.

I though this would be possible with ColdFusion.

After digging a bit, I found that there are examples out there on how to do this.

...but being a DYI kind-a-guy, here is my test.

If you mess with my face below, and then click on "Save Image", the image is then sent to a CFC and saved to the server.

After you have made your own "work of art" out of my face, go to http://harrisfamily.net.nz/jpgExample/ to check out the "Wall of Art" :-)

My Flex Playing requires Adobe Flash Player 9. Get Adobe Flash..

While what I have done here is a concept, you can capture the state of a Flex app and save it to your server with this process, but that would've been a boring demo, and I needed something fun to do!

From this I also learned about Cursor management in Flex and how to use a "DisplacementMapFilter" ( I still have a bit to learn about how the filter actually works tho! )

I will post a follow up blog soon with a simpler example and source code.

Credits:

Comments
this is cute!

nice one David.
# Posted By barry.b | 9/7/07 9:02 AM
Good work keep it Up
# Posted By Auresh | 3/3/08 9:44 PM
nice !! how to do give some hint
# Posted By Priya | 7/23/08 2:02 AM
Hey, I love your example using the DisplacementMapFilter! If anyone needs to do something similar to this but needs to save the image using .NET, I have a solution I posted on my blog:

http://ryanbosinger.com/blog/2008/saving-images-wi...
# Posted By Ryan | 9/20/08 3:03 AM