From: Dan S. <dy...@fu...> - 2000-12-01 06:20:48
|
My latest code can be downloaded from: http://fury161.dyndns.org/dynapi-11.12-dan.zip Robert R, can you just take this zip file and make it the "latest beta"? BTW, I think we should open CVS up again and make a little tutorial on how to use it for our dev team. This is the 11.12 beta release, plus my widgets, plus the changes I mentioned yesterday, plus some small fixes to LoadPanel. The new animation system is ready to use (aside from one slide bug that I just noticed before posting this message). You have the following new animation objects: Thread - a small timer objects, other animation objects extend thread (so they are all threads and work similarly) PathAnimation - a new Path animation system that replaces Slide animation CircleAnimation - moves a layer in a circle HoverAnimation - moves a layer in a hovering motion ImageAnimation - equivalent to what used to be GifAnim in Dynapi The PathAnimation file also includes a very small DynLayer extention for doing slide animations. There is only .slideTo(x,y,inc,speed), and .stopSlide() methods. This extention merely creates a path animation on the fly and plays it immediately. Instead of firing slidestart, slide, and slideend events, PathAnimation will call pathstart, pathrun, and pathstop respectivly. I also made a DynImage widget that is basically what Jordi had created a while go, it is needed for ImageAnimation. As well I've decided to scrap the Sprite widget for the time being. I was going to make Sprite the only way to do slides, and include the image support, but I think splitting it into a DynLayer extention and the DynImage widget is a more desirable structure. ScrollBar and ViewPort needed minor fixes due to the Slide change. In doing this I noticed my new Slide animation code was not 100% right, the Scrollbar is a little flakey at the moment. I'll go over it again and iron that bug out. After that change the "slide.js" code can be deprecated. This new code is far far superior. I made demos for each of the new objects so you can see for yourself how they work. I have to go back and update my Solar and BumbleBee demos again, they show a real-world application of this code and it works extremely well. Any questions/comments, feel free to post em... Dan |