From: Michael P. <mp...@ph...> - 2001-03-11 11:47:37
Attachments:
grow.zip
|
I'm just not having much luck with my attachments of late, here should be the actual attachement. -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard B. <ma...@ri...> - 2001-03-11 12:48:22
|
Yes, very nice. I just looked at the source, and it's certainly more inline with the other animations. That's the idea I should apply to wipe.js too. And maybe to my pathanimBendAddon . Regarding slideTo/grow, I think you listen for ongrowrun, and move the layer "myLayer.moveBy(3)" or whatever. If you find a way of combining animations that would be great, but I think that is tied in with a timeline which returns a stepSize value, like we where discussing in another thread. Then you would have frames, so you could say my slideTo() goes from frame 20 to frame 40, and grow.playAnimation(false) starts at frame 30 to frame 40. Widgets would have their own little timeline, for internal animations. Then we add key-frames and tweening, and action-script, - ahh what am I talking about, that'd never sell ;o). Richard. ----- Original Message ----- From: "Michael Pemberton" <mp...@ph...> To: <dyn...@li...> Sent: Sunday, March 11, 2001 12:46 PM Subject: [Dynapi-Widgetdev] Grow Animation (again) > I'm just not having much luck with my attachments of late, here should > be the actual attachement. > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 |
From: Michael P. <mp...@ph...> - 2001-03-11 13:00:51
|
when did we become DynMacromedia ?? just kidding : ) if you want, I've got your old code and can have a go at making the conversion. Also what do you think of the java like class setup. I was thinking of changing my code so that all object constructors are attached to a single point and then we can simply delete them all from there in some sort of memory leak "solution". eg: code.ext.Animation.Glow code.gui.DynLayer, gui.DynDocument code.gui.ScrollBar similar to that used for accessing java classes in Netscape LiveConnect. Richard Bennett wrote: > Yes, very nice. > I just looked at the source, and it's certainly more inline with the other > animations. > That's the idea I should apply to wipe.js too. > And maybe to my pathanimBendAddon . > > Regarding slideTo/grow, I think you listen for ongrowrun, and move the layer > "myLayer.moveBy(3)" or whatever. > If you find a way of combining animations that would be great, but I think > that is tied in with a timeline which returns a stepSize value, like we > where discussing in another thread. > Then you would have frames, so you could say my slideTo() goes from frame 20 > to frame 40, and grow.playAnimation(false) starts at frame 30 to frame 40. > Widgets would have their own little timeline, for internal animations. > Then we add key-frames and tweening, and action-script, - ahh what am I > talking about, that'd never sell ;o). > > Richard. > > ----- Original Message ----- > From: "Michael Pemberton" <mp...@ph...> > To: <dyn...@li...> > Sent: Sunday, March 11, 2001 12:46 PM > Subject: [Dynapi-Widgetdev] Grow Animation (again) > > > I'm just not having much luck with my attachments of late, here should > > be the actual attachement. > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev -- Michael Pemberton mp...@ph... ICQ: 12107010 |
From: Richard B. <ma...@ri...> - 2001-03-11 13:47:48
|
> if you want, I've got your old code and can have a go at making the conversion. Feel free, I was just wondering what's the best setup, on one hand it's nice and simple to be able to call myLayer.grow() or myLayer.shrink() On the other hand the animation extension approach is more solid. Is there an easy way to link the two? something like: DynLayer.prototype.setGrow= function(dlyr,stepn,stepsize,speed) { this.grow = new Animation.Grow(dlyr,stepn,stepsize,speed); } DynLayer.prototype.grow= function() { if(this.grow)this.grow.playAnimation(false); } DynLayer.prototype.shrink= function() { if(this.grow)this.grow.playAnimation(true); } Could it be so simple, or am I missing something? > Also what do you think of the java like class setup. I found it "interesting", but I'm not a Java user, so I'm not sure how that works, and as I have enough to do as it is, I leave the structural changes to those who know what they are talking about ;O) BTW I found a PDF on cross-browser JAVA, with something on the Mac, and having to call something twice for it to work, do you want me to look for it again? Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi > when did we become DynMacromedia ?? > > just kidding : ) > > if you want, I've got your old code and can have a go at making the conversion. > > Also what do you think of the java like class setup. > > I was thinking of changing my code so that all object constructors are attached > to a single point and then we can simply delete them all from there in some sort > of memory leak "solution". > eg: code.ext.Animation.Glow > code.gui.DynLayer, gui.DynDocument > code.gui.ScrollBar > > similar to that used for accessing java classes in Netscape LiveConnect. > |
From: Michael P. <mp...@ph...> - 2001-03-11 14:04:18
|
it should be. that's how slideTo works. Richard Bennett wrote: > > if you want, I've got your old code and can have a go at making the > conversion. > > Feel free, I was just wondering what's the best setup, on one hand it's > nice and simple to be able to call > myLayer.grow() or > myLayer.shrink() > On the other hand the animation extension approach is more solid. > Is there an easy way to link the two? > something like: > > DynLayer.prototype.setGrow= function(dlyr,stepn,stepsize,speed) { > this.grow = new Animation.Grow(dlyr,stepn,stepsize,speed); > } > > DynLayer.prototype.grow= function() { > if(this.grow)this.grow.playAnimation(false); > } > > DynLayer.prototype.shrink= function() { > if(this.grow)this.grow.playAnimation(true); > } > > Could it be so simple, or am I missing something? > > > Also what do you think of the java like class setup. > I found it "interesting", but I'm not a Java user, so I'm not sure how that > works, and as I have enough to do as it is, I leave the structural changes > to those who know what they are talking about ;O) > > BTW I found a PDF on cross-browser JAVA, with something on the Mac, and > having to call something twice for it to work, do you want me to look for it > again? > > Cheers, > Richard Bennett > > ma...@ri... > www.richardinfo.com > (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) > Find the DynAPI faq here: > http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 > Browse the mailinglist here: > http://www.mail-archive.com/index.php3?hunt=dynapi > > > when did we become DynMacromedia ?? > > > > just kidding : ) > > > > if you want, I've got your old code and can have a go at making the > conversion. > > > > Also what do you think of the java like class setup. > > > > I was thinking of changing my code so that all object constructors are > attached > > to a single point and then we can simply delete them all from there in > some sort > > of memory leak "solution". > > eg: code.ext.Animation.Glow > > code.gui.DynLayer, gui.DynDocument > > code.gui.ScrollBar > > > > similar to that used for accessing java classes in Netscape LiveConnect. > > > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev -- Michael Pemberton mp...@ph... ICQ: 12107010 |