camera code made in flash