View Single Post
  #9  
Old 10-05-2011, 09:57 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by ffcmike View Post
I find this weird as I'd imagine the difference in time between one such built-in function and assigning a variable to be somewhat negligible.
So if this really does make a significant difference, wouldn't it also be better to assign such variables as this.isblocking, this.visible and this.layer instead of using this.dontblock();, this.hide(); and this.drawunderplayer();?
These variables have been added to make it simplier to be able to see what the current value is. On Classic and Era iphone we use visible = true/false instead of show()/hide(), for dontblock and drawunderplayer it can sometimes be good to use the old version to make it work in the offline editor.
Reply With Quote