there are 2 methods:
1)add file picker object and let user select an image from its gallery
2) add usermedia object to your project, request camera with usermedia action
use "Snapshot" UserMedia action, add on snapshot event, add a sprite action "Load image from URL"
You can download 2 example here
Sorry for bad english