ikke2902 Thank you very much for taking the time to do that. It works really well and I am sure this will come in handy for several people here.
I just have one other question - do you know how to scale the same object based on its distance to a Player object?
So when its position equals the player objects its scale will be 2 and when its position is say 450 pixels away its scale is 0.3.