Adobe Flash CS4 - Fading Grid

I followed this tutorial and I couldn’t manage to get it to function. I’m new to flash and I’m thinking the reason it didn’t work is because I used a different ActionScript method. I used AS3, is there another type I should be using? Or is the coding different from the version used in the tutorial to CS4?