--- In svg-developers@y..., "Antoine Quint" <antoine@g...> wrote:
> Has anybody tried to use setTimeout with arguments to be passed to
> called function? Here's how it is defined:
> setTimeout(function, msec[, arg1[, ..., argN]])
> I can't seem to get it to work in ASV3, anybody has knowledge about
> this? Should we file a bug report?
Adobe SVG Viewer implementation is documented here:
This particular API is clearly pre-W3C: it takes arbitrary
number of parameters, which is, IMHO, not a good thing to
standartize, so I do not think it is worth copying what HTML
In the long run, I think it would be a good idea to do this
through SMIL (but I dont know if SMIL WG has this idea yet,
someone wants to check on that?). Something like that:
<smil:timeout id="timeout" dur="3s"
timeout.addEventListener( "begin", eventHandler, false )
The same event could then also trigger animations and
generally do what W3C events do.