hello.
I am starting to use the camera to take pictures.
I can take a picture and it shows in the center of the iPad.
(I am using the sample code included in Corona)
Inside of this function
local sessionComplete = function(event)
I see that event.target is the image
local image = event.target
Now to me… image is a variable.
so later in the code I want to “move” that variable like
image.rotation = 45
but I just can’t, because the image is “local” to the function
If I use the local on top of the code, the function won’t work
if I put local image = event.target on top of the code ( event is “nill”
I just don’t get it
how can I move, rotate, scale in general manipulate that image once is taken?
Thanks