Flash :: Mute FLVPlayback On Default?
Sep 8, 2011
I'm using the default flv player component in Flash cs4. I want my video to start on page load, but I would like it to be muted in the beginning, so the visitors can chose to unmute it if they want.
I tried to google and found a number of solutions which doesn't work for me(or rather I don't know how to make it work).
There seems to be a good solution here: [URL]
But the zip link is broken, and I'm not sure how to piece the tutorial together.
Edit: I tried something like this but unfortunately it didn't seem to work:
myVideo.volume = 0;
myVideo.muteButton.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(e:MouseEvent) {
myVideo.volume = 1;
}
View 1 Replies
Similar Posts:
Aug 5, 2010
So 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.
View 1 Replies
Feb 15, 2012
Is there a way to disable/enable the buttons in FLVPlayback component? I got a flv files loaded into a fla file and the swf file then loaded onto the main fla file which where I want to disable/enable the FLVPlayback button at certain time.
View 7 Replies
Jan 13, 2009
I have captioning working with the FLVPlayback/FLVPlaybackCaptioning components. My skin has a caption button, and it toggles the captions on and off. What I can't figure out is how to get the player to start with captioning off by default.
I've googled around a bit and all I've found so far indicates that this might not be possible if the caption button is in a skin. Is this true? I find it hard to believe that this is so difficult to accomplish.
View 1 Replies
Sep 17, 2009
Take a look (click on one of the right banners): [URL] The lightbox should almost immediately play the videos, but instead (only) with ie7, the video take a really long time to start. All 3 videos. But only the first time I play them. So, I suppose there's maybe some loading or buffering problem that occurs only with ie7. The swf files are simple default FLVPlayback pointing to a .flv in the server. Any way to optimize the playback so that will start soon in all browsers?
View 1 Replies
Feb 3, 2009
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 Replies
Feb 10, 2011
I want to mute the sound not pause....i already using setVolume script on other buttons.
View 1 Replies
May 24, 2011
i want to have the music always playing and the ability to mute different parts. It is for a project where you click on different people and they come to life to play music. a stop and play would not have them in snyc. I have not been using action script long
var my_sound:Sound = new Sound();
my_sound.load(new URLRequest("triumphant.mp3" ) );
function setMute(vol){
var sTransform:SoundTransform = new SoundTransform(0);
[code]....
View 1 Replies
Jul 5, 2010
I have just installed Flash Professional CS5. I have set up a short 3 second Flash .swf file and incorporated it into my website using Dreamweaver CS5. The Flash file has a background sound file and the Flash program loops. I see how to set up a mute button and have done that, yet when the file loops the sound begins again. I have looked through the many tutorials and forums and simply cannot find out how to set up the button so that when the "Mute Sound" button is clicked the sound stops even after the file loops. I am guessing it might have something to do with setting up my timelines, yet I have played around with that and did not get anywhere.
View 4 Replies
Dec 8, 2010
I've been given a avi file that I've turned into an flv and now need to create two versions of that flv, one with all the audio and one with a small section of the audio removed (its narrated and we need to remove the mentioning of a specific item).
I know I can import an flv into the flash timeline but am not sure how to kill the sound for a given portion of frames,
Was considering redoing the flv as two separate flv's, one with video and one with audio and then putting them into the timeline and cutting the audio up, but I would love a cleaner way, preferably with ActionScript
View 1 Replies
Oct 12, 2010
I'm making this small app in Flash CS5 using AS3. Sounds are being reproduced using flash.media.Sound and flash.media.SoundChannel. Locally , everything sound perfect, but when I run the game from a server it just goes mute.
View 1 Replies
Mar 10, 2011
Is there any way to mute other flash objects on the same page with ActionScript or Javascript? I can understand if this would be a security issue but my flash does have a user-initiated mode which takes over the screen and I was hoping this might be an exception where it's clear it has full priority for the user.
View 2 Replies
Apr 27, 2010
I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.
I really don't know what that refers too.
View 1 Replies
Aug 19, 2009
I've found an example of this [URL] If you click on the mute button at the top, then navigate to another page, the mute button stays clicked. I have a decompiler, and pulled the code out of it. See below:
[Code]...
View 3 Replies
Mar 24, 2012
I have just done couple of banners for Dettol with BG sound, now the client wants the sound to be stopped when he navigates away to a different web pageThe issue is Mouse-over the banner and press alt-tab. The music keeps playing and you can't stop it!Without mouse-over (music is playing at thispoint), press alt-tab and go to another application. Press alt-tab and comeback to the browser and the music starts playing, even though the mouse is not over the animation for reference
View 1 Replies
Sep 19, 2011
How can I mute the video on the a page to do the following: Once user clicks on any of the social buttons, the flash video should mute automatically.
View 1 Replies
Jun 10, 2010
I have only ben using flash for a little while and do not know a lot about action scripts.I have used a flash file found online which plays music and has a mute button, but at present it plays the music when the page is viewed at another time.So need to have a cookie or shared obect as i have been told it is, so that when the music tries to play it can read the mute state cookie to decide if it should play or not.i see i can not upload a file so have uploaded to the following location
View 1 Replies
Feb 22, 2009
I have a little Flash 8 FLVPlayback-based video player, designed to read a list of video URLs (pointing to a demo version of FMS 3.5) from XML. The player works the first couple of times you select a video but then stops displaying anything when you select more videos. The seek bar seems to move but there is not picture or sound. You can see it here:
[URL]
My ActionScript is as follows:
Code:
var vidList:XML = new XML();
vidList.ignoreWhite = true;
vidList.onLoad = function() {
[code]....
View 1 Replies
May 20, 2011
I use javascript to play a flash file, and it plays correctly. But it also needs to parse some configuration files in the flash default directory. So the problem is: the flash file I am going to play can't access its config file for the wrong working directory.
For example, I specify the swf path value as 'falsh/list/test.swf', so my javascript will give this swf value by swfobject.embedSWF to play this flash. But the flash file flash/list/test.swf needs to parse a config file in the same directory with flash file like flash/list/config.xml. The problem is flash attempts to parse this config file under the current javascript working directory.
[Code]...
View 1 Replies
Jul 20, 2010
Alright, so I'm playing several different videos at different sizes with the FLVPlayback component and something odd is happening that I don't remember happening before...Now, when I switch from video to video, the FLVPlayback physically resizes to match the height of the video... I don't remember this happening before. Before, the FLVPlayback would just vertical center the video no matter what size the height of the video is.
View 1 Replies
May 24, 2011
Trying to learn some flash and got a question. How do I play a flv video, below code compiles correctly and load flash player but doesn't play anything
var vid:FLVPlayback = new FLVPlayback();
var ui:UIComponent = new UIComponent();
this.addChild( ui );
[Code]....
View 1 Replies
Mar 31, 2010
Is there a way to disable the default flash player pop-up that comes up when you right mouse click while playing a flash presentation? It currently comes up with about flash and quality settings.
View 4 Replies
Jan 12, 2011
I have a quick clip playing in FLV player. See it here: [URL]. At the very end of the FLV, I want to bring a button on underneath word "tutorials" so you can click and it takes you somewhere.
View 3 Replies
Mar 12, 2010
I'm writing my own class to manage a skin for an FLVPlayback component. It works 90% of the time, but sometimes the state get really messed up. Specifically, the video is playing, meaning I can see it play and the VideoEvent.PLAYHEAD_UPDATE event is firing, but when I poll the FLVPlayback component about its playing property, it returns false. Instead the buffering state is set to true.I assume this may be because 'buffering' is kind of a subset of 'playing', but I cannot confirm this in the documentation. I guess another way to ask this question is, "Does the FLVPlayback component ever buffer while it is in a stopped state?"
View 1 Replies
Jul 4, 2011
I have a video in flash in the size of 19 MB (5 minutes) and I want the user to see what that has been loaded so far, or even get an indication of what has been loaded - so he won't be stuck in a blank screen until the video loads. The quality of the video is important so I won't resize it - but how can I: stream it so the user can see what that has been loaded so far give him an indication of how long he will need to wait until it loads.
My Code looks something like this:
[Code]....
View 1 Replies
Mar 29, 2009
can someone help me with the code for opening the default mail application eg: outlook express or mac mail,to go on my contact button.URL...
View 2 Replies
Nov 20, 2009
I was wondering if anyone know if there is a Free flash template like the one Microsoft uses on their front page. I am new to Flash and have been trying for a good few hours to get this done.
View 1 Replies
Jan 7, 2010
I've installed a couple of fonts on my Mac that I want to use in Flash CS3, but they're not showing up in the font list.how do I install them so that Flash will pick them up?
View 2 Replies
Apr 5, 2012
I'm trying to openWithDefaultApplication a downloaded file (stored into app documents directory) on iPad. I installed PDFReaderLite, still openWithDefaultApplication don't rexognizes extension pdf. What can I do to make PDFReaderLite be a default app for opening pdf?
View 1 Replies
Feb 4, 2010
This may be a weird question, but I'm wondering if there's any way to efficiently (perhaps using namespaces?) have different default variables in a class per developer in an actionscript project. I ask because we're currently working on a series of Flash games: 24 in total. Each is loaded by a shell container. The shell receives a flash var for which game to load. In our development environment (Flash/FlashDevelop), there are no flashvars, so a constant in the AS defines which game to load when there's no flashvar:
[Code]...
View 5 Replies