Converting flash 5 script to flash 8

Hi ppl

I’ve used the random code on kirupa site but its useing flash 5 how do i publish it in flash 8

Thanks for the hlp in advance :wink:
OZ