iam using FLVPlay back control in my project, i need to mute it while running first time automatically. it may thr script or any other option? i got struct up. mute buttton has to be ther, but initially it has to be muter, and video has to play.
I've downloaded the the Flash mp3 Player. I did some minor modifications to it and it works well. The only problem I have is that when the mute button is pressed, the current song is mute(s.setVolume(0)), but when the next song comes up, the mute button is not in mute state(Volume not set to 0). I want to keep the mute state unchanged when the songs are playing untill the mute button is pressed again.
i am making a quiz. My problem is that once the user completes the quiz and wants to start again the quiz is already on the last question. How do i make it so that once the user clicks start again the questions and answers arrays start from the beginning, sort of reset themselves.
I'm trying to broaden my horizons with it and so I'm trying to do an update of a quiz program my employer has. Everything has worked well, except for the timer. The button that starts the game has two options, "study" or "exam"; if the study is selected, there is no countdown, just the score keeper. If the exam option is selected, the timer is show (counting up). But, press "Start" and while the quiz begins, the timer, in either case, does not.
I'm going to post the actionscript for the timer that was already there, as well as the start button. I'm hoping someone can explain how this timer is supposed to work and why it's not; and where the disconnect lies in pressing the start button and making it run.The timer is embedded in a movie clip, with two dynamic text boxes, that are for some have no instance name; and actionscript spread out over several frames.Frame 1:
I'm working with the FLVPlayback component but the mute functionality is a bit of a black box to me and it seems Macromedia has forgotten to mention anything about it in the help files.I'm trying to mute a playing movie with actionscript. The closest I got is using myFLVplayback.volume = 0. However volume 0 is not the same as mute and pressing the mute controller will do nothing and leave the volume at 0.I can use the volume slider but I can't stand not knowing how to mute the sound through actionscript.
How to create a mute button in flash so that when its clicked all sounds are muted, however, when clicked again all sounds resume but without starting again from the beginning.
something probably quite simple. fla that I need to add a mute/unmute button to. It would be even better if mute/unmute occured onmouseover, but no doubt this is a more complex question?
I'm creating a video chat app using Flash Media Server 4 and Flex, using RTMFP for peer-to-peer.No matter what I try, I cannot mute a user's NetStream. I tried receiveAudio(false) and that does not work. I tried capturing the stream SoundTransform and setting the volume of that to 0, that does not work.I tried setting the mx VideoDisplay volume to 0 and that does not work.I can set the alpha of the VideoDisplay, so its really strange that I cannot set the volume.BTW, I am not trying to mute the mic of the user who launched the app, that I can do. I'm trying to mute one of the other users stream in the Flex app, that way the app makes it possible to not hear people who are perhaps being offensive.
i have 5 buttons all that do there thing, they have sound on over and hit.but i need a way to mute and unmute everything (including these buttons sounds) iv tried everything. The button changes state to mute and unmute, but the sound still plays for over and hit. This is where I am now. PLEASE HELP!!! urgent for coursework.
1st Frame of main timeline:
var globalVolume:Sound = new Sound(_root) vol = true;
Mute movie clip:
on (release) { if(vol == true) { globalVolume.setVolume(99); gotoAndStop(0)
I have an flv file that i am loading externally and want to start the video of with no sound and let the user click the mute_btn to turn the sound on. I am having problems with the code. the video starts with sound on and i want it to start silent. what do i have to add to my code to make this happen?
I have an flv that is playing through a playback component with the instance name of "player". The whole goal here is to have the audio muted when the file begins, and have an mc button ("noise") allow the user to toggle the audio on and off. I'm not having any video controls on here, just the home-made audio toggle. Here is the code I have:
I have tried switching the 0's to 100's and vise versus, I sometimes can get it to play but then not mute, or mute then not play.I have also tried switching the function to setVolume, with no results. I know I am close, disregard the gotoAndPlay's, it just controlls an animation for the button.
i have an mp3 that plays as background music to my website with a mute button that fades the music in or out. This works using the code below that i found on another site.My problem is i would like to have this music added to an external swf that i could load into my main site in order to decrease the main site file size. When i load swf however, the music doesnt play. the button appears (which is also in the external swf) so i know that the movie is loading but no sound plays.
some_sound = new Sound(); some_sound.attachSound("Kevin Spacey 16bit.mp3"); some_sound.start();
My sound object (below) is working with my volume dragger, but not with the mute button as well. The mute button works without the dragger, but they don't work together.
Code: t1 = new Sound(); t1.attachSound("mysound"); t1.start();
[Code]....
why does the sound not play when this SWF is externally loaded.
i have a flash clip that i am trying to imbed into a joomla website of mine, and the problem is that it doesn't auto-start. If i open the swf file it will show a blank screen until i right click play or ctr+entr, on the website it simply doesnt show the flash. here is the link to the swf file [URL]
I have some background music playing on my website and when I click to play one of my FLV on the site I want to background music to mute. Also when the FLV is finish (complete) the background music back on.
how to do this, I'm a little rustly on this but know it is easy to do, seen it done many many times?
but it is also muting the audio for the flvplayer component. how can i tweek the above script to keep flv component at 100? is it posiible? i have tried a few things now (including local sounds) but it just kills all sounds!!! if it makes it easier all the sounds that i want to mute/unmute are linked from the library with the name "explosion_a" "explosion_b" etc... is there a way of just changing the volume for just the explosion refs and leave the other sounds playing?
i'm trying to pause and/or mute a sound, with little success.i've found out that something like 'sound.play(pausePosition)' might fail on sound-clips with low sampling-rate.however when i try to mute a sound with a 48000Khz sampling rate it simply won't work.
i've tried both -
soundChannel.SoundTransform.volume = 0 - and - SoundMixer.SoundTransform.volume = 0
however both won't mute the sound and when traced return 1.
I am wondering how to make a mute and unmute button is actionscript 3.0. I did it before in actionscript 2.0 but not in 3.0. Here is my actionscript 2.0 code.
var sound = 1; var slashMC = _root.attachMovie("slash","slash01",99); slash01._visible = false; slashMC._y = btn._y; slashMC._x = btn._x;