Skip to main content
Participant
July 6, 2011
Question

Zoom camera in Adobe AIR for Android

  • July 6, 2011
  • 1 reply
  • 1334 views

Hi,

I am creating a cross-platform mobile app which uses Camera.getCamera() to capture image.

Is there a way I can zoom while taking the image from a distance? Please help.

Thanks

Monika

This topic has been closed for replies.

1 reply

Pahup
Adobe Employee
Adobe Employee
July 6, 2011

Hi,

You might want to look at CameraUI class, which allows you to take images from Native Camera Application.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraUI.html

-Pahup

shmonikaAuthor
Participant
July 6, 2011

Thanks Pahul.

But I dont want to save that image locally in the mobile database which happens if I use CameraUI.

Is it possible for me to zoom the Camera which I am adding to a video and then the video to a SpriteVisualElement?

Can it be done using transitions and gesture events?

Regards

Monika

Pahup
Adobe Employee
Adobe Employee
July 7, 2011

Ok, if that's the case then I dont think there is any way to use zoom in Camera class.

Request you to log a feature request for that @  http://ideas.adobe.com

Using gestures also, you will not be able to zoom in, it'll just scale the SpriteVisualElement dimension.

-Pahup