DMA199:AS3:Richard Caceres

March 20, 2008

Photob00th v0.01

Filed under: exercise — admin @ 10:44 pm

Photobooth screenshot

Description:

This is an early prototype of an idea I have for an online photobooth. If you have a webcam, CLICK to save your photo.

It uses AMFPHP to communicate with a MYSQL database. The images are being converted to jpegs using the AS3 jpeg conversion library (http://www.bytearray.org/?p=90). They are then been sent as bytearrays to an AMFPHP service that saves the image to a directory and inserts an entry into a database table.

View:

http://richard-c.com/look/photobooth/

http://users.design.ucla.edu/~rcaceres/199/exercises/CameraAMFPHP/CameraAMFPHP.html

Source:

http://users.design.ucla.edu/~rcaceres/199/exercises/CameraAMFPHP/

March 19, 2008

CameraCapture

Filed under: exercise — admin @ 1:25 am

Description:

Click to take a picture from your web-cam. This program creates a BitmapData object from DisplayObject. The code that does this is:

var bd:BitmapData = new BitmapData(video.width, video.height, true, 0×000000);
bd.draw(video);
var bm:Bitmap = new Bitmap(bd);

View:

http://users.design.ucla.edu/~rcaceres/199/exercises/CaptureCamera/CaptureCamera.html

Source:

http://users.design.ucla.edu/~rcaceres/199/exercises/CaptureCamera.tar

HelloCamera

Filed under: exercise — admin @ 1:19 am

View:

http://users.design.ucla.edu/~rcaceres/199//exercises/HelloCamera/HelloCamera.swf

Source:

http://users.design.ucla.edu/~rcaceres/199//exercises/HelloCamera.tar

HelloAMFPHP

Filed under: exercise — admin @ 1:11 am

HelloAMFPHP screenshot

Description:

An introduction to AMFPHP flash remoting. Send a message to php and receive a result.

View:

http://users.design.ucla.edu/~rcaceres/199//exercises/HelloAMFPHP/HelloAMFPHP.html

Source:

http://users.design.ucla.edu/~rcaceres/199//exercises/HelloAMFPHP.tar

Powered by WordPress