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 ?

Reply via email to