My goal:
- application will work on "Landscape Left" only
- app has only two fields, a command button and an Image field
- when user press the button it opens the virtual camera and the image is to appear on the Image field
My problem:
- the image appears rotated 90 degrees
The code is very simple (attached):
Code: Select all
on startUp
mobileSetAllowedOrientations "landscape left"
end startUp
on mouseUp
-- set the virtual camera
cameraControlCreate"myFirstCamera"
cameraControlSet "myFirstCamera", "device", "rear"
cameraControlSet "myFirstCamera", "rect", the rect of img "Img1"
cameraControlSet "myFirstCamera", "visible", true
end mouseUp
Thanks