Ken,
My basic order of operations is this…
——————————–
// During App Startup
aaOpen ();
hAnim = aaLoad ("cdrom.fli", HWindow, AA_HIDEWINDOW | AA_NOPALETTE |
AA_FULLSCREEN | AA_NOFAIL, 0, 0, 0, 0, 0, 0);
aaPlay ((HAA) hAnim);
// During App Shutdown
aaStop (hAnim);
if (hAnim != NULL)
aaUnload (hAnim);
aaClose ();
——————————–
I had the understanding that by default, aaPlay should play the animation one
time through, and then stop. That is, of course, unless different flags (like
AA_LOOP?) are used with aaLoad. Howerver, it doesn't stop at all.
I could use aaStop, but I don't know when to use it. I never seems to get any
notification when an animation sequence is finished and loops…
I also tried setting the number of frames to play to 100 (about 2/3 of the anim
I am using), and NOTHING played. HWindow is my current (top level) window.
What do you think?
–Michael Wells