Remove sound in FLVplayback component?

How do you remove the sound from "specifically" from FLVplayback component? Since the sound wont stop playing when I'm on different page(assume that if the person didnt click the pause button and navigate to other pages)....Normally I would add SoundMixer.stopAll(); for every button in my main and loaded swf but this will stop my background music as well....
The flvplayback component is located in another swf file and the code was added on the second frame of the movieclip call "scrollGroup"
import fl.video.FLVPlayback;
import flash.events.Event;
var flvPlayback:FLVPlayback = new FLVPlayback();
flvPlayback.fullScreenTakeOver = false;
flvPlayback.autoPlay = false;
flvPlayback.source = "video/Listening_to_Community_Voices.f4v";
flvPlayback.skin = "MinimaFlatCustomColorPlayBackSeekCounterVolMuteFull.swf";
flvPlayback.x = 31;
flvPlayback.y = 123.8;
addChild(flvPlayback);

http://forums.adobe.com/message/2587415?tstart=0

Similar Messages

  • Loading a swf with FLVPlayback component, and the flv restarts playing by itself......

    Hi.
    i have an fla file with 5 keyframes. Each keyframe navigates forward to the following keyframe. On the fifth keyframe, a Loader loads an external swf. The external swf has an flv playback component with sound.
    The fifth keyframe, other than having a button to click to load the swf, has a movie clip that navigates you back to the first keyframe.
    The loaded swf, once loaded, may be removed using removeThis function which has removeChild code as well as a  _flv.stop(); which makes the flv stop when the swf is removed. So u're back on keyframe 5, no sound - good!.
    ASo, all is well and the user can navigate back to the first keyframe (from keyframe 5), and from there continue on to the 2nd, 3rd, 4th and 5th keyframes again,  problems start though, when you get to that 5th keyframe again: that keyframe has an FLVPlayback component playing an flv, which at that point becomes very sluggish as all the mc animations on that 5th frame. And worse, i realize, the flv in the external swf that was previously loaded, starts playing by itself, which i know, because i hear its sound track.
    I tried putting a conditional statement to tell the _flv to stop on keyframes 1 and 5, but that causes errors, considering that the flv is an undefined property from the perspective of those keyframes.
    Any help would be very appreciated:)
    thanks.

    var loader:Loader = new Loader();
    loader.load(new URLRequest("_.swf"));
    house.addEventListener(MouseEvent.CLICK, loadswf1);
    function loadswf1(event:MouseEvent):void
        addChild(loader);
    this is how i'm loading the swf. I tried using   Loader.unloadAndStop() inside that loadswf function but get an error -
    Scene 1, Layer 'a', Frame 75, Line 83
    1061: Call to a possibly undefined method unloadAndStop through a reference with static type Class.

  • Trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable

    trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable" click ok to try again or enter an alternate path to a folder containing the installation package "itunes.msi'

    tiburon77 wrote:
    trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable" click ok to try again or enter an alternate path to a folder containing the installation package "itunes.msi'
    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove".
    Quit out of CleanUp, restart the PC and try installing iTunes again. Does the install go through properly now?
    (If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)

  • Embedded flvPlayBack component missing controls

    I have a flvPlayback component in this url  as you can see the controls are at the bottom so you can pause/play, adjust volune, etc.
    I've embedded the first url in a post at this site  everything works fine there except the control bar is missing.  Any ideas?

    That's odd I don't get an error message and I have the debug version of Flash player.  Anyway I removed the skin from the wordpress site because the video would just go black when it was present.  I think I'll just uploas everything to the WP site.  OR  maybe if I recode the the embedded swf so it uses an absolute address for the skin that would work.

  • Controlling the FLVplayback component Volume

    Hi there,
    I have a FLVPlayback component which I have modified to the
    core.There is one problem with the volume slider. Im using Flash
    Professional 8 with XP, and the skin Im using is
    "steelExternalAll". Suppose I load some file into the contentPath,
    it plays, and I drag the volume slider up (100%) and down(0%) for a
    couple of time I get a bug. The bug is that when Im finally in the
    down state, with 0% I still hear the sound which was in the
    previous status, say 38 or 50%. And it happens in the reverse too.
    Why is this happening? Can i resolve it?
    I tried doing this using a fresh FLASH file, still the result
    is the same. It happens once in a 10 times, but this surely is a
    defect i need to handle. I dont think I have enough API's to do
    something serious. Can anyone help me out?

    Hi kglad,
    Greetings. Felt so glad when I saw your reply saying that the
    problem was with the skinning, because I did one hell of a
    skinning. But I had a crosscheck. I tool a sample
    "steelExternalAll" skin, just like it is in the component panel,
    and just added a contentPath. Simple. I checked for the volume
    slider problem, and there it was.
    I can find the problem in the normal unmodified skin. This is
    the same problem I face. Can this be solved. There is no other code
    piece Im using other than the one given below.
    Thanks a lot for your kind patience.

  • Will the FLVPlayback component play MP3's without FMS?

    Will the FLVPlayback Component (version 2.5.0.15) play an MP3 file without it having to be streamed through a Flash Media Server? All I'm looking for is to place a player into my Flash that plays an MP3 file that's in the same directory as the SWF.
    Here's my code... it's pretty simple:
    import fl.video.FLVPlayback;
    var myMusic:FLVPlayback = new FLVPlayback();
    myMusic.source = "mySong.mp3";
    myMusic.skin = "SkinOverPlayMute.swf";
    myMusic.skinBackgroundColor = 0xCCCCCC;
    addChild(myMusic);

    So the answer is no, correct?  FLVPlayback will not handle MP3 files?
    My new script, in case anyone is interested:
    import flash.media.Sound;
    import flash.net.URLRequest;
    var songTitle:String = "Shake Your Rump"
    var fileName:String = "shakeYourRump.mp3"
    var myMusic:Sound = new Sound(new URLRequest(fileName));
    var soundChannel:SoundChannel;
    var isPlaying:Boolean = false;
    var currentPosition:Number = 0;
    btn_Rewind.addEventListener(MouseEvent.CLICK,rewindMusic);
    btn_Play.addEventListener(MouseEvent.CLICK,playMusic);
    btn_Pause.addEventListener(MouseEvent.CLICK,pauseMusic);
    txt_Status.text = 'Click play to hear "' + songTitle + '"';
    function rewindMusic(myEvent:Event): void {
    currentPosition = 0;
    txt_Status.text = 'Rewinding "' + songTitle + '"  Click play to restart.';
    if (isPlaying) {
    soundChannel.stop();
    soundChannel = myMusic.play(currentPosition);
    txt_Status.text = 'Playing "' + songTitle + '"';
    function playMusic(myEvent:Event): void {
    if (!isPlaying) {
    soundChannel = myMusic.play(currentPosition);
    isPlaying = true;
    txt_Status.text = 'Playing "' + songTitle + '"';
    function pauseMusic(myEvent:Event):void {
    if (isPlaying) {
    currentPosition = soundChannel.position;
    soundChannel.stop();
    isPlaying = false;
    txt_Status.text = '"' + songTitle + '" is paused. Click play to resume.';
    stop();

  • Separating sound into its component channels

    i did an interview using two separate mics plugged into a HD camera. one of the mics picked up a lot of sound from the wind and i'd like to remove this channel from the audio. is there any way to do this within Imovie? I can find no way of separating the sound into its component channels.

    I suspect that both 'Up' and 'Africa' were broadcast in surround sound so this would fit with the problem.
    A warble is a very good description of the noise and if I didn't have the option of a surround amp to aleviate the problem it would drive me mad. I used to watch the hd channels through the tv tuner before the youview box arrived and I did notice the substantially lower volume but never the warble, so I am convinced the box is the problem.

  • FF on FLVPlayback component

    Hi,
    how can I get the current time of a FLVPlayback component to
    call a seek
    for fast forward and rewind?
    Or is there a better way instead of the seek function to do
    this?
    TIA

    GVSJSM wrote:
    > I have 2 versions of a set of FLV movies -- one designed
    for visitors with
    > broadband and one designed for visitors with dial-up. I
    want to offer visitors
    > a choice of which version of the movie to view by
    putting a radio button group
    > or dropdown menu on the FLVPlayback control. (See, e.g.,
    the NYT homepage
    > control.) How do I customize the control for this
    behavior?
    Why not just make button on top of it ? Sound like trying to
    totally overkill.
    No one knows where the buttons are in complied movie, make it
    look like it's within
    the component while its on top of it.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • A better way to determine the current state of the FLVPlayback component?

    Below is the AS3 code I have used to display images (MCs) over an instance of the FLVPlayback component.  These images (one for loading, one for the title) are to appear – or disappear – according to the current state of the FLVPlayback component. 
    It “works,” but when testing, I have noticed that it can be rather finicky.  The most common issue that arises is that many times the loadPoster movieclip will still be visible even though the video has entered the playing state.
    Also, I wanted a title placeholder image to appear whenever the user stops the video or if the video completes.  However, I had to add the conditional statement to the “stoppedStateEntered” case to make everything appear when expected.  When the video is first viewed (and has completed buffering), it seems that the FLVPlayback component enters the stopped state before entering the playing state.  Thus, the titlePoster would flash on the screen right before it and the loadPoster “should” disappear when the video begins playing.
    Even in my limited testing, these issues were very easily re-created.  I am definitely looking for a more reliable solution.  Is there a better (or more correct) way to go about all this?  If possible, I would like to stick with the FLVPlayback component, just for the simple fact of not having to code my own.
    Where am I going wrong?
    function updateMoviePoster(event:VideoEvent):void
                    switch (event.type)
                                    case "playingStateEntered":
                                                    loadPoster.visible = false;
                                                    titlePoster.visible = false;
                                    break;
                                    case "stoppedStateEntered":
                                                    if (loadPoster.visible == false)
                                                                    titlePoster.visible = true;
                                    break;
                                    case "complete":
                                                    titlePoster.visible = true;
                                    break;
    myFLVPlayback.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.STOPPED_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.COMPLETE, updateMoviePoster);

    Any suggestions?  I would truly appreciate the help.

  • Need to stop playback of an FLVPlayback component when navigate away from page!

    I have an movieclip playing as auto start on the first page of my website.  The component continues to play when I navigate away from the page.  How can I stop the playback of the movie if it has not completed when navigation away from the page is invoked.  I have search and am unable to find such an event using an FLVPlayback component.  Presently there is no code in actionscript to display here.
    thanks

    Hi, this is the entire code that is placed on the timeline in frame 1 of the AS line.  There is now an error and the FLVPlayer component, which is also begin in frame 1. At this point there is one method that I thought should work when the vTinesDayBtn is clicked.  However, is not.
    The error is:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at ewddSite_fla::MainTimeline/vTines()
    ArgumentError: Error #1063: Argument count mismatch on ewddSite_fla::MainTimeline/stoppedVid(). Expected 0, got 1.
    The code is:
    stop();
    import flash.events.*;
    import flash.display.*;
    import fl.video.*;
    import fl.video.FLVPlayback;
    function stoppedVid() {
      vidPlay.stop();
    vTinesDayBtn.addEventListener(MouseEvent.CLICK, stoppedVid)
    function vTines(evt:MouseEvent):void {
    gotoAndStop(20);
    vidPlay.stop();
    function engagements(evt:MouseEvent):void {
    gotoAndStop(25);
    function weddings(evt:MouseEvent):void {
    gotoAndStop(30);
    function births(evt:MouseEvent):void {
    gotoAndStop(35);
    function birthdays(evt:MouseEvent):void {
    gotoAndStop(40);
    function graduations(evt:MouseEvent):void {
    gotoAndStop(45);
    function anniversaries(evt:MouseEvent):void {
    gotoAndStop(50);
    function specEvents(evt:MouseEvent):void {
    gotoAndStop(55);
    function memorials(evt:MouseEvent):void {
    gotoAndStop(60);
    //main.addEventListener(MouseEvent.MOUSE_DOWN, mainPg);
    vTinesDayBtn.addEventListener(MouseEvent.MOUSE_DOWN, vTines);
    engageBtn.addEventListener(MouseEvent.MOUSE_DOWN, engagements);
    weddingsBtn.addEventListener(MouseEvent.MOUSE_DOWN, weddings);
    birthsBtn.addEventListener(MouseEvent.MOUSE_DOWN, births);
    bDaysBtn.addEventListener(MouseEvent.MOUSE_DOWN, birthdays);
    graduBtn.addEventListener(MouseEvent.MOUSE_DOWN, graduations);
    annivBtn.addEventListener(MouseEvent.MOUSE_DOWN, anniversaries);
    spEventsBtn.addEventListener(MouseEvent.MOUSE_DOWN, specEvents);
    memorialsBtn.addEventListener(MouseEvent.MOUSE_DOWN, memorials);

  • Is it possible to import YouTube videos into a flash FLVPlayback component...?

    Hi all,
    I'm now working on a flash website, i need to play a youtube video inside my flash movie.
    In this Flash file i have a FLVPlayback component and i tried to link the youtube video into this but did'nt work.
    Please help me...

    You should find what you need here: http://code.google.com/apis/youtube/flash_api_reference.html

  • FLVPlayback component skinAutoHide problem

    Hi guys!
    I have a problem with FLVPlayback component's skinAutohide
    property which works poorly when FLVPlayback component is the same
    size as your stage. The skin only hides when I move my mouse very
    slowly outside the FLVPlayback component.
    Also making the FLVPlayback component smaller isn't an option
    so what more options are there left?
    Is there anyway to hide the skin by yourself?
    I allready tried the following code, but I think this is very
    unreliable (I get some errors when I move my mouse very quickly
    over and outside the FLVPlayback component):
    video.addEventListener(Event.MOUSE_LEAVE, mouseLeaveHandler);
    video.addEventListener(MouseEvent.MOUSE_MOVE,
    mouseMoveHandler);
    function mouseLeaveHandler(event:Event):void {
    video.skin = "";
    function mouseMoveHandler(event:Event):void {
    video.skin = "SkinOverPlayStopSeekFullVol.swf";

    I am having the exact same problem. Thanks for info that this
    is caused by movie being the same size as the stage. I am also
    working on a solution and will let you know if I find one.

  • FLVplayback component problem

    my flash movie contains FLVPlayback component to play videos.
    In the begining of the movie( frame 1) I have a simple pre-loader.
    When I test my swf on a browser the pre-loader appear only after
    few second, not immediately. (my pre-loader start from 40%). I
    think the reason is that flash load the FLVPlayback component on
    the first frame although my component appears only on the second
    frame . Is there any work around this issue?
    Thanks

    I am having the exact same problem. Thanks for info that this
    is caused by movie being the same size as the stage. I am also
    working on a solution and will let you know if I find one.

  • Need Preloader for FLVplayback Component

    Hi,
    I'm playing external .flv videos using the 'FLVplayback'
    component. My client's complaining that they stall and stutter a
    bit when they start to stream, and wants to know if I can create a
    preloader for them.
    Can anyone help or point me in the right direction to create
    preloaders for this component? Since the .flv is not on the
    timeline, I don't know where to begin. I found some info on this in
    the Flash Help files, but it's a little over my head.
    Thanks very much

    Hey metrov,
    ActionScripting is the way to go for this situation. Try this
    link (hope it helps)...
    http://www.actionscript.org/forums/showthread.php3?t=105158
    Jaythan

  • FLVPlayback Component video and skin as one swf

    Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file?
    I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project.
    When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin.
    If it is not possible to publish as one swf, can someone please tell me how I can insert the 2 swfs into a Captivate file and get them to work?
    Thanks in advance.

    My project is called JumpVideo.
    The only 2 items in my library are the FLVPlaybackComponent and a Combo box.
    I have imported a video using the FLVPlaybackComponent and have selected the SteelExternalPlaySeekMute skin to go with the playback.
    The video has defined cue points. The combo box has two values. When the first is selected it jumps to the start of the video. When the second is selected it jumps to the cue point.
    When I publish there are two swfs that are produced; the project swf itself (JumpVideo.swf) and the skin (SteelExternalPlaySeekMute.swf).
    I would like there to be only one swf published (i.e. the skin is within the JumpVideo.swf).
    Is this possible?
    The swfs will then need to be inserted into Captivate 4 as animation.
    If 1 swf cannot be published, then can you perhaps help with how I can insert the JumpVideo.swf and the skin swf into Captivate and have it work as it does in Flash CS4?

Maybe you are looking for