Help converting AS2 code to AS3

Hi There

I have created a water effect in Adobe Flash using AS2, however I now wish to create a flash application with the same effect but using AS3.

Please see the attached code I have used to create the water effect using AS2.

I am looking for somebody to help me change this to work in Action Script 3. Any help would be greatly appreciated.
Thanks
Tremayne

Attached Code
// ----------------------------------------------- // Water Reflection Effect // ----------------------------------------------- import flash.display.; import flash.geom.; import flash.filters.*; myBitmap = new BitmapData(1090,770,false,0); pt = new Point(0,0); mpoint = new Point(0,0); myDispl = new DisplacementMapFilter(myBitmap, mpoint,1,2,10,50); water_mc.myList = new Array(); water_mc.myList.push(myDispl); water_mc.filters = water_mc.myList; i = 1; this.onEnterFrame = function() { filterList = water_mc.filters; offset = new Array(); offset[1] = new Object(); offset[1].x = i; offset[1].y = i/8; myBitmap.perlinNoise(45,5,3,50,true,false, 7,true,offset); filterList.mapBitmap = myBitmap; water_mc.filters = filterList; i++; }[h]Text[/h]
[URL=“http://www.kirupa.com/forum/register.php?a=act&u=115239&i=12001563”]