Jump to content
GreenSock

rune_star

motionBlur limits???

Recommended Posts

Hi,

 

I'm having trouble making a simple motionBlur work... I'm tweening a long image, and without the motionBlur, everything tweens fine, but I can't make it work when I try to apply the motionBlur.

 

Is there a max limit to the size of objects to motionBlur?

 

This is my error message:

 

ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData/ctor()
at flash.display::BitmapData()
at com.greensock.plugins::MotionBlurPlugin/onInitTween()
at com.greensock::TweenLite/init()
at com.greensock::TweenMax/init()
at com.greensock::TweenMax/renderTime()
at com.greensock.core::SimpleTimeline/renderTime()
at com.greensock::TweenLite$/updateAll()

 

I've also attached an example FLA with the objects and the code that doesn't work...

 

Many thanks for replies in advance...

 

motionBlur_953x581_v01.zip

Link to comment
Share on other sites

yeah, Flash Player has limits on how big bitmaps can be. I think in Flash Player 9 it is around 2400px wide.

 

If you google "Flash Invalid BitmapData limit" you will find more specifics. Don't know off the top of my head what the limits are for each Player version.

The problem is most definitely a limitation of Flash Player and not the motionBlur plugin. :|

Link to comment
Share on other sites

Yep, I think it's actually 2880px but keep in mind that when you use a motionBlur, it actually needs to add padding on each side of the image for the extra smeared pixels, so if you make your image exactly 2880px that still won't work.

 

When I tested publishing to FP10, it seemed to work because Adobe increased the maximum size of BitmaDatas in FP10.

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.
×