Discussion:
timerInterval and ontimer
(too old to reply)
Franck
2004-10-08 15:13:03 UTC
Permalink
Can someone give me explanations (and an example) about these functions?
Documentation is not very explicit on these.... there is no examples!

I try to make a timer to change the viz automatically every 10 seconds...

Thank's a lot!
Franck
Jim Travis [ms]
2004-10-23 04:38:12 UTC
Permalink
Editing the bigdrawer sample from the Windows Media Player 10 SDK:

I've added the last two lines to make the viz change every 10 seconds.
"myeffects" is the name if the <EFFECTS> element in the sample.

<VIEW
titleBar = "false"
backgroundColor = "none"
height = "200"
scriptFile = "bigdrawer.js"
timerInterval = "10000"
onTimer = "JScript:myeffects.next();"
HTH,
--
Jim Travis
Microsoft Corp.
Windows Media Player SDK

Download:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winmedia.asp

Latest online:
http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp

Please do not send email directly to this alias as this alias is for
newsgroup purposes only. This posting is provided "AS IS" with no
warranties, and confers no rights. You assume all risk for your use. © 2004
Microsoft Corporation. All rights reserved.
Post by Franck
Can someone give me explanations (and an example) about these functions?
Documentation is not very explicit on these.... there is no examples!
I try to make a timer to change the viz automatically every 10 seconds...
Thank's a lot!
Franck
Loading...