OZONE Asylum
Forums
Multimedia/Animation
Continuation of last post (volume controls)
This page's ID:
25048
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hey I?m back again? In addition to my last post I also need to know what?s the best way to increase and decrease the volume on my windows media player using custom controls. Basically all I have is a button for increasing and button for decreasing volume. I wrote a java code based on what I know but I gave up on it. I don?t even think it?s even close to what I need. The code is as follows: function setVolume(intVolume) { intVolume=((intVolume-8)*1250); Player.Volume=intVolume; } I've also tried this code that I found on a tutoral, it didn't work for me but maybe there's something I'm not doing right. It is as follows: function IncreaseVolume () { Player.settings.volume = Player.settings.volume + volumeIncrement; document.all.volumeBar.style.width = VolumeBarLength * (Player.settings.volume/100); if (volumeText) {document.all.volume.innerHTML = Player.settings.volume + '%';} } The object Id for the embedded player is ?Player?. What I need is a function that will be able to increase and decrease the volume by certain increments, enough to make a significant different but not too excessive. The Microsoft website was no help so I?ve turned to the Asylum. Like I said I'm far from a java guru so any help is appreciated. -APONE- [small](Edited by [internallink=25040]aponex[/internallink] on 02-18-2005 20:19)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »