Slide
| Kind of class: | class |
|---|---|
| Inherits from: | Screen < Loader < View < UIComponent < UIObject < MovieClip |
| Classpath: | mx.screens.Slide |
| File last modified: | Tuesday, 18 December 2007, 15:44:38 |
Component metadata:
| Event | "hideChild" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- _disableArrowKeys : Boolean
- _focusFixup : Object
- _gotoSlideNesting
- _inKeyDown : Boolean
- _focusSeq : Number
- _clickFocusSeq : Number
- currentFocusedSlide : Slide
- Leaf-node slide that contains the current focused field or component
Class properties inherited from Screen
Class properties inherited from Loader
Class properties inherited from View
Class properties inherited from UIComponent
Class properties inherited from UIObject
Instance properties
- className : String
- _isSlide
- _childSlides : Array
- _currentChildSlide : Slide
- _currentSlide : Slide
- _indexInParentSlide : Number
- _childThatContainsGotoSlide : Number
- _defaultKeyDownHandler : Function
- _shown
- _laterGotoSlide
- autoKeyNav : String
- Use default keydown handling of arrow keys to navigate slides
- overlayChildren : Boolean
- Display child slides as bullet-style overlays
- playHidden : Boolean
- Continue to play the slide's timeline when the slide is not visible
- currentChildSlide : Slide
- Immediate child slide that contains the current (leaf-node) slide.
- currentSlide : Slide
- Leaf-node slide that is currently active
- defaultKeyDownHandler : Function
- keydown handler to call to process keys for this slide
- firstSlide : Slide
- First leaf slide in this slide's subtree
- lastSlide : Slide
- Last leaf slide in this slide's subtree
- indexInParentSlide : Number
- zero-based index of this slide in its parent (getChildSlide)
- nextSlide : Slide
- next slide after this slide in the slide outline
- numChildSlides : Number
- number of children of this slide that are slides, not including forms
- parentIsSlide : Boolean
- True if this slide's _parent is a slide
- parentSlide : Slide
- Slide containing this slide.
- previousSlide : Slide
- previous slide before this slide in the slide outline
- rootSlide : Slide
- Root slide of the slide subtree that contains this screen
Instance properties inherited from Screen
Instance properties inherited from Loader
Instance properties inherited from View
Instance properties inherited from UIComponent
Instance properties inherited from UIObject
__height __onUnload __width _color _endInit _id _maxHeight _maxWidth _minHeight _minWidth _preferredHeight _preferredWidth _tf _topmost addEventListener bottom buildDepthTable changeColorStyleInChildren changeTextStyleInChildren childrenCreated className clipParameters color createAccessibilityImplementation createChildAtDepth createClassChildAtDepth createEvent dispatchEvent embedFonts findNextAvailableDepth fontFamily fontSize fontStyle fontWeight handleEvent height idNames ignoreClassStyleDeclaration initProperties invalidateFlag left lineColor lineWidth marginLeft marginRight methodTable minHeight minWidth notifyStyleChangeInChildren removeEventListener right scaleX scaleY setStyle stylecache styleName tabEnabled textAlign textDecoration textIndent tfList top validateNow visible width x y
Class methods
Class methods inherited from UIObject
Instance methods
- getChildSlide (childIndex:Number) : Slide
- Get the nth child of this slide (zero-based)
- gotoFirstSlide
- gotoLastSlide
- gotoNextSlide : Boolean
- Navigate to the next leaf slide after this slide
- gotoPreviousSlide : Boolean
- Navigate to the previous leaf slide before this slide
- gotoSlide (newSlide:Slide) : Boolean
- Navigate to a different slide
- doLaterGotoSlide
- init
- registerChildSlide (slide:Slide)
- useDefaultKeyDownHandler : Boolean
- callDefaultKeyDownHandler (o:Object)
- autoKeyDownHandler (o:Object)
- allTransitionsOutDone (o:Object)
- showSlide
- hideSlide
- doStop : Void
- hideHandler (o:Object)
- doPlay : Void
- revealHandler (o:Object)
- childLoaded (obj:MovieClip) : Void
- shouldHideDuringGoto : Boolean
- destroyChildAt (childIndex:Number) : Void
- destroy the Nth child object.
- allAncestorsVisible : Boolean
- isAncestor (a:Object, o:Object)
- hasMouseHandler (o:Object)
- getMousedChild (x:Number, y:Number, o:Object) : Object
- mouseDownSomewhereHandler (o:Object) : Void
- clickSetFocus : Void
Instance methods inherited from ScreenInstance methods inherited from LoaderInstance methods inherited from ViewInstance methods inherited from UIObject__getTextFormat _createChildren _getTextFormat cancelAllDoLaters constructObject createChildren createClassObject createEmptyObject createLabel createObject createSkin destroyObject doLater doLaterDispatcher draw drawRect getClassStyleDeclaration getMinHeight getMinWidth getSkinIDName getStyle getStyleName init initFromClipParameters invalidate invalidateStyle move redraw setColor setMinHeight setMinWidth setSize setSkin setVisible sizeEvent handlersEvent handlers inherited from UIComponent
Constructor
Slide
function Slide (
)
Class properties
_clickFocusSeq
static private _clickFocusSeq:Number = 0
(read)
_disableArrowKeys
static private _disableArrowKeys:Boolean = false
(read)
_focusFixup
static private _focusFixup:Object = null
(read)
_focusSeq
static private _focusSeq:Number = 0
(read)
_gotoSlideNesting
static private _gotoSlideNesting = 0
(read)
_inKeyDown
static private _inKeyDown:Boolean = false
(read)
currentFocusedSlide
Leaf-node slide that contains the current focused field or component
Read-Only: use setFocus() to set the focus
Read-Only: use setFocus() to set the focus
symbolName
static symbolName:String = "Slide"
(read)
symbolOwner
static symbolOwner:Object = mx.screens.Slide
(read)
Instance properties
_childSlides
private _childSlides:Array
(read)
_childThatContainsGotoSlide
private _childThatContainsGotoSlide:Number = -1
(read)
_currentChildSlide
_currentSlide
_defaultKeyDownHandler
private _defaultKeyDownHandler:Function = null
(read)
_indexInParentSlide
private _indexInParentSlide:Number = -1
(read)
_isSlide
private _isSlide = true
(read)
_laterGotoSlide
private _laterGotoSlide = null
(read)
_shown
private _shown = false
(read)
className
className:String = "Slide"
(read)
currentChildSlide
Immediate child slide that contains the current (leaf-node) slide.
Read-Only: use gotoSlide() to set the currentChildSlide
Read-Only: use gotoSlide() to set the currentChildSlide
currentSlide
Leaf-node slide that is currently active
Read-Only: use gotoSlide() to set the currentChildSlide
Read-Only: use gotoSlide() to set the currentChildSlide
defaultKeyDownHandler
defaultKeyDownHandler:Function
(read,write)
keydown handler to call to process keys for this slide
firstSlide
First leaf slide in this slide's subtree
Read-Only: use createChild() to create new slides
Read-Only: use createChild() to create new slides
indexInParentSlide
indexInParentSlide:Number
(read)
zero-based index of this slide in its parent (getChildSlide)
Read-Only: use createChild() to add new child slides
Read-Only: use createChild() to add new child slides
lastSlide
Last leaf slide in this slide's subtree
Read-Only: use createChild() to create new slides
Read-Only: use createChild() to create new slides
nextSlide
next slide after this slide in the slide outline
Read-Only: use createChild() to add new child slides
Read-Only: use createChild() to add new child slides
numChildSlides
numChildSlides:Number
(read)
number of children of this slide that are slides, not including forms
Read-Only: use createChild() to add new child slides
Read-Only: use createChild() to add new child slides
overlayChildren
overlayChildren:Boolean = false
(read)
Display child slides as bullet-style overlays
parentIsSlide
parentIsSlide:Boolean
(read)
True if this slide's _parent is a slide
Read-Only: use createChild() to add new child slides
Read-Only: use createChild() to add new child slides
parentSlide
Slide containing this slide. May be null for the root slide.
Read-Only: use createChild() to add new child screens
Read-Only: use createChild() to add new child screens
playHidden
playHidden:Boolean = true
(read)
Continue to play the slide's timeline when the slide is not visible
previousSlide
previous slide before this slide in the slide outline
Read-Only: use createChild() to add new child slides
Read-Only: use createChild() to add new child slides
rootSlide
Root slide of the slide subtree that contains this screen
Read-Only: use createChild() to add new child screens
Read-Only: use createChild() to add new child screens
Instance methods
allAncestorsVisible
private function allAncestorsVisible (
) : Boolean
allTransitionsOutDone
private function allTransitionsOutDone (
o:Object)
autoKeyDownHandler
private function autoKeyDownHandler (
o:Object)
callDefaultKeyDownHandler
private function callDefaultKeyDownHandler (
o:Object)
clickSetFocus
private function clickSetFocus (
) : Void
destroyChildAt
function destroyChildAt (
childIndex:Number) : Void
destroy the Nth child object. Remaining child objects get renumbered
# doLaterGotoSlide
function doLaterGotoSlide (
)
doPlay
private function doPlay (
) : Void
doStop
private function doStop (
) : Void
getChildSlide
Get the nth child of this slide (zero-based)
Parameters:
childIndex:
which slide to get
getMousedChild
private function getMousedChild (
x:Number,
y:Number,
o:Object) : Object
gotoFirstSlide
function gotoFirstSlide (
)
Navigate to the first leaf slide below this slide
gotoLastSlide
function gotoLastSlide (
)
Navigate to the last leaf slide below this slide
gotoNextSlide
function gotoNextSlide (
) : Boolean
Navigate to the next leaf slide after this slide
gotoPreviousSlide
function gotoPreviousSlide (
) : Boolean
Navigate to the previous leaf slide before this slide
gotoSlide
Navigate to a different slide
Parameters:
newSlide:
which slide to navigate to
hasMouseHandler
private function hasMouseHandler (
o:Object)
hideHandler
private function hideHandler (
o:Object)
hideSlide
private function hideSlide (
)
isAncestor
private function isAncestor (
a:Object,
o:Object)
mouseDownSomewhereHandler
private function mouseDownSomewhereHandler (
o:Object) : Void
registerChildSlide
revealHandler
private function revealHandler (
o:Object)
shouldHideDuringGoto
private function shouldHideDuringGoto (
) : Boolean
showSlide
private function showSlide (
)
useDefaultKeyDownHandler
private function useDefaultKeyDownHandler (
) : Boolean