# Hey guys need help assp

**URL:** <https://forum.kirupa.com/t/hey-guys-need-help-assp/237533>\
**Category:** Uncategorized\
**Created:** [August 31, 2007, 3:43am UTC](https://forum.kirupa.com/t/hey-guys-need-help-assp/237533 "2007-08-31T03:43:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vin23leo](https://avatars.discourse-cdn.com/v4/letter/v/b77776/32.png) [@vin23leo](https://forum.kirupa.com/u/vin23leo)\
**Post date:** [August 31, 2007, 3:43am UTC](https://forum.kirupa.com/t/hey-guys-need-help-assp/237533/1 "2007-08-31T03:43:19Z")

</div>

hey guys, im using the webcam function in flash to take photos, does anyoen now how to save these photos into a database, i want the user to be able to take there photo, put there name, and appear in a highscore for a game, any ideas???

this is my code so far

output\_vid.attachVideo(Camera.get());

import flash.display.BitmapData  
import flash.geom.Matrix

var snapshot:BitmapData=new BitmapData(x=155,y=120);  
var snapshot2:BitmapData=new BitmapData(x=155,y=120);

function takeSnapshot(nr)  
{  
snapshot.draw(output\_vid,new Matrix());  
}  
function takeSnapshot2(nr)  
{  
snapshot2.draw(output\_vid,new Matrix());  
}

i have 2 buttons that take the snapshots

cheers
