Access keys

ZoomController

Kind of class: class
Inherits from: LocalController
Author: Arthur Clemens
Classpath: controllers.ZoomController
File last modified: Monday, 06 November 2006, 08:09:10
This demo shows how to use a Slider to control the zooming of an object, and illustrates the use of the classes AQZoom and Slider.


Actually there are 2 sliders in the demo. The vertical slider is a straightforward slider with draggable knob and clickable bar, spiced up with an animation effect (progressive movement along the axis).

The horizonal slider adds a zooming indicator that is updated while the animation progresses.

A slider debugging panel can be switched to visible on the main mTimeline.
Events broadcast to listeners:
ZoomEvent
ZoomEvent

Class methods

main

static function main (
inTimeline:MovieClip, inDebug:Boolean) : Void
Called from the Flash main mTimeline.