Jump to content


Setting Volume on MP3 Player


  • You cannot reply to this topic
3 replies to this topic

#1 theMUZE

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 14 December 2005 - 11:06 PM

I went through the great tutorials for the MP3 player here, but I am having a little trouble finding how to set a specific volume for it to play at besides MAX. I'm not sure it's even possible because I'm fairly new to flash, especially the actionscript portion of it.

If I could get some help on how to set it on 50% for example, that would be awesome.

Thanks. :P

Edited by theMUZE, 14 December 2005 - 11:06 PM.


#2 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 15 December 2005 - 04:38 AM

Posted the answer to it 5mins ago:
http://www.pixel2life.com/forums/index.php...ndpost&p=114702

#3 theMUZE

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 15 December 2005 - 04:48 PM

As I've said, I'm quite new to all this and I've been through that thread and I could not get the volume set. I am using the code from your first part of the tutorial, so that may have something to do with it. I browsed through part III where the volume is expanded upon, but you'll have to understand it looks somewhat like gibberish to me. ;)

If you could give me a little more specified help, I would honestly appreciate it.

#4 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 16 December 2005 - 05:52 AM

As I expained on the previous topic..

just put this line of code:

_root.sound_mc.sound_obj.setVolume(50);

inside the prototype function...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users