View Single Post
  #1  
Old 08-17-2006, 04:09 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Checking image width/height

I'm making a Q Menu, which works, except I'd like to have all icons centered if they're less than 32 x 32.
What's the variable called for imgwidth and imgheight. Several things i tried where:
i = findImg(200);
player.chat = i.imgwidth SPC i.width; // And that returned 0 0 in player.chat

Any help is much appreciated. Thanks.
Chris
__________________
Reply With Quote