> just wondering if there is any easy way to delay the
> execution of a peice of code, by either making wait
> for time or delay at runtime with its framerate or by
> use of frames.
Sure thing. Easiest way I know is to use setInterval(). See
article for details. Note, the subect is about pausing the
the use of setInterval() is identical. Rather then issuing a
function, as illustrated in the article, issue your
(or whatever you like).