From: Dan S. <dy...@fu...> - 2000-12-01 16:13:59
|
Notes: - I don't understand why can't you do getImage() before onLoad. Does this effect DynAPI.getImage() in images.js also? It all works fine in Netscape. I will investigate it. - Label unwrap was removed, it is no longer needed really, I just forgot to take it out of the example file. The text selecting problem is IE specific, I know there is a method that will stop text selecting on a div, this code would be put into Label.setSelectable(). And yes, certainly the border option can be done. - I quietly rezipped my file after I initially posted my message, I fixed some of the scrolling problems in ViewPort/ScrollBar. Perhaps download the file again and see if it was the same as you downloaded. - The adding and removing of DynLayers is handled by DynLayer, it would not be a problem specific to my widgets. That problem doesn't affect the Netscape version, so I am almost positive that this is a DynLayer/IE specific bug. - ImageAnim is definately a good replacement for GifAnim, it has a few features that were not available before like adding several animations, and selectively switching between them at any time, and to play the animations in "alternating" mode where it plays forward/backward/forward... No memory leaks as far as I can tell. You'll see a great application of it in my bumblebee demo when I fix it. Dan On Thu, Nov 30, 2000 at 02:58:44PM +0100, Richard :o) wrote: > Hi, > First and foremost, thanks to you Dan, and the other developers for sharing > your hard work with us, it is really appreciated. > Your new animation widgets are incredible, I'll be up all night trying them. > > I gave your examples a quick test, and include my buglist here: (I noticed > in the source you are aware of most of these) > Tested on winMe IE5.5 500p3. > > Buglist: > > * text select problem in button.js - needs coverLayer or something. > > * in Dynimage demo : (uimg-dimg-limg-rimg incuded after DynAPI.onLoad): > > DynAPI.onLoad = function() { > uimg = DynImage.getImage('../js/lib/dynapi/images/common/arrowup.gif'); > dimg = DynImage.getImage('../js/lib/dynapi/images/common/arrowdown.gif'); > limg = DynImage.getImage('../js/lib/dynapi/images/common/arrowleft.gif'); > rimg = DynImage.getImage('../js/lib/dynapi/images/common/arrowright.gif'); > > img = new DynImage(); > img.moveTo(50,150); > img.setSize(16,16); > img.setImageSrc('../js/lib/dynapi/images/common/arrowright.gif'); > > DynAPI.document.addChild(img); > } > > * in Label - non-wrappable lable doesn't resize or unwrap (causes error) > + non-selectable doesn't work > + why not make table-border-width user definable?(instead of inserting a > second table for the border) > > * in PushPanel: scroll doesn't stop anymore > + the pushpanel seems to delete the labels after use, instead of hiding > them, so you can only view a label once. > > * ScrollPane: Rename all instances of scroll to scrollBar (someone had a > lot of problems with this) > +Move 'MetalScrollPaneURL = "../js/lib/dynapi/images/scrollpane/"' after > DynAPI.onload > +same problem as pushpanel with deleting labels. > > * ViewPort : same problem as pushpanel with deleting labels. > > * ImgeAnim : I had to include the arrows array declaring, after > DynAPI.onload. > +What's memory leakage performance like? is it a good replacement for > animated gif? > > end of buglist > > Cheers, > Richard :o) > > > ----- Original Message ----- > From: "Dan Steinman" <dy...@fu...> > To: <dyn...@li...> > Sent: Friday, December 01, 2000 12:44 PM > Subject: [Dynapi-Dev] New Animation System > > > > 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 > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > ____________________________________________________________ > > Get your FREE personal .com domain name and > > NAMEzero Personal Portal at: http://www.namezero.com. > > For customer service, mailto:cus...@na.... > > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |