[osflash] Tweening filters

Bjorn Schultheiss bjorn.schultheiss at qdc.net.au
Sun Sep 10 22:07:16 EDT 2006


I think Flash 9 (Penner) AS3 Tweening/Animation will be something special.
Has anybody got any idea of what we might see besides what we have already
seen in AS2? 


Regards,
 
Bjorn Schultheiss
Senior Flash Developer
QDC Technologies

-----Original Message-----
From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] On
Behalf Of fuse at mosessupposes.com
Sent: Monday, 11 September 2006 11:56 AM
To: Open Source Flash Mailing List
Subject: Re: [osflash] Tweening filters

Hmm, I thought you said you'd checked out Fuse? ;)
www.mosessupposes.com/Fuse

Fuse Kit has a thing called FuseFMP, which is a rewrite of FMP from Germany.
I adopted it at the exact moment in building my thing that you're at now,
scratching my head I came across it and shouted eureka!, then updated it to
as2 and integrated it on in. It does these mysterious things you speak of -
sorta have to cache then rewrite the filter each update.
It's open source and modular so you can use it for your stuff if ya want.

So in Fuse, to tween filters you do this.
// setup (once)
import com.mosesSupposes.fuse.*;
ZigoEngine.register(FuseFMP); // enables the filter-mgt util for tweening

// later do some tweens using the convention //
short-filtername+"_"+propname ZigoEngine.doTween(clip1,
"DropShadow_distance", 50, 1);

// or if you also register FuseItem you can use Object Syntax,
ZigoEngine.doTween( {target:clip1,  DropShadow_distance:50,
 seconds:1 });

> Does the OS flash world need another tweening engine?

Well you might want to take a look at the pdf at my site. If you want to
write an as3 one then go for it. Personally I think that both Uhlmann's kit
and my kit have pretty much filled the voids in as2, but then Adobe is
working with Penner on their next round of classes so it seems like a waste
of time at this exact moment.

I feel like the smart thing to do is to wait until 9 comes out and use the
tools they create for a while. That may be end of story, or maybe there will
be some room to make an extra syntax layer like fuse sequencing or whatever
you're working on. It's good that Adobe is addressing these gaps.

PS, great new Fuse video tutorial at www.gotoandlearn.com !
(Thank you Lee!)

moses


>
> Hi guys,
>
>     I'm being quite lazy by not figuring this out by myself, but I 
> thought I might be able to get some useful insight into this.
>
> I'm working on a tween manager program, which is not unlike Fuse in 
> that it uses queues of objects to handle complex sequences of tweening 
> data.
> Anyway,
> all that works fine, but I'm now looking to make it work for filters 
> as well.
>
> As I understand, the MovieClip.filters property returns a *copy* 
> rather than a reference to the mc's filterlist. If this is correct, 
> his makes my job slightly trickier, as my current system relies on 
> just modifying the reference to an object property, and the changes 
> are updated automagically.
> However, with filters, this doesn't work, possibly because of the 
> copy/reference issue. This means I'll have to take a copy of the 
> object's filterlist for each tween, tween it, and reassign it every frame.
>
> Does this sound right, or totally insane? Has anyone done anything 
> similar before?
>
> Also...in order to make a purely code based post on topic for this 
> list, I have a (somewhat philosophical) question.
>
> Does the OS flash world need another tweening engine? Or are there 
> enough out there already? Of the ones that are there, what do people 
> like/dislike about them? Which one is your favourite?
>
> Cheers,
> Alias
>
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>


_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org



More information about the osflash mailing list