| Package | net.guttershark.display.views |
| Class | public class BasicView |
| Inheritance | BasicView CoreClip flash.display.MovieClip |
| Subclasses | AnimatedView, ControllerView |
Order of events:
stage property in this method, you will get exceptions as the display object is not on the stage.)Override the provided methods to hook into the events being listened too.
| Method | Defined by | ||
|---|---|---|---|
|
Constructor for BasicView instances.
| BasicView | ||
|
dispose():void
Override this method and write your own dispose logic.
| BasicView | ||
|
hide():void
Stub method for hiding this view.
| BasicView | ||
|
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 | ||
|
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
Initialize the BasicView.
| 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 | ||
| BasicView | () | constructor |
public function BasicView()Constructor for BasicView instances.
| activated | () | method |
protected function activated():voidOverride this method to hook into when the operating system gains focus on the flash movie.
| addedToStage | () | method |
protected function addedToStage():voidOverride this method to hook into the added to stage event.
| addListeners | () | method |
protected function addListeners():voidThe addListeners method is a stub method you should override and use for adding event listeners onto children objects. This is called after the clip has been added to the stage, so the stage property is always available.
| cleanup | () | method |
protected function cleanup():voidThe cleanup method is called after the clip has been removed from the display list. This is intended to do temporary cleanup until the clip is added back to the display list. Not for final disposing logic. See the dispose method for final disposal.
| deactivated | () | method |
protected function deactivated():voidOverride this method to hook into when the operating system loses focus on the flash movie.
| dispose | () | method |
public override function dispose():voidOverride this method and write your own dispose logic.
| hide | () | method |
public function hide():voidStub method for hiding this view. It sets the visible property to false.
| init | () | method |
protected function init():voidInitialize the BasicView.
| removeAllChildren | () | method |
public function removeAllChildren():voidRemove all children from this instance.
| removedFromStage | () | method |
protected function removedFromStage():voidOverride this method to hook into the removed from stage event.
| removeListeners | () | method |
protected function removeListeners():voidThe removeListeners method is a stub method you should override and use for removing event listeners from children objects. This is called after the clip has been removed from the stage.
| reorderChildren | () | method |
public function reorderChildren():voidStub method you should override to re-arrange children on the display list. This is in place for naming convention.
| resized | () | method |
protected function resized():voidOverride this method to hook into resize events from the stage.
| show | () | method |
public function show():voidStub method for showing this view. It sets the visible property to true.