Daniel Fleischer schrieb:
> Hello,
>
> the javascript command pauseAnimations() causes some
> redrawing problems (Adobe SVG Viewer 3, IE, XP):
>
> When there are several animations within an svg file,
> that are paused by the command pauseAnimations(), it
> often happens, that some objects are not displayed
> correctly or are missing.
>
> E.g.
> ...
> <script type="text/ecmascript">
> <![CDATA[
> function pause() {
> document.rootElement.pauseAnimations();
> }
> ]]>
> </script>
> ...
> <rect x="880" y="440"
> width="45" height="20" onclick="pause()"/>
> ...
>
> This effect does not occur, when using the pause
> command from the context menu.
>
> Is there a way to access the pause command used by the
> context menu?
> Is there a way to redraw? forceRedraw() is not yet
> implemented.
> Is there another way to pause all animations without
> redrawing problems?
>
>
> Best regards,
> Daniel Fleischer
Hi Daniel,
yes i ve observes the same behavior, i found this workaround.
document.rootElement.pauseAnimations()
var t=document.rootElement.getCurrentTime();
document.rootElement.setCurrentTime(t)
that should force a redraw.
hth
Holger
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/