ok I understand now thanks.

I found this anyway - http://oos.moxiecode.com/flash8/displacement_ball2.html

is that kinda what you're after IP?