- Found in:
- F4SE
boolfunctionLoad(stringmenu, stringsourceVar, stringassetPath, ScriptObjectreceiver=NONE, stringcallback="")NativeGlobal
Description
Wiki Description
Loads a child swf to the target.
Documentation Comment
Loads an asset (swf) as a child to the target variable
Target variable must be a Container (or has the addChild function)
This function will create a Loader object, add the Loader to the target
Then load the asset as a child to the Loader, this function is not immediate
Parameters
stringmenu
CK Wiki Description
Placeholder Description.
stringsourceVar
CK Wiki Description
Placeholder Description.
stringassetPath
CK Wiki Description
Placeholder Description.
ScriptObjectreceiver=NONE
CK Wiki Description
Placeholder Description.
stringcallback=""
CK Wiki Description
Placeholder Description.
Examples
; Placeholder Code.Auto-Generated Example
string myString__menu
string myString__sourceVar
string myString__assetPath
ScriptObject myScriptObject__receiver
string myString__callback
bool returnedValue = UI.Load(myString__menu, myString__sourceVar, myString__assetPath, myScriptObject__receiver, myString__callback)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
