GUIFramework.SFClipLoader

Summary
GUIFramework.SFClipLoader
Variables
m_Loader
m_CurrentScreenRes
m_NextClipID
Functions
SetupLoader
Variables
SignalDisplayResolutionChanged
SignalFrameStarted
Functions
OnScreenResChanged
CreateEmptyMovieClip
LoadClip
AddClip
UnloadClip
FindClipByPosReturns the index of the topmost toplevel clip that intersects with (x,y).
GetClipIndexSearch the list of toplevel clips for \a movie.
MoveToFrontMove the clip at position \a index to the frontmost position within it’s sorting layer.
SetClipLayer
AddClipNodeAdd a movie clip to the list of toplevel clips, and sort it according to depth layer and sub depth.
RemoveClipByIndexRemove a movie clip to the list of toplevel clips.
RemoveClipNode
OnLoadInit
UpdateClipSize
OnLoadComplete
OnLoadError
AddModalBlocker
RemoveModalBlocker
MakeClipModal
PrintTopLevelClipsDebug
Variables
s_TopLevelClips
s_ModalClips

Variables

m_Loader

private static var m_Loader: MovieClipLoader

m_CurrentScreenRes

private static var m_CurrentScreenRes: flash.geom.Point

m_NextClipID

private static var m_NextClipID: Number

Functions

SetupLoader

private static function SetupLoader() : Void

Variables

SignalDisplayResolutionChanged

public static var SignalDisplayResolutionChanged: Signal

SignalFrameStarted

public static var SignalFrameStarted: Signal

Functions

OnScreenResChanged

public static function OnScreenResChanged() : Void

CreateEmptyMovieClip

public static function CreateEmptyMovieClip(name: String,
depthLayer: Number,
subDepth: Number):MovieClip

LoadClip

public static function LoadClip(url: String,
objectName: String,
stretchToScreen: Boolean,
depthLayer: Number,
subDepth: Number,
loadArguments: Array) : ClipNode

AddClip

public static function AddClip(objectName: String,
clip: MovieClip,
depthLayer: Number,
subDepth: Number) : ClipNode

UnloadClip

public static function UnloadClip(objectName: String)

FindClipByPos

public static function FindClipByPos(x: Number,
y: Number) : Number

Returns the index of the topmost toplevel clip that intersects with (x,y).  If no clip intersects -1 is returned.

GetClipIndex

public static function GetClipIndex(movie: MovieClip) : Number

Search the list of toplevel clips for \a movie.  If found the index is returned, if not -1 is returned.

MoveToFront

public static function MoveToFront(index: Number) : Void

Move the clip at position \a index to the frontmost position within it’s sorting layer.  I.e. in front of all other clips with equal depth layer and sub depth as itself.

SetClipLayer

public static function SetClipLayer(index: Number,
depthLayer: Number,
subDepth: Number) : Void

AddClipNode

public static function AddClipNode(clipNode: ClipNode)

Add a movie clip to the list of toplevel clips, and sort it according to depth layer and sub depth.  This function should only be useed by GUIFramework.swf.

RemoveClipByIndex

public static function RemoveClipByIndex(index: Number /*,
[removeFromModal:Boolean]*/ ) : Void

Remove a movie clip to the list of toplevel clips.  This function should only be useed by GUIFramework.swf.

RemoveClipNode

public static function RemoveClipNode(movie: MovieClip) : Void

OnLoadInit

public static function OnLoadInit(clip: MovieClip)

UpdateClipSize

private static function UpdateClipSize(clipNode: ClipNode)

OnLoadComplete

private static function OnLoadComplete(movie: MovieClip,
status: Number) : Void

OnLoadError

private static function OnLoadError(movie: MovieClip,
status: Number) : Void

AddModalBlocker

private static function AddModalBlocker()

RemoveModalBlocker

private static function RemoveModalBlocker()

MakeClipModal

public static function MakeClipModal(clip: MovieClip,
makeModal: Boolean)

PrintTopLevelClipsDebug

public static function PrintTopLevelClipsDebug()

Variables

s_TopLevelClips

private static var s_TopLevelClips: Array

s_ModalClips

private static var s_ModalClips: Array
private static var m_Loader: MovieClipLoader
private static var m_CurrentScreenRes: flash.geom.Point
private static var m_NextClipID: Number
private static function SetupLoader() : Void
public static var SignalDisplayResolutionChanged: Signal
public static var SignalFrameStarted: Signal
public static function OnScreenResChanged() : Void
public static function CreateEmptyMovieClip(name: String,
depthLayer: Number,
subDepth: Number):MovieClip
public static function LoadClip(url: String,
objectName: String,
stretchToScreen: Boolean,
depthLayer: Number,
subDepth: Number,
loadArguments: Array) : ClipNode
public static function AddClip(objectName: String,
clip: MovieClip,
depthLayer: Number,
subDepth: Number) : ClipNode
public static function UnloadClip(objectName: String)
public static function FindClipByPos(x: Number,
y: Number) : Number
Returns the index of the topmost toplevel clip that intersects with (x,y).
public static function GetClipIndex(movie: MovieClip) : Number
Search the list of toplevel clips for \a movie.
public static function MoveToFront(index: Number) : Void
Move the clip at position \a index to the frontmost position within it’s sorting layer.
public static function SetClipLayer(index: Number,
depthLayer: Number,
subDepth: Number) : Void
public static function AddClipNode(clipNode: ClipNode)
Add a movie clip to the list of toplevel clips, and sort it according to depth layer and sub depth.
public static function RemoveClipByIndex(index: Number /*,
[removeFromModal:Boolean]*/ ) : Void
Remove a movie clip to the list of toplevel clips.
public static function RemoveClipNode(movie: MovieClip) : Void
public static function OnLoadInit(clip: MovieClip)
private static function UpdateClipSize(clipNode: ClipNode)
private static function OnLoadComplete(movie: MovieClip,
status: Number) : Void
private static function OnLoadError(movie: MovieClip,
status: Number) : Void
private static function AddModalBlocker()
private static function RemoveModalBlocker()
public static function MakeClipModal(clip: MovieClip,
makeModal: Boolean)
public static function PrintTopLevelClipsDebug()
private static var s_TopLevelClips: Array
private static var s_ModalClips: Array
Close