CompuServe Thread

Animator VBX

6 messages in this thread
#97829From: Rich FrankApr 19, 1994 5:50 PM
I have been working with the animation visual basic control (in Visual C++) and for the most part is is working well… I am trying to get the control to play a certain number of frames, pause (with notification), and then continue from that point. I have not been able to get the AnimFrame event to trigger so I can issue a pause. The AnimStop event does work, however. So I set EndFrame to stop at the desired location. Then I set StartFrame and EndFrame to proceed with the second half of the animation. The problem with this method is that the first frame flashes before continuing from the desired frame. Can anyone suggest why I can't get the AnimFrame event to work? I have set FrameEvents true but do not know how to set aaNotify. OR can someone tell me how to play an animation starting from a specific frame without flashing the first frame. Any help would be appreciated. (My VBX dates 12/18/91)
#97944From: Brian Rudolph [Adesk]Apr 20, 1994 10:56 AM
Well, There is certainly a newer version of the VBX file than the one you have. Download VBXFIX.ZIP from the Forum for the lastest version. There were a few bugs fixed with palette control and GET/SET parm notifiacation in this version, but I am not sure if includes exactly what you are trying to do. I will look into your problem a little more and try to recreate what you are trying to do here. -Brian
#98024From: T. Lee KidwellApr 20, 1994 7:08 PM
Brian, this is the same problem I had which I mentioned in the previous messages. I have the latest version of the VBX but I have not download VBFIX. I will do that now.
#98133From: Brian Rudolph [Adesk]Apr 21, 1994 11:50 AM
>>… download VBFIX. I will do that now. Good. Let me know if this solves your problems. There are details on the functionality and problems that were addressed in this fix. I will scan back and see if I can find the message Nik Forwarded to me. It has already scrolled off the forum, so I will have to do some hunting. I apologize if he forwarded this to me and I did not respond. I must have misread or missunderstood what I was supposed to do. -Brian
#98430From: Rich FrankApr 23, 1994 3:08 PM
I did download the newer version. After a little more research, I found that we must call the aaNotify DLL function directly to register each frame for FrameNotify. It works. Though it does seem that it is about the only thing that cannot be setup as a .VBX property. I suspect because it would need to be set up as an array of integers which may not be possible through VBX. I have learned more than I intended to, but am happy not to need to read the .FLC file directly. The only thing I wish I could do is make the control place images in a memory bitmap as I need to overlay additional information rather than always to the screen. Thank you for the reply.
#98627From: Brian Rudolph [Adesk]Apr 25, 1994 10:50 AM
>>The only thing I wish I could do is make the control place images in a memory bitmap as I need to overlay additional information rather than always to the screen. Yes, control of the animation window is very difficult. This is because the player window is really two windows. First there is the child window, the one you create from your application. Then there is a second borderless windows that is carefully laid on top of the child, only its not a child window, its a parent window of the AAPLAY.DLL. This is why it can't be controlled because it really isn't owned by the application that is using the DLL. -Brian