Skip to content

GFxMoviePlayer

Class in GFxUI · GFxUI.GFxMoviePlayer · native, config

Object › GFxMoviePlayer

Subclasses: H7FlashMovieCntl

Using it from Lua
h7.find_all("GFxMoviePlayer")            -- live instances
h7.find_class("GFxUI.GFxMoviePlayer")   -- the class
h7.hook("GFxUI.GFxMoviePlayer.ActionScriptConstructor", fn)

Enums

ASType

AS_Undefined = 0, AS_Null = 1, AS_Number = 2, AS_Int = 3, AS_String = 4, AS_Boolean = 5

GFxAlign

Align_Center = 0, Align_TopCenter = 1, Align_BottomCenter = 2, Align_CenterLeft = 3, Align_CenterRight = 4, Align_TopLeft = 5, Align_TopRight = 6, Align_BottomLeft = 7, Align_BottomRight = 8

GFxRenderTextureMode

RTM_Opaque = 0, RTM_Alpha = 1, RTM_AlphaComposite = 2

GFxScaleMode

SM_NoScale = 0, SM_ShowAll = 1, SM_ExactFit = 2, SM_NoBorder = 3

GFxTimingMode

TM_Game = 0, TM_Real = 1

Structs

ASValue

FieldType
TypeASType
bbool
nfloat
iint
stringinit
Defaults
Type=AS_Undefined

ExternalTexture

FieldType
Resourcestring
TextureTexture

GFxWidgetBinding

FieldType
WidgetNamename
WidgetClassclass<GFxObject>

SoundThemeBinding

FieldType
ThemeNameName
ThemeUISoundTheme
ThemeClassNamestring

Properties

NameTypeNotes
ASUClassesMapconst, transient, native, private
ASUObjectsMapconst, transient, native, private
bAllowFocusbool
bAllowInputbool
bAutoPlaybool
bBlurLesserMoviesbool
bCaptureInputbool
bCaptureMouseInputbool
bCaptureWorldRenderingbool
bCloseOnLevelChangebool
bDisableWorldRenderingbool
bDiscardNonOwnerInputbool
bDisplayWithHudOffbool
bEnableGammaCorrectionbool
bForceFullViewportbool
bHideLesserMoviesbool
bIgnoreBlurEffectbool
bIgnoreMouseInputbool
bIgnoreVisibilityEffectbool
bIsPriorityBlurredbool
bIsPriorityHiddenbool
bIsSplitscreenLayoutModifiedbooltransient
bLogUnhandedWidgetInitializationsbool
bMovieIsOpenboolconst
bOnlyOwnerFocusablebool
bPauseGameWhileActivebool
bShowHardwareMouseCursorbool
bWidgetsInitializedThisFrameboolconst, transient
CaptureKeysarray
ExternalInterfaceObject
ExternalTexturesarray<ExternalTexture>
FocusIgnoreKeysarray
LocalPlayerOwnerIndexinttransient
MovieInfoSwfMovie
NextASUObjectintconst, transient, private
pCaptureKeyspointerconst, transient, native
pFocusIgnoreKeyspointerconst, transient, native
pMoviepointerconst, transient, native
Prioritybyteprivate
RenderTextureTextureRenderTarget2D
RenderTextureModeGFxRenderTextureMode
SoundThemesarray<SoundThemeBinding>
SplitscreenLayoutObjectGFxObjecttransient
SplitscreenLayoutYAdjustintconfig
TimingModeGFxTimingModeprivate
WidgetBindingsarray<GFxWidgetBinding>
WidgetPathBindingsmapconst, native

Functions

NameDeclaration
ActionScriptConstructorprotected final native function GFxObject ActionScriptConstructor(string classname)
ActionScriptFloatprotected final native function float ActionScriptFloat(string path)
ActionScriptIntprotected final native function int ActionScriptInt(string path)
ActionScriptObjectprotected final native function GFxObject ActionScriptObject(string path)
ActionScriptSetFunctionprotected final native function ActionScriptSetFunction(GFxObject Object, string Member)
ActionScriptStringprotected final native function string ActionScriptString(string path)
ActionScriptVoidprotected final native function ActionScriptVoid(string path)
AddCaptureKeyfinal native function AddCaptureKey(name key)
AddFocusIgnoreKeyfinal native function AddFocusIgnoreKey(name key)
Advancefinal native function Advance(float time)
ApplyPriorityBlurEffectfunction ApplyPriorityBlurEffect(bool bRemoveEffect)
ApplyPriorityEffectevent ApplyPriorityEffect(bool bRequestedBlurState, bool bRequestedHiddenState)
ApplyPriorityVisibilityEffectfunction ApplyPriorityVisibilityEffect(bool bRemoveEffect)
ClearCaptureKeysfinal native function ClearCaptureKeys()
ClearFocusIgnoreKeysfinal native function ClearFocusIgnoreKeys()
Closefinal native function Close(optional bool Unload = TRUE)
ConditionalClearPausefinal event ConditionalClearPause()
ConsoleCommandfunction ConsoleCommand(string Command)
CreateArraynative function GFxObject CreateArray()
CreateObjectnative function GFxObject CreateObject(string ASClass, optional class<GFxObject> type, optional array<ASValue> args)
FilterButtonInputevent bool FilterButtonInput(int ControllerId, name ButtonName, EInputEvent InputEvent)
FlushPlayerInputfinal native function FlushPlayerInput(bool capturekeysonly)
GetAVMVersionnative function int GetAVMVersion()
GetGameViewportClientfinal native function GameViewportClient GetGameViewportClient()
GetLPevent LocalPlayer GetLP()
GetPausefunction bool GetPause() (no declaration: types are approximate)
GetPCevent PlayerController GetPC()
GetVariablenative function ASValue GetVariable(string path)
GetVariableArraynative function bool GetVariableArray(string path, int index, out array<ASValue> arg)
GetVariableBoolnative function bool GetVariableBool(string path)
GetVariableFloatArraynative function bool GetVariableFloatArray(string path, int index, out array arg)
GetVariableIntnative function int GetVariableInt(string path)
GetVariableIntArraynative function bool GetVariableIntArray(string path, int index, out array arg)
GetVariableNumbernative function float GetVariableNumber(string path)
GetVariableObjectnative function GFxObject GetVariableObject(string path, optional class<GFxObject> type)
GetVariableStringnative function string GetVariableString(string path)
GetVariableStringArraynative function bool GetVariableStringArray(string path, int index, out array arg)
GetVisibleFrameRectfinal native function GetVisibleFrameRect(out float x0, out float y0, out float x1, out float y1)
Initfunction Init(optional LocalPlayer LocPlay)
Invokenative function ASValue Invoke(string method, array<ASValue> args)
OnCleanupevent OnCleanup()
OnCloseevent OnClose()
OnFocusGainedevent OnFocusGained(int LocalPlayerIndex)
OnFocusLostevent OnFocusLost(int LocalPlayerIndex)
OnPostAdvancedelegate OnPostAdvance(float DeltaTime)
PlaySoundFromThemefunction PlaySoundFromTheme(name EventName, optional name SoundThemeName = 'default')
PostAdvancenative function PostAdvance(float DeltaTime)
PostWidgetInitevent PostWidgetInit()
SetAlignmentfinal native function SetAlignment(GFxAlign a)
SetExternalInterfacefunction SetExternalInterface(Object h)
SetExternalTexturenative function bool SetExternalTexture(string resource, Texture texture)
SetMovieCanReceiveFocusfinal native function SetMovieCanReceiveFocus(bool bCanReceiveFocus)
SetMovieCanReceiveInputfinal native function SetMovieCanReceiveInput(bool bCanReceiveInput)
SetMovieInfofunction SetMovieInfo(SwfMovie data)
SetPausenative function SetPause(optional bool bPausePlayback = TRUE)
SetPerspective3Dfinal native function SetPerspective3D(const out matrix matPersp)
SetPrioritynative function SetPriority(byte NewPriority)
SetTimingModenative function SetTimingMode(GFxTimingMode mode)
SetVariablenative function SetVariable(string path, ASValue Arg)
SetVariableArraynative function bool SetVariableArray(string path, int index, array<ASValue> Arg)
SetVariableBoolnative function SetVariableBool(string path, bool b)
SetVariableFloatArraynative function bool SetVariableFloatArray(string path, int index, array Arg)
SetVariableIntnative function SetVariableInt(string path, int i)
SetVariableIntArraynative function bool SetVariableIntArray(string path, int index, array Arg)
SetVariableNumbernative function SetVariableNumber(string path, float f)
SetVariableObjectnative function SetVariableObject(string path, GFxObject Object)
SetVariableStringnative function SetVariableString(string path, string s)
SetVariableStringArraynative function bool SetVariableStringArray(string path, int index, array Arg)
SetView3Dfinal native function SetView3D(const out matrix matView)
SetViewportfinal native function SetViewport(int x, int y, int width, int height)
SetViewScaleModefinal native function SetViewScaleMode(GFxScaleMode SM)
SetWidgetPathBindingfinal native function SetWidgetPathBinding(GFxObject WidgetToBind, name Path)
Startnative event bool Start(optional bool StartPaused = false)
UpdateSplitscreenLayoutnative function UpdateSplitscreenLayout()
WidgetInitializedevent bool WidgetInitialized(name WidgetName, name WidgetPath, GFxObject Widget)
WidgetUnloadedevent bool WidgetUnloaded(name WidgetName, name WidgetPath, GFxObject Widget)

Default values

bEnableGammaCorrection=FALSE
bDisplayWithHudOff=TRUE
bLogUnhandedWidgetInitializations=TRUE
bAllowInput=TRUE
bAllowFocus=TRUE
bCloseOnLevelChange=TRUE
Priority=1

Inherited

FromMembers
Object13 properties, 308 functions