Fluid animation

hey guys, need some help…

i swear i’ve seen a tutorial for filling a glass with fluid using actionscript on the interwebs, but i can’t find it anywhere…

what i need is a tut for a filling with liquid animation where the glass starts empty and fills up, with the liquid sloshing back and forth…

any tips would be fantastic…

thanks kirupians