| Package | net.guttershark.ui.views |
| Class | public class AnimatedView |
| Inheritance | AnimatedView BasicView flash.display.MovieClip |
| Subclasses | InOutView |
You would extend your movie clip with this class, and on the timeline in flash, make simple method calls that have the code implemented in this class.
| Property | Defined by | ||
|---|---|---|---|
| autoStopOnLastFrame : Boolean [write-only]
Auto stop on the last frame of this movie clip.
| AnimatedView | ||
| watchForLastFrameAndCallComplete : Boolean
Get the value of the watch for end frame and call complete flag.
| AnimatedView | ||
| Method | Defined by | ||
|---|---|---|---|
| AnimatedView | |||
|
dispose():void
Dispose of internal variables and event listeners.
| AnimatedView | ||
![]() |
hide():void
Stub method for hiding this view.
| BasicView | |
|
play():void
Overrides the play method to add some logic for reverse playing
and the animationStart method.
| AnimatedView | ||
|
playReverse():void
Play this clip in reverse.
| AnimatedView | ||
![]() |
removeAllChildren():void
Remove all children from this instance.
| BasicView | |
![]() |
reorderChildren():void
Stub method you should override to re-arrange children on the display
list.
| BasicView | |
![]() |
show():void
Stub method for showing this view.
| BasicView | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
activated():void
Override this method to hook into when the operating system gains focus
on the flash movie.
| BasicView | |
![]() |
addedToStage():void
Override this method to hook into the added to stage event.
| BasicView | |
![]() |
addListeners():void
The addListeners method is a stub method you should override
and use for adding event listeners onto children objects.
| BasicView | |
|
animationComplete():void
Stub method used for naming convention.
| AnimatedView | ||
|
animationStart():void
Stub method used for naming convention.
| AnimatedView | ||
![]() |
cleanup():void
The cleanup method is called after the clip has been removed from
the display list.
| BasicView | |
![]() |
deactivated():void
Override this method to hook into when the operating system loses focus
on the flash movie.
| BasicView | |
![]() |
init():void
The init method is the final method after initial setup stage listeners
and other logic is complete.
| BasicView | |
![]() |
removedFromStage():void
Override this method to hook into the removed from stage event.
| BasicView | |
![]() |
removeListeners():void
The removeListeners method is a stub method you should override
and use for removing event listeners from children objects.
| BasicView | |
![]() |
resized():void
Override this method to hook into resize events from the stage.
| BasicView | |
|
updateChildrenReferences():void
Stub method used for naming convention.
| AnimatedView | ||
| autoStopOnLastFrame | property |
autoStopOnLastFrame:Boolean [write-only]Auto stop on the last frame of this movie clip.
Implementation public function set autoStopOnLastFrame(value:Boolean):void
| watchForLastFrameAndCallComplete | property |
watchForLastFrameAndCallComplete:Boolean [read-write]Get the value of the watch for end frame and call complete flag.
Implementation public function get watchForLastFrameAndCallComplete():Boolean
public function set watchForLastFrameAndCallComplete(value:Boolean):void
| AnimatedView | () | constructor |
public function AnimatedView()
| animationComplete | () | method |
protected function animationComplete():voidStub method used for naming convention. Override this method when something from the timeline needs to execute something on it's animation completion / last frame.
Overriding this method allows you to place your logic here,
instead of on the timeline. Then in your timeline, you make a
call to this.animationComplete();
Extend a movie clip from this class, then on the timeline you
can place this.animationComplete(); method calls
anywhere in the timeline to execute this method.
| animationStart | () | method |
protected function animationStart():voidStub method used for naming convention. Override this method when something from the timeline needs to happen right when the timeline starts playing.
Extend a movie clip from this class, then on the timeline you
can place this.animationStart(); method calls
anywhere in the timeline to execute this method.
| dispose | () | method |
public override function dispose():voidDispose of internal variables and event listeners.
| play | () | method |
public override function play():voidOverrides the play method to add some logic for reverse playing and the animationStart method.
| playReverse | () | method |
public function playReverse():voidPlay this clip in reverse.
| updateChildrenReferences | () | method |
protected function updateChildrenReferences():voidStub method used for naming convention. Use this method as a mechanism for updating children references in the display list.
The reason you would need to update references is when there are clips that animate on the timeline, but don't always have an instance name associated with it, so on some frames you need to update the references so you can control them.