Habe folgenden Quelltext unter http://forum.de.selfhtml.org/archiv/2000/10/t23417/#m121086
gefunden:
<html>
<head>
<title>rotierendes Image</title>
</head>
<script language="javascript">
function rotObj()
{
m = DAControl.PixelLibrary;
img = m.ImportImage("planet2.jpg");
rotImg = img.Transform(m.Rotate2RateDegrees(-30));
DAControl.Image = rotImg;
DAControl.Start();
}
</script>
<body onload="rotObj()" bgcolor=#000000>
<center><OBJECT ID="DAControl" WIDTH=259 HEIGHT=259 ALIGN=Center CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D">
</OBJECT></center>
</body></html>
Finde die Lösung ganz gut und würde gerne wissen ob jemand eine weiß wo man die Befehle dafür finden kann.
Im Beispiel dreht sich ja eine Grafik andauern um sich selbst, wie kann man das Bild sofort auf einen Winkel drehen, dann die Animation abbrechen und evtl. später die Grafik auf einen anderen Winkel drehen?