ActionScript 2.0 :: Mute A Hole Movie?
Feb 2, 2004Can i mute a hole movie (.swf) and not just a one sound ?
View 14 RepliesCan i mute a hole movie (.swf) and not just a one sound ?
View 14 RepliesCan i mute a hole movie (.swf) and not just a one sound? and how ?
View 14 RepliesI am trying to duplicate a movie for a bullet hole when the user clicks a button hole is sapposed to appear but its not working. here is the code I have inside my bullet hole
onClipEvent(load){
i = 0
}
onClipEvent (mouseDown) {[code].......
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.
View 6 RepliesThe image is the little speaker, which has been converted to a Button symbol. When you click the button to mute, the sound mutes and a red "X" appears over the speaker icon. The red "X" was created as a Movie Clip so that it appears and disappears as you mute and unmute....after you click the button and mute, the red "X" does appear, however 1.) When the master movie recycles so does that X (it disappears). The muting stays off, though. Of course, then, if I want to unmute, I have to reclick the speaker icon to make the "X" reappear and then quickly click it again to turn the muting off (and I have to catch it before it recycles and disappears again).it is anyway. I'm using AS2:
var sound = 1;var offMC = _root.attachMovie("off","off01",99);off01._visible = false;off01._x = btn._x;off01._y = btn._y;var s:Sound = new Sound();s.attachSound("WildWestSaloon2");s.start;btn.onPress = function(){ if(sound==1){
[code]....
assuming my movie clip is named "movie"
View 2 RepliesSo i have a flv playing on a flash load. I need the mute button toggled to "mute" by default.
Code:
my_FLVPlybk.muteButton = mutebtn;
that is the mute button instance i am using.
I have a MC with a hole in it, graphically speaking. I need something behind it to show through the hole. The MC has a button embedded in it, so its clickable. But where the hole is I am not getting the button finger when I play it.My button hit area covers the hole, but it won't recognize it apparently.URL...Its the 2 bluish polygons on the map.
View 1 RepliesI want to draw a circle in as3 that has a 'hole' in it (like a donut). Something like this, but without the outlines[code]...
View 4 RepliesCan A flash fla be resized even if its just the swf needed in different size? (Stage size)
View 2 RepliesI have made a Actions Script 3 code that fetches an image, does an addchild do it and adding a mask to it aswell.
Everything works fine, except the mask I've made is an animated MovieClip, and this MovieClip hides some spots where 2 or more objects inside that MovieClip overlaps each others.I haven't found how to remove this effect, so the mask is valid on overlaping aswell.[code]...
i drew a circle and i want to make a hole inside it ,, here is my code -->
ActionScript Code:
var _Target:Sprite=new Sprite();
_Target.graphics.beginFill(0xFFCC00);
[code].......
how to make the micro-hole texture in the big movieclip in this site.
View 2 RepliesI get this error when I try runing my fla, this did not occur brfore I moved the hole timeline into a moveyclip symbol.when I debug the run breaks on: MovieClip(this.root).MusLargeImageLoader.source = "Images/Mus/IMG_1.jpg";I think the error is with this root.
View 9 Repliesi've posted many times and got loads of responses but i dont understand how to make a bullet hole appear when you shoot an object. MSN me a [URL] to have a chat about doin the actionscript.
View 1 RepliesI have a game where the character walks around the screen and stops if she hits a wall or a hole etc... - typical. HOWEVER - I coudn't get her to stop walking. Is there any standard code for this. If you tell to stop walking then she can't walk back out either etc... Also, she walked into the hole a little so being in the hole she definately couldn't walk any more not even back out as she would be walking inside the prohibited zone.
View 3 RepliesEverytime I google this question I see confusing information about masks and blends, none of which seems to directly apply to what I think should be an easy thing... There are three Sprites involved here...the lowest layer sprite is pretty much a background. I want to overlay a translucent Sprite on top of the background and then I want the third, top-most Sprite to act as a hole, so that the area inside the third Sprite is completely transparent, so that the background sprite is completely visible. How would I go about doing this dynamically (i.e. dynamically drawing the masking sprite and hole using the Actionscript graphics calls)?
View 4 RepliesI'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.
View 4 Repliessomething 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?
View 2 Repliesanybody knows the AS to mute all sounds?
View 2 RepliesThis is a simple mute toggle button for an mp3 player.
I first var sound: Sound
Then I have the function
//mute the current sound
function muteSound ()
[Code]...
To stop all sounds in a swf, I'm using the following code.
var transform1:SoundTransform=new SoundTransform();transform1.volume=0;flash.media.SoundMixer.soundTransform=transform1;
This mutes all sounds. Now there is an issue, I want to stop all sounds but one (i.e. "music.mp3").
I load a movieclip in another project. this loop.swf has music in it.[code]...
After some seconds, I want to unload or easier "mute" this clip.
When I unload it, even when I load a new clip in it, the music continues to play.
In the following code how to mute the speakers
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
[code]....
I want to mute the sound not pause....i already using setVolume script on other buttons.
View 1 RepliesI'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.
View 1 RepliesI'm trying to work on a AS3 file with a video in it.how to have the flv muted on start up?So far I have this script:
import flash.events.*;
import fl.video.*;
//-----------------
[code]....
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)
[code]...
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?
[Code]...