Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 467 Bytes

File metadata and controls

29 lines (17 loc) · 467 Bytes

setZoom()

Availability

Adobe Animate 2019

Usage

camera.setZoom(frameIndex, zoomVal)

Parameters

frameIndex:int zoomVal:int

Return

Nothing

Description

Zooms camera to absolute value given by input parameter in percentage.

Example

The following example zooms camera to absolute value given by input parameter in percentage.

var timeline = an.getDocumentDOM().getTimeline();
timeline.camera.setZoom(37,-100);