[Golist] Idea for tween library structur
Karsten Goetz
KarstenGoetz at web.de
Sat Feb 23 09:18:30 PST 2008
Hi,
it's very faszinating to see the developement of Go step by step :-)
I've created a little "timline" using HydroTween and an own
filterTween and want to share it with you.
It looks like this:
group.addChild(new HydroTween(clip, {x:200, y:50}, 0, 1,
Quadratic.easeInOut));
group.addChild(new HydroTween(clip, {rotation:360}, 0.5, 1,
Linear.easeInOut));
group.addChild(new DropShadowTween(clip, endFilter(), 1, 1.3,
Bounce.easeOut));
group.addChild(new HydroTween(clip, {x:0, y:100}, 1.5, 1,
Quadratic.easeInOut));
group.start();
the function endFilter() returns a dropshadowfilter. I hat to change
the call of the start-properties in Hydrotween to make multiple
manipulation of the same property possible ( here the x-value ).
Overlapmanagement does not work yet. See the example attached to the
mail.
I'm just thinking about small tween packages like this:
tweens
- dropShadow
- - DropShadowVO.as // a value object with tweenable Filterprops
- - DropShadowTween.as // Constructor: new DropShadowTween(clip,
startDropShadowVO, endDropShadowVO, 1, 1.3, Bounce.easeOut));
- movieClip
- - ClipVO.as // a value object with tweenable clipprops
- - ClipTween.as // Constructor: new DropShadowTween(clip,
startClipVO, endClipVO, 0, 1, Linear.easeOut));
- bezier
- - BezierVO.as // a value object with propertiers
- - BezierTween.as // Constructor: new DropShadowTween(clip, start
BezierVO, endBezierVO, 0, 1, Linear.easeOut))
etc.
Just an idea for a library-structure. What do you think?
Lot's of greetings
k

------------------------
Karsten Goetz
Flashprogrammierung
Bernstorffstr. 120
22767 Hamburg
Tel: +49 40 43 09 91 07
Mobil: 0173 57 14 984
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080223/99f1e258/attachment-0002.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.zip
Type: application/zip
Size: 181297 bytes
Desc: not available
Url : http://goasap.org/pipermail/golist_goasap.org/attachments/20080223/99f1e258/attachment-0001.zip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080223/99f1e258/attachment-0003.html
More information about the GoList
mailing list