Scaleform::GFx::Movie::SetVarType

Scaleform::GFx::Movie::SetVarType
enum SetVarType {
  SV_Normal,
  SV_Sticky,
  SV_Permanent
};
Description

SetVarType describes the delayed assignment queuing behavior of SetVariable and SetVariableDouble functions; the use of this flag allows developers to control the type of effect the variable assignment will have on target objects that have not yet been created at the time of SetVariable call. 

Sticky and permanent types of assignments are particularly useful in SWF files that contain startup animation that plays back before the target clip which displays the information is created. A normal type of assignment would fail in this situation for as long as that target has not yet been created, making it difficult for a C++ developer to initialize movie content with correct information right after creation. Sticky and permanent assignments offer a solution, as they are queued up and do not actually execute until the target becomes available. They are, however, more expensive and should be used only when necessary.

Members
Members 
Description 
SV_Normal 
Sets variable only if target movie clip containing the variable is found. 
SV_Sticky 
Sets variable if target clip is found, otherwise queues a set until the clip is created at path. When the target clip is created, value will be lost. 
SV_Permanent 
Sets variable applied to this and all future clips at given path. 
File

GFx_Player.h