# Distort image

**URL:** <https://forum.kirupa.com/t/distort-image/203530>\
**Category:** Uncategorized\
**Created:** [October 11, 2006, 7:50pm UTC](https://forum.kirupa.com/t/distort-image/203530 "2006-10-11T19:50:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g5604](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@g5604](https://forum.kirupa.com/u/g5604)\
**Post date:** [October 11, 2006, 7:50pm UTC](https://forum.kirupa.com/t/distort-image/203530/1 "2006-10-11T19:50:58Z")

</div>

Hi,

i am using a 3d engine called sandy which has a distortimage class. Here is a basic example.

```auto
import sandy.util.DistortImage;
import flash.display.BitmapData;
var bmd:BitmapData = new BitmapData(photo._width, photo._height);
var clip:MovieClip = this.createEmptyMovieClip("holder", 1);
var di:DistortImage = new DistortImage(clip, bmd, 5, 5);
di.texture.draw(photo);
di.setTransform(25, 33, 80, 45, 67, 23, 9, 23);

```

I want to be able to tween the setTransform using the mx.transitions. Does anyone have an idea how to do this?

cheers,  
G
