View Single Post
  #4  
Old 10-14-2008, 10:30 PM
doomboy00 doomboy00 is offline
Registered User
doomboy00's Avatar
Join Date: Jan 2004
Posts: 45
doomboy00 is on a distinguished road
Thanks

Thanks, I just wanted to know why it happened on the mac client, but okay.

Yeah, I did it slightly differently without the use of the fake gui control, I just left the Drawing Panel within the scroll control at 1024x512 and used the onScroll function as you suggested like so:

NPC Code:

function Tiles_ScrollCtrl.onScrolled(nx,ny,dx,dy){
Tiles_DrawingPanel.drawimagerectangle(0,0,"TILES", temp.nx + Tiles_ScrollCtrl.width - 4,temp.ny,2048,Tiles_DrawingPanel.height);
}



and that works fine.

Thanks for the reponse
Reply With Quote