# Getbounds problem with tweenlite

**URL:** <https://forum.kirupa.com/t/getbounds-problem-with-tweenlite/323725>\
**Category:** Uncategorized\
**Created:** [July 14, 2011, 1:41am UTC](https://forum.kirupa.com/t/getbounds-problem-with-tweenlite/323725 "2011-07-14T01:41:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drpelz](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@drpelz](https://forum.kirupa.com/u/drpelz)\
**Post date:** [July 14, 2011, 1:41am UTC](https://forum.kirupa.com/t/getbounds-problem-with-tweenlite/323725/1 "2011-07-14T01:41:42Z")

</div>

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.

```auto

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}});

```
