Jump to content


problem with mute button for audioplayer......


  • You cannot reply to this topic
1 reply to this topic

#1 the_ra-abbot

    Young Padawan

  • Members
  • Pip
  • 5 posts

Posted 09 July 2006 - 02:44 PM

hey there.....

i have a slight problem with the mute button for the advanced music player.......

i followed this by mr. funkysoul:

Quote

funkysoul Posted on: Oct 27 2005, 01:59 PM


Hi there

Did you assign every mc an instance name, normally it works even if the boundings are not correct.

mute button? smile.gif
create a "mute" button with the nice icon on it, press F8 to make a mc of it, give it an instance name like "mute_btn" and following actionscript:

CODE
mute_btn.onRelease = function(){
_level0.sound_mc.sound_obj.setVolume(0);
}




but when the button is pressed the the sound is muted but then fades in again, like when the song starts
from the beginning......... i noticed this also with the volume controller (i have it for now but i want to replace it with
this new mute button) it fades right back up to full sound volume if i drag the fader all the way to 'zero'.......
so what could the problem be then, with these two items both with the same problem with the sound fading back up?

i've attached an .as file of my scripting found in the main timeline.......

oh yes & i'm using flash 8, just for reference............

please help me out :)

Attached Files



#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 09 July 2006 - 03:08 PM

the problem is the fade-in movieclip that is also in place there, remove that mc and you will see that the mute button works :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users