On Mon, 21 Aug 2006 15:01:08 +0200, Erwin Moller
<si******************************************@spam yourself.comwrote:
Yes, according to the API setRate expects a float, so you are not making a
mistake.
Yes, and the movie correctly will slow down.
But getRate() returns 0 if:
1) The movie is finished.
2) The movie is paused (via userinteraction eg)
Could any of them apply to your situation when you call getRate()?
No, I execute that code while the movie is playing, and if it'd be
paused, SetRate(0.5) should start it. :-(
click a few times 'next page' to reach it.
Here it is (it's the reference I'm using):
<http://snipurl.com/v9np>
The problem is that GetRate() seems to return an integer:
m = '';
mov.SetRate(0.98); m += mov.GetRate() + ' ';
mov.SetRate(-0.44); m += mov.GetRate() + ' ';
mov.SetRate(3.75); m += mov.GetRate() + ' ';
mov.SetRate(-3.5); m += mov.GetRate() + ' ';
alert(m);
will return me this alert msg: '0 0 3 -3 '.
The movie will correctly run at the rates specified, but GetRate() won't
give the correct (float) values.
I've tried the code on Firefox 1.5, Opera 9 and IE7beta2.
Whit the QT plugin v7.0.4.
I can't find any solution with google. :/
I'll try to contact the Apple Team.
Thanks,
Tristan
ps. sorry for a possible double-post: I posted with my brother's
account, too.