View Single Post
Old 24th November 2008, 03:06   #7
clementj
Senior Member
 
Join Date: Oct 2006
Posts: 357
Ok, the getwidth() works, but with a strange problem.
It works for one file, but not for the other.
I have
userPictureW = 200; //at one point in the code
.............. later
userPictureW = userpicture.getwidth();
.... A subsequent debug statement shows the width to be 200 instead of the actual width. It looks like the second assignment to the variable is not working! But why????????????????

Incidentally getheight() works for the same file, but not getwidth()
clementj is offline   Reply With Quote