Background resizing

i found a script that resizes background images and it works fine in flash 7.when i try to publish it flash 8 it does not work.can someone please help me with this issue.thank you very much.