# Using TransformTool Class facing Errors!

**URL:** <https://forum.kirupa.com/t/using-transformtool-class-facing-errors/282781>\
**Category:** Uncategorized\
**Created:** [February 26, 2009, 11:59am UTC](https://forum.kirupa.com/t/using-transformtool-class-facing-errors/282781 "2009-02-26T11:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![secret007](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@secret007](https://forum.kirupa.com/u/secret007)\
**Post date:** [February 26, 2009, 11:59am UTC](https://forum.kirupa.com/t/using-transformtool-class-facing-errors/282781/1 "2009-02-26T11:59:32Z")

</div>

Hi,

i m using com.senocular.display.TransformTool; for the resizing purposes, but when i run the file it shows warning,

```auto
Warning: 3553: Function value used where type Boolean was expected. Possibly the parentheses () are missing after this function reference.

```

and when i click upon the object that is to be resized through the transform tool output window shows,

```auto
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.senocular.display::TransformToolCursor/com.senocular.display:TransformToolCursor::controlMouseDown()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.senocular.display::TransformTool/::setupInteraction()
    at com.senocular.display::TransformTool/set target()
    at BaseClass/::ShowBounds()

TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at com.senocular.display::TransformToolCursor/com.senocular.display:TransformToolCursor::controlMove()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.senocular.display::TransformTool/::interactionHandler()

```

every thing is working fine but i want to get rid of this garbage…

anyone help me plz …
