Help about adding some variable

look this is hard to explain specially like me cuz im not good in english. Ok here it is… i just wanna make a flash application first that i can be always on top no matter what program should replace it. second about adding variables… look i dont know where to start… ok just imagine the game basketball… a game, not the real thing if your goin to shot just image there is a line from the ball to the ring, not just a straight line but a line starting from the ball going upward then go straight to the ring… got it? no every time i changes my possition the line still follows to the ball to the ring… got it? for example the location of the player is on 45 and the ring is on 60 so there is a line grom 45 goin to 60, then if the player moves to possition 30… the line will follow to the line 30 and still goin traight to the possition 60… got it? i think ist just adding a varible…

Thanks in Advance