Programming Help:Refresh Method
Appearance
| Refresh Method | |
|---|---|
| Refreshes the actor, primarily used for clearing any visual glitches. |
|
| Introduced in version: | Microsoft Actor 1.0 |
| Removed in version: | Still in use |
| Allowed values: | None |
| Default value: | None |
Examples
Inline example (Visual Basic 3.0)
Actor1.Refresh
Advanced example (Visual Basic 3.0)
' This code cycles through the first three actor animations while refreshing before it is started
Private Sub Command2_Click()
Dim i As Integer
On Error Resume Next
For i = 1 To 3
Actor1.Refresh
Actor1.Action = i
DoEvents
Next i
End Sub
Remarks
This method has no parameters or parts and is particularly useful for clearing glitched pieces of actors.