Getbounds problem with tweenlite

Hi,

I have a bitmapData that I want to scale with TweenLite but when applying
the transformaroundcenter plugin I get this error message:

“Property getBounds not found on flash.display.BitmapData and there is no default value.”

What am I doing wrong and where do I have to place the “activate” line (e.g. into the constructor, other functions, etc.)?

Can anyone help, please? Thanks.


import com.greensock.*;
import com.greensock.TweenLite;
import com.greensock.plugins.TweenPlugin;
import com.greensock.plugins.TransformAroundCenterPlugin;
TweenPlugin.activate([TransformAroundCenterPlugin]);

TweenLite.to(tempScore.bitmapData, 2, {transformAroundCenter: {scale:2}});