CPU speed detect script?

Is there a script avaible for flash that alowes me to detect the speed of the machine that currently is viewing the flash. I have an .swf that is a bit heavy which works great on never machines, but on older it is quite slow. I want it to stop certain animation if the cpu is slow.