So a UIImageView doesnt' know what vx, vy are. You have to tell it first ( unlike in ActionScript I'm assuming ).
One solution would be to subclass UIImageView and give it the properties you want. You can call this new class BallImageView or something. If you don't know what I mean by subclass, i recommend you look for some tutorials.
|