That's a good solution! Thanks for sharing it with all of us!
Keep creating! Sean weepy wrote: > > > to answer my own question : > > window.setTimeout(function() > { game.setAllowedMoves(this_game.allowed_moves)} , 400) > > > > On Aug 13, 1:56 pm, weepy <[EMAIL PROTECTED]> wrote: >> Hi have the following problem : I want to delay this call by 400ms : >> >> game.setAllowedMoves(this_game.allowed_moves) >> >> setTimeout("game.setAllowedMoves(this_game.allowed_moves)") does not >> work as it's executed in the global context. >> >> Any idea how to do this ? > > > -- View this message in context: http://www.nabble.com/object-orientated-setTimeout-tf4261061s15494.html#a12126074 Sent from the JQuery mailing list archive at Nabble.com.