| Package | de.mightypirates.megazine |
| Interface | public interface IPage extends flash.events.IEventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| isStiff : Boolean [read-only]
Tells whether the page is a stiff or a normal page.
| IPage | ||
| pageEven : DisplayObjectContainer [read-only]
Get the even page part
| IPage | ||
| pageOdd : DisplayObjectContainer [read-only]
Get the odd page part
| IPage | ||
| state : String [read-only]
Gets the page's state
| IPage | ||
| Method | Defined by | ||
|---|---|---|---|
|
getBackgroundColor(even:Boolean):uint
Get this page's background color
| IPage | ||
|
getNumber(even:Boolean):uint
Get the page's number.
| IPage | ||
|
getPageThumbnail(even:Boolean):Bitmap
Get the BitMap object that is used for rendering the thumbnail.
| IPage | ||
|
getPageVisible(even:Boolean):Boolean
Get whether the even or odd page is visible or not.
| IPage | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the even part of the page becomes invisible (the one displayed on the right). | IPage | |||
| Dispatched when the odd part of the page becomes invisible (the one displayed on the left). | IPage | |||
| Dispatched when the page completes loading. | IPage | |||
| Dispatched when the state of the page changes. | IPage | |||
| Dispatched when the even part of the page becomes visible (the one displayed on the right). | IPage | |||
| Dispatched when the odd part of the page becomes visible (the one displayed on the left). | IPage | |||
| isStiff | property |
isStiff:Boolean [read-only]Tells whether the page is a stiff or a normal page.
Implementation public function get isStiff():Boolean
| pageEven | property |
pageEven:DisplayObjectContainer [read-only]Get the even page part
Implementation public function get pageEven():DisplayObjectContainer
| pageOdd | property |
pageOdd:DisplayObjectContainer [read-only]Get the odd page part
Implementation public function get pageOdd():DisplayObjectContainer
| state | property |
state:String [read-only]Gets the page's state
Implementation public function get state():String
| getBackgroundColor | () | method |
public function getBackgroundColor(even:Boolean):uintGet this page's background color
Parameterseven:Boolean — For the even page, or for the odd one
|
uint — This page's background color
|
| getNumber | () | method |
public function getNumber(even:Boolean):uintGet the page's number. Not that this returns the indexed page number, i.e. the count starts at 0.
Parameterseven:Boolean |
uint — The page number
|
| getPageThumbnail | () | method |
public function getPageThumbnail(even:Boolean):BitmapGet the BitMap object that is used for rendering the thumbnail. This BitMap is updated automatically.
Parameterseven:Boolean |
Bitmap — The BitMap with the thumbnail.
|
| getPageVisible | () | method |
public function getPageVisible(even:Boolean):BooleanGet whether the even or odd page is visible or not.
Parameterseven:Boolean — Even or odd page.
|
Boolean — Visible or nor.
|
| invisible_even | event |
de.mightypirates.megazine.events.MegaZineEvent
de.mightypirates.megazine.events.MegaZineEvent.INVISIBLE_EVEN
Dispatched when the even part of the page becomes invisible (the one displayed on the right).
Even page becomes invisible.
| invisible_odd | event |
de.mightypirates.megazine.events.MegaZineEvent
Dispatched when the odd part of the page becomes invisible (the one displayed on the left).
| page_complete | event |
de.mightypirates.megazine.events.MegaZineEvent
de.mightypirates.megazine.events.MegaZineEvent.PAGE_COMPLETE
Dispatched when the page completes loading.
Event dispatched when a page completes loading its elements.
| status_change | event |
de.mightypirates.megazine.events.MegaZineEvent
de.mightypirates.megazine.events.MegaZineEvent.STATUS_CHANGE
Dispatched when the state of the page changes.
Dispatched when the status changes.
| visible_even | event |
de.mightypirates.megazine.events.MegaZineEvent
de.mightypirates.megazine.events.MegaZineEvent.VISIBLE_EVEN
Dispatched when the even part of the page becomes visible (the one displayed on the right).
Dispatched page becomes visible.
| visible_odd | event |
de.mightypirates.megazine.events.MegaZineEvent
de.mightypirates.megazine.events.MegaZineEvent.VISIBLE_ODD
Dispatched when the odd part of the page becomes visible (the one displayed on the left).
Odd page becomes visible.