AVI Object - Load

Loads a new video file into an AVI Object.

Action ID:
Action Category:
Action List Syntax:

88
AVI Object
AVIObject[<<OBJECTNAME>>].Load (<<DOCUMENT>>)

Settings

Object

The AVI Object that will have the new video loaded into it.

If the AVI Object is visible when the action is performed, the new video will be loaded into the AVI Object and the first frame will be displayed. (The new video will not start playing automatically.)

If the AVI Object is not visible, the new AVI video will be loaded into the object, but will not be made visible until the AVI Object is shown (using a Page - Show Object action).

File name:

The full path and filename of the AVI video that will be loaded into the AVI Object.

Press the Locate file button ( ) to browse your project's Distribution Folder for a file. (You will need to distribute this file with your AutoPlay application.) Or, simply type the full path to where the file will be at run time directly into the field.

External reference

The External reference option is always enabled for the File name field.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_AVI_OBJECT_LOAD

MSG_ERR_AVI_OBJECT_LOAD
MSG_ERR_OBJECT_NOT_FOUND
<<OBJECTNAME>>

1

MSG_ERR_AVI_OBJECT_LOAD

MSG_ERR_AVI_OBJECT_LOAD
MCI Error String

<<DOCUMENT>>

Examples

Loading and playing a different AVI