Filter strength differences

In the Flash IDE the strength parameter on filters like Glow, DropShadow etc goes from 0% to 1000% but when you code a filter the values are 0 to 255.

Just wondering how you work out how to translate a value from the IDE into a value for setting it in code as it doesn’t seem to directly transfer (i.e 0=0%, 255=1000%).

Thanks