Are you creating the UV map first? Unless I misunderstood you, it sounds like you're applying a texture then trying to manipulate the UV map. If so, then you're working the wrong direction.
Another thing make sure of is that the texture map is a square image; 512x512, 1024x1024, etc.
If I'm off on both these, please clarify the problem. Detail the procedure you using.
AIM: mhcannonDMC
"If you love your job, you'll never work another day in your life."