A/s for random movement in 2004

I used the a/s from a tut for Flash MX but it did not work. I am using 2004, is there any difference in the script. If so, does anyone know??