calls the windows help facility to display the appropriate help file for this control
..\HELP\IANIM.HLP
FastForwardButton_Click
single frame advancer
FindObjectIndex
Form_Activate
turns the hour glass cursor off
Form_Load
sets the displayed text for the description of the control and instructions for using the control
The Interactive Animation Control is a Custom Visual Basic Control that allows users to gain access to the powerful animation capabilities of the MediaShop's animation engine.
The window to the right provides a demo of the Interactive Animation Control. Try clicking on the dart board to see the interactive nature of this control.
makes sure that no animation changes are saved
initializes a global (to this form) variable which tracks the current animation object
mwf\test.mwf
Generic
Form_Unload
ForwardTrackButton_Click
goes to the end of the animationt
PlayButton_Click
PROAnim1_CurFrame
displayes the current frame number in a text boxp
stores the current frame number in a global variable (to the form) for use latern
PROAnim1_Load
stores the total number of frames in the animation to a global variable
MsgBox "Just Before: PROAnim1.Play = True"
MsgBox "Just AFTER: PROAnim1.Play = True""
PROAnim1_ObjMouseDown
stores the mouse x and y positions and also the type of the object that is being clicked on
if this is the first frame we are shooting the red dart
gets the index of the red dart object from the animation control. The index is usedc
to set the position and other characteristics of the object
Red Dart
make sure the animation control does not update until we are finished
change the starting X and Y positions of the object
gets the index for the red dart object which stays on the screen after the initial animation sequence
Red Dart Final
place the object at the final position on the dart boarde
tell the animation control to write all updates to the screen.e
processes the placement code used for when the yellow dart is thrown. Same as aboven
Yellow Dart
Yellow Dart Final
processes the placement code used for when the blue dart is thrown. Same as abovev
Blue Dart
Blue Dart Final
PROAnim1_ObjMouseUp
when the mouse up is received, no more processing is performed for the current object