View Single Post
  #2  
Old 04-16-2011, 12:22 AM
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
Ideally use clientWidth and clientHeight (or width and height if not using clientRelative) for setting the dimensions of objects (edit: just noticed you used it for the window but not the buttons; consistency is key, and make sure to give the buttons a height).

If you're interested in improving the script, look into using catchEvent to avoid duplicated code and to greatly simplify your script.
__________________
Reply With Quote