| Package | de.mightypirates.megazine.events |
| Class | public class MegaZineEvent |
| Inheritance | MegaZineEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| instant : Boolean [read-only]
Instant page turn or not.
| MegaZineEvent | ||
| leftToRight : Boolean [read-only]
The page's turning direction.
| MegaZineEvent | ||
| message : String [read-only]
The message that was logged.
| MegaZineEvent | ||
| page : int [read-only]
The page changed to when firing this event.
| MegaZineEvent | ||
| prevstate : String [read-only]
The state prior to the state change when used for status change events.
| MegaZineEvent | ||
| state : String [read-only]
The state when firing this event when used for status change events.
| MegaZineEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
MegaZineEvent(name:String, _page:int = 0, _newstate:String = "", _prevstate:String = "", _ltr:Boolean = false, _instant:Boolean = false)
Creates a new megazine event.
| MegaZineEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| DRAGAREA_ENTER : String = "dragarea_enter" [static]
Event dispatched when the cursor enters the area where clicking triggers a page turn
or if keeping the mouse button down a drag.
| MegaZineEvent | ||
| DRAGAREA_LEAVE : String = "dragarea_leave" [static]
Event dispatched when the cursor leaves the area where clicking triggers a page turn
or if keeping the mouse button down a drag.
| MegaZineEvent | ||
| ELEMENT_COMPLETE : String = "element_complete" [static]
Event dispatched when a child element of this page completes initializing.
| MegaZineEvent | ||
| ELEMENT_INIT : String = "element_init" [static]
Event dispatched when a child element of this page completes initializing.
| MegaZineEvent | ||
| FLIP_STATUS_CHANGE : String = "flip_status_change" [static]
Dispatched when the page turning status changes.
| MegaZineEvent | ||
| INVISIBLE_EVEN : String = "invisible_even" [static]
Even page becomes invisible.
| MegaZineEvent | ||
| INVISIBLE_ODD : String = "invisible_odd" [static]
Odd page becomes invisible.
| MegaZineEvent | ||
| LIBRARY_COMPLETE : String = "library_complete" [static]
Dispatched when the library was loaded successfully.
| MegaZineEvent | ||
| LIBRARY_ERROR : String = "library_error" [static]
Dispatched when there is an error while loading the library.
| MegaZineEvent | ||
| MUTE : String = "mute" [static]
Dispatched to inform elements to mute themselves.
| MegaZineEvent | ||
| PAGE_CHANGE : String = "page_change" [static]
Dispatched when the current page changes.
| MegaZineEvent | ||
| PAGE_COMPLETE : String = "page_complete" [static]
Event dispatched when a page completes loading its elements.
| MegaZineEvent | ||
| PASSWORD_CORRECT : String = "password_correct" [static]
Dispatched when the correct password is entered in the password form.
| MegaZineEvent | ||
| SLIDE_START : String = "slide_start" [static]
Dispatched when slideshow starts.
| MegaZineEvent | ||
| SLIDE_STOP : String = "slide_stop" [static]
Dispatched when slideshow stops.
| MegaZineEvent | ||
| STATUS_CHANGE : String = "status_change" [static]
Dispatched when the status changes.
| MegaZineEvent | ||
| UNMUTE : String = "unmute" [static]
Dispatched to inform elements to unmute themselves.
| MegaZineEvent | ||
| VISIBLE_EVEN : String = "visible_even" [static]
Dispatched page becomes visible.
| MegaZineEvent | ||
| VISIBLE_ODD : String = "visible_odd" [static]
Odd page becomes visible.
| MegaZineEvent | ||
| ZOOM_CHANGED : String = "zoom_changed" [static]
Navigated to another page via zoom.
| MegaZineEvent | ||
| ZOOM_CLOSED : String = "zoom_closed" [static]
Zoom's closed.
| MegaZineEvent | ||
| ZOOM_STATUS_CHANGE : String = "zoom_status_change" [static]
Zoom state changed (between opened or closed).
| MegaZineEvent | ||
| instant | property |
instant:Boolean [read-only]Instant page turn or not. Only used for page change events.
Implementation public function get instant():Boolean
| leftToRight | property |
leftToRight:Boolean [read-only]The page's turning direction. Only used for page status change events.
Implementation public function get leftToRight():Boolean
| message | property |
message:String [read-only]The message that was logged. Only used for message events.
Implementation public function get message():String
| page | property |
page:int [read-only]The page changed to when firing this event. Only used for page change events.
Implementation public function get page():int
| prevstate | property |
prevstate:String [read-only]The state prior to the state change when used for status change events. The previous loading state when firing this event when used for page completion events.
Implementation public function get prevstate():String
| state | property |
state:String [read-only]The state when firing this event when used for status change events. The loading state when firing this event when used for page completion events.
Implementation public function get state():String
| MegaZineEvent | () | constructor |
public function MegaZineEvent(name:String, _page:int = 0, _newstate:String = "", _prevstate:String = "", _ltr:Boolean = false, _instant:Boolean = false)Creates a new megazine event.
Parametersname:String — The type of the event
|
|
_page:int (default = 0) — The current page, only used for page change events.
|
|
_newstate:String (default = "") — The message that was logged or the new megazine state, only used for
message events or state change events, respectively.
|
|
_prevstate:String (default = "") — The previous state before changing to this one (only for status
change)
|
|
_ltr:Boolean (default = false) |
|
_instant:Boolean (default = false) |
| DRAGAREA_ENTER | constant |
public static const DRAGAREA_ENTER:String = "dragarea_enter"Event dispatched when the cursor enters the area where clicking triggers a page turn or if keeping the mouse button down a drag.
| DRAGAREA_LEAVE | constant |
public static const DRAGAREA_LEAVE:String = "dragarea_leave"Event dispatched when the cursor leaves the area where clicking triggers a page turn or if keeping the mouse button down a drag.
| ELEMENT_COMPLETE | constant |
public static const ELEMENT_COMPLETE:String = "element_complete"Event dispatched when a child element of this page completes initializing.
| ELEMENT_INIT | constant |
public static const ELEMENT_INIT:String = "element_init"Event dispatched when a child element of this page completes initializing.
| FLIP_STATUS_CHANGE | constant |
public static const FLIP_STATUS_CHANGE:String = "flip_status_change"Dispatched when the page turning status changes.
| INVISIBLE_EVEN | constant |
public static const INVISIBLE_EVEN:String = "invisible_even"Even page becomes invisible.
| INVISIBLE_ODD | constant |
public static const INVISIBLE_ODD:String = "invisible_odd"Odd page becomes invisible.
| LIBRARY_COMPLETE | constant |
public static const LIBRARY_COMPLETE:String = "library_complete"Dispatched when the library was loaded successfully.
| LIBRARY_ERROR | constant |
public static const LIBRARY_ERROR:String = "library_error"Dispatched when there is an error while loading the library.
| MUTE | constant |
public static const MUTE:String = "mute"Dispatched to inform elements to mute themselves.
| PAGE_CHANGE | constant |
public static const PAGE_CHANGE:String = "page_change"Dispatched when the current page changes.
| PAGE_COMPLETE | constant |
public static const PAGE_COMPLETE:String = "page_complete"Event dispatched when a page completes loading its elements.
| PASSWORD_CORRECT | constant |
public static const PASSWORD_CORRECT:String = "password_correct"Dispatched when the correct password is entered in the password form.
| SLIDE_START | constant |
public static const SLIDE_START:String = "slide_start"Dispatched when slideshow starts.
| SLIDE_STOP | constant |
public static const SLIDE_STOP:String = "slide_stop"Dispatched when slideshow stops.
| STATUS_CHANGE | constant |
public static const STATUS_CHANGE:String = "status_change"Dispatched when the status changes.
| UNMUTE | constant |
public static const UNMUTE:String = "unmute"Dispatched to inform elements to unmute themselves.
| VISIBLE_EVEN | constant |
public static const VISIBLE_EVEN:String = "visible_even"Dispatched page becomes visible.
| VISIBLE_ODD | constant |
public static const VISIBLE_ODD:String = "visible_odd"Odd page becomes visible.
| ZOOM_CHANGED | constant |
public static const ZOOM_CHANGED:String = "zoom_changed"
Navigated to another page via zoom. The page attribute of the event
object will be the page of the element that corresponds to the image shown in
zoom mode.
| ZOOM_CLOSED | constant |
public static const ZOOM_CLOSED:String = "zoom_closed"Zoom's closed.
| ZOOM_STATUS_CHANGE | constant |
public static const ZOOM_STATUS_CHANGE:String = "zoom_status_change"
Zoom state changed (between opened or closed). The page attribute of the
event object will be the page of the element that corresponds to the image shown in
zoom mode when opening the zoom.