Main Page | Packages | Class Tree | Index | Help

mx.transitions

class Transition

Object
  |
  +--mx.transitions.Transition

All Known Subclasses: Blinds, Fade, Fly, Iris, Photo, PixelDissolve, Rotate, Squeeze, Wipe, Zoom

class Transition
extends Object



Field Summary

public
addEventListener: Function
these three methods will be mixed-in

public
className: String


public
dispatchEvent: Function


public
ID: Number


public
removeEventListener: Function


public
type: Object


Fields inherited from class Object

__proto__, constructor, prototype

Property Summary


content: MovieClip (read, write)



direction: Number (read, write)



duration: Number (read, write)



easing: Object (read, write)



manager: TransitionManager (read, write)
///////// GETTER/SETTER PROPERTIES


progress: Number (read, write)
p is a number between 0 and 1 representing the state of the transition

Constructor


Transition ( content: MovieClip, transParams: Object, manager: TransitionManager)
transParams: - direction (0 or 1) - duration (seconds) - easing (an easing function) - additional parameters can be defined for individual transitions

Method Summary


cleanUp ( ): Void
remove any movie clips, masks, etc.


drawBox ( mc: MovieClip, x: Number, y: Number, w: Number, h: Number ): Void



drawCircle ( mc: MovieClip, x: Number, y: Number, r: Number ): Void



getNextHighestDepthMC ( mc: MovieClip ): Number
returns a depth number within a particular movie clip--the next highest available one the MovieClip.getNextHighestDepth() is not available in Flash Player 6, so this method uses a custom algorithm in that case


init ( content: MovieClip, transParams: Object, manager: TransitionManager ): Void



onMotionFinished ( src: Object ): Void
///////// EVENT HANDLERS MX Broadcaster-style event that comes from an instance of mx.transitions.Tween


start ( ): Void



stop ( ): Void



toString ( ): String
///////// PUBLIC METHODS

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

addEventListener

public var addEventListener: Function
these three methods will be mixed-in

className

public var className: String

dispatchEvent

public var dispatchEvent: Function

ID

public var ID: Number

removeEventListener

public var removeEventListener: Function

type

public var type: Object

Property Documentation

content

content: MovieClip (read, write)

direction

direction: Number (read, write)

duration

duration: Number (read, write)

easing

easing: Object (read, write)

manager

manager: TransitionManager (read, write)
///////// GETTER/SETTER PROPERTIES

progress

progress: Number (read, write)
p is a number between 0 and 1 representing the state of the transition


Constructor Documentation

Transition

function Transition(content: MovieClip,
 transParams: Object,
 manager: TransitionManager)
transParams: - direction (0 or 1) - duration (seconds) - easing (an easing function) - additional parameters can be defined for individual transitions


Method Documentation

cleanUp

function cleanUp(): Void
remove any movie clips, masks, etc.

created by this transition

drawBox

function drawBox(mc: MovieClip,
 x: Number,
 y: Number,
 w: Number,
 h: Number): Void

drawCircle

function drawCircle(mc: MovieClip,
 x: Number,
 y: Number,
 r: Number): Void

getNextHighestDepthMC

function getNextHighestDepthMC(mc: MovieClip): Number
returns a depth number within a particular movie clip--the next highest available one the MovieClip.getNextHighestDepth() is not available in Flash Player 6, so this method uses a custom algorithm in that case

init

function init(content: MovieClip,
 transParams: Object,
 manager: TransitionManager): Void

onMotionFinished

function onMotionFinished(src: Object): Void
///////// EVENT HANDLERS MX Broadcaster-style event that comes from an instance of mx.transitions.Tween

start

function start(): Void

stop

function stop(): Void

toString

function toString(): String
///////// PUBLIC METHODS

Overrides:


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc