This overloaded methods load ToolTipsFactory Animations from file.[Visual Basic] Public Overloads Sub Load(ByVal Path As String) Public Overloads Sub Load(ByVal Path As String, Position As Integer)[C#] public void Load(string path); public void Load(string path, int position);
The full path and name of the Animation-file to load.
The position, where the loaded Animation should be inserted in the current instance.
The first method (Load(Path)) loads the file specified by Path. If the file is a valid ToolTipsFactory Animation-file, the Animation previously held by the Animation-object, will be replaced by the loaded one. If the file can not be found or is not a valid Animation-file, Nothing is returned and the current Animation will be cleared.
The second method (Load(Path, Position)) merges the Animation from the file specified in Path into the Animation currently held by the Animation-object. The loaded AnimationFrames will be inserted at the specified position. If the file can not be found or is not a valid Animation-file, Nothing is returned and the current Animation will remain unchanged.
'Create a new Animation...
Dim myAnimation As Animation
'...and load an existing ToolTipsFactory Animation from file.
'Insert a commercial clip in the middle of the main movie..
Dim Length As Integer = myAnimation.Frames.Count
myAnimation.Load("C:\Movies\ToolTipsFactory.afx", CInt(Length / 2))