Jump to content
Search Community

Invalid Bitmap, motionBlur on a Sprite... [SOLVED]

t0m test
Moderator Tag

Recommended Posts

Hi,

 

I have a bunch of clips in a sprite container called slideStrip, if i do this...

 

TweenMax.to(slideStrip, .4, {x:mainTarget + 90, ease:Sine.easeInOut});

 

everything is good with the world, but when i want to add some motion blur like so...

 

TweenMax.to(slideStrip, .4, {x:mainTarget + 90, motionBlur:true, ease:Sine.easeInOut});

 

i get some grumpy output from flash like this...

 

"ArgumentError: Error #2015: BitmapData non valido.

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()"

 

which mean invalid bitmapdata in english :)

 

does slideStrip need to be a movieClip, i set cacheAsBitmap on slideStrip to be true but still no dice.

 

thanks in advance,

 

tom.

Link to comment
Share on other sites

hmmm, just changed it to a movieClip and same error.

 

it's odd because i have another motionBlur working in the same fla, although i am setting strength and quality there like so...

TweenMax.to(thinger, .4, {x:targX - 3, motionBlur:{strength:diffX/800, quality:3}, ease:Sine.easeInOut, onUpdate:setNavBar, onUpdateParams:[navStrip, navSlides]});

 

EDIT: just tried it with the strength and quality set and same error :(

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