Jump to content
Search Community

TweenMax size doesn't change even after I comment out plugins

Sinewave test
Moderator Tag

Recommended Posts

I have a banner add that's about 34kb, so I've got 6kb to spare. Is it possible to add in blurFilter and only blurFilter? I tried commenting out the plugins from TweenMax.as, but it still bumps my file up to 46kb, before and after.

 

PS. I'm on 11.691 (AS2)

Link to comment
Share on other sites

Are you using other features of TweenMax other than the BlurFilterPlugin?

 

 

TweenMax File size added to compressed SWF: About 8.7kb (base), or 17.6kb with default plugins and OverwriteManager

 

TweenLite File size added to compressed SWF: about 4.7kb

 

So even TweenMax totally stripped down is going to put you over the 40kb limit.

 

Have you tried using TweenLite and importing and activating only the BlurFilterPlugin?

 

import com.greensock.TweenLite;
import com.greensock.plugins.*; // only plugins that are used get imported

TweenPlugin.activate([blurFilterPlugin]);

 

Although it takes more work, the features of TweenMax can be simulated with TweenLite.

 

What specific to TweenMax do you need to do other than using BlurFilter? If you need help converting back to TweenLite for a particular feature let us know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...