AS3 Web Camera Capture and Photo Manipulator with Javascript image upload fallback for mobile