MC Tween Scripts
- Started
- Last post
- 4 Responses
- CyBrainX
I like the Laco scripts but don't use them for Flash banners because they add about 6 or 7 k with the .as include. I know there is a built-in class you can import that lets you use very similar tweening functions:
http://www.macromedia.com/devnet…
Does anyone know how much if any increase in file size there is by importing this class?
- joyride0
Let me do one real quick
- unfittoprint0
you're probably better off creating one [specifically9 for your project.
then you can include ONLY the methods properties required for your project.
most classes offer [as they should] optional methods/props not directly related to their core objective [styling, getter methods, etc...]
- joyride0
Flash file has.
1 movieClip - no animation = 1k
with tween Class
1 movieClip w/ new mx.transitions.Tween(tweenMe_mc, "_alpha", easeOut, 100, 0, 5);= 3k
So about 2k
- CyBrainX0
Thanks. Looks like the tween class is the way to go for banners. Stripping out code would be my second favorite remedy for the movie clip tween component.