Hmmm. By CS4 I am guessing you mean AS3? You can still use AS2 in Flash CS4, so it's more a question of how to do it in the new Actionscript rather than the new version of Flash.