Audio plays only once

Hello

I created an alert for the Subscriber to Twitch (a platform of streaming for players). Basically I have all play the animation, and if someone has already used the open software of the broadcaster (OBS), I added CLR browser animation.

He sets the text within my textbox for the user name of the Subscriber and plays the animation... But the problem is the noise I have. When the animation is triggered for the first time, the sound is played, but any time after that reading audio will not . To get to play, I have to stop the flow of the preview and relaunch in OBS whenever compared to games animation (which is not really possible in streaming on Twitch). I'd rather not have the streamer in partnership have to uncheck the source whenever someone subscribes.

I tested the animation in Chrome (by opening the HTML file), and the sound is played each time, so it's just the CLR browser that isn't. But alert each other of OBS follow-up/Subscriber (such as TwitchAlerts) work properly, so this leads me to believe that it is something in my project, rather than the plugin OBS. just in case anyone has any experience in the browser of CLR or OBS, I'll be able to provide the newspaper. I can't find how to reach the log file, and I won't make this long for a newspaper great message, if it is not needed.

I'll also include the part of my JS script that actually triggers the animation when a person subscribes (of course because I'm not in partnership with myself, I can't test when a person subscribes, so I checked it for a specific message "1234" for the moment.)

var message = event.data.substring(event.data.indexOf('#madmikegamerxl1 :') + 18, event.data.indexOf('\r'));
        var username = event.data.substring(1, event.data.indexOf("!"));
        if (message.toString() == "1234") {
            console.log("Someone just subscribed!");
            AdobeEdge.getComposition("subAnim").getStage().play("subalert");
            AdobeEdge.getComposition("subAnim").getStage().$("subalert")[0].play();
            AdobeEdge.getComposition("subAnim").getStage().play("Stage");
            AdobeEdge.getComposition("subAnim").getStage().play();
            AdobeEdge.getComposition("subAnim").getStage().$("Text2").html(username);
        }
        console.log("Message received in chat 'madmikegamerxl1' : \r\n" + message);

Thanks in advance,

Mike

resdesign wrote:

I wonder if you might want to add this before the play() event

AdobeEdge.getComposition("subAnim").getStage (). $("subalert") [0] .currentTime = 0;

Hmm I tried and still the same thing happens.

It is really strange that it works in Google Chrome perfectly.

Thanks for the reply

EDIT: I fixed! It was a strange problem that the plugin that I used is not liked ... Basically, after having tried the currentTime = 0 instruction, he didn't touch anything. Then I swapped the currentTime function both the function play() to the top of the code, just above the line of .play ("stage"). He must have wanted the audio to play shortly before the stage, for some strange reason, while Chrome worked anyway... Strange! But whatever it is, it's working now. Thank you very much for the help!

Tags: Edge Animate

Similar Questions

  • After recording a song using sound recorder, he continues repeatedly and repeatedly in a loop during playback. How to play only once? Thank you!

    I'm recording guitar and vocals on tape - about 2 minutes. When I play it back, the song starts again whenever it ends. How to stop after a reading without locking system?

    Hello

    Please contact Microsoft Community Forum!

    From the description of your post I see you facing problems with the saved file.

    Quick questions:

    1. How are trying to play the saved file? Is it through of tape recorder or another program?
    2. What happens when you save the full song and reading?
    3. He played only once after the restart of the song or it keeps on game till stop you it manually?

    Please come back with more information on the issue so that we can help you better.

    Might be possible that the repeat mode is enabled; try to check the settings within the program and check:

    Using the windows-related issues feel free to post on the Microsoft Community Forum.

  • Audio plays only via USB on 17 & quot; MacBook

    I have a new processor intel 17 "macbook. I can't get audio to play through my headphones usb with flash. All is well with all other audio applications: quicktime, dvd player, vlc, etc.

    Is it possible to set preferences in flash player? They don't seem to use the system setting.

    The apple store recommended a format/reinstall. It is quite severe for what looks like a set of prefrences. Any advice?

    Found a solution here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=184&threadid=948827&STA RTPAGE = 3 & FTVAR_FORUMVIEWTMP = linear

    Performance of garageband. The tweeks for midi quicktime settings, or something like that. Looks like something easy to adobe for the difficulty.

  • Play only once slide show when scrolling

    Hi guys,.

    I've built this page with Adobe Muse: http://wacom01.businesscatalyst.com/index.html

    As you can see, if you scroll, the cursor will play so that the pen opens but the problem is that if you scroll down again it will start again for the first slide

    I would like to find a way to block at the end of the last slide (when it is completely open) when the user continues scrolling

    Maybe some piece of code to insert in the header?

    You have ideas or suggestions?

    See you soon,.

    Jules

    The image of the pen is actually a video that is used on the page and on parchment, he plays as a result. You can turn by follow not scroll while page up;

    Thank you

    Sanjit

  • Play audio only once on a slide

    Someone had never had to ensure audio will play only once on a slide?  On a particular slide there are buttons for the learner to click jumps them to another slide, then a button to bring them back.  When they return to the slide, I don't want the audio replay.  How can I do?  I have a tip on the slide Action enter because once each of the buttons are clicked, the button 'Continue' will appear.  In addition, I have a tip action that shows a "tick" beside each button that they have clicked.  I am at a loss on how to make the audio game once (the first time they visit the slide).  Any ideas will be greatly appreciated.

    No, it would never work... not very logic your requirement and I do not see the audio statement at all.

    So, you want to do everything with the action on enter. OK, here go us:

    1. Create the variable user v_entry with a default of 0, which will be used to count whose entry into the slide, it is.
    2. Create an initial decision which is a simulated standard action to increment the counter:
      • IF 1 is equal to 1
        Expression v_counter = v_counter + not need an ELSE part 1
    3. Create a second decision to decide to play an audio clip
      • IF v_counter is equal to 1, which is not the case on the first entry
        Play the audio xxxx indicates the audio to play clip
    4. Use the ALLCLICKED decision you had before

    Lilybiri

  • Use of action script 3.0 to play my SWF file only once?

    Good afternoon

    I would like to know how to play my SWF file only once, when I select CTRL + ENTER to test the file.  Currently it continues just looping.  I tried not stop(); but it freezes to the framework.  I tried also Stop at nothing doesn't.  In Dreamweaver, you can import the SWF file and program it to play only once.  I did it: http://www.vfw969.org.  However, I would like to create an index.fla file that does the same thing while I am able to add some improvements to the page.  Thank you.

    Kind regards

    Dale Iannello

    Webmaster

    Veterans of foreign wars

    State of Washington

    You were afraid to adapt or something?  Fortunately, I have a magnifying glass is close.

    In this upper layer named Actions, nothing in this last keyframe (picture 25).  This is where you will place the stop(); command.  The Actions window open, select the image and type stop(); in the Actions Panel.  If you do it right, there should be a lower case 'a' in this last image when finished and the animtion must stop here.

  • Burned DVD using Windows DVD Maker times only once on my Blu - ray player

    Original title: burned dvd

    When I do a cd burned with my windows dvd maker, dvd will play only once on my blu - ray player separated from the TV.  It works fine the first time, but the Player cannot find the disc any time after that.  I use dvd + r discs.  Is there a formatting problem, or do I need to get the dvd + rw discs.  I'm really at a loss.  Thanks for your help guys!

    Hi frapachino21,

    -The problem occurs with all CD/DVD you burn using Windows DVD Maker?

    -After playback of the disc on the Blu - ray drive, the drive is not detected on your desktop/computer laptop with no problems?

    To use certain kinds of CD or DVD discs outside of your computer, you must close the session, which is a process that prepares the disc to be read by other computers and players.

    You can try to close or finalize the CD/DVD and check if it makes a difference.

    Also see the following articles:

    Burn a DVD-video disc

    DVD-video burning: frequently asked questions

    Why my CD or DVD does not work in another drive?

    Disc burning: frequently asked questions

    Gokul - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • PREVIOUS FLV Playback button works only once...

    Hi all..

    I have a FLVPlayer who plays a video and once the video is finished playing, is the BACK button. When you click the REPLAY button the movie again... Everything works fine, except the REPLAY button does work once... sense, once the film played only once and BACK button is cilcked to play again, after that the film is done playing for the 2nd time - the button does not appear... Fact, anyone has an idea on why it's perhaps? any help would be great appreciated. Thanks advance! Here is the code:

    Fl.video import. *;
    import flash.display.MovieClip;

    var myVideo:FLVPlayback = new FLVPlayback();
    var mybtn:myBtn = new myBtn();
    var staticpic:staticPic = new staticPic();
    logo: Logo of var = new Logo();

    myVideo.source = "BatterypoweredFCM.f4v";
    myVideo.skin = "SkinOverPlaySeekStop.swf";
    myVideo.skinAutoHide = true;
    myVideo.skinBackgroundColor = 000.
    myVideo.skinBackgroundAlpha =. 5;
    myVideo.width = 960;
    myVideo.height = 540;

    DropShadow
    function init() {}
    var dropShadow:DropShadowFilter = new DropShadowFilter();
    dropShadow.distance = 4;
    dropShadow.angle = 90;
    dropShadow.color = 000.
    dropShadow.alpha =.5
    dropShadow.blurX = 10;
    dropShadow.blurY = 8;

    logo.filters = new Array (dropShadow);
    }

    mybtn.x = 515;
    mybtn.y = 259;
    mybtn.Alpha =. 8;

    staticpic.x = 480;
    staticpic.y = 270;
    staticpic.Alpha =. 4;

    logo.x = 37;
    logo.y = 11;

    myVideo.addEventListener (VideoEvent.COMPLETE, completePlay);
    mybtn.addEventListener (MouseEvent.MOUSE_UP, proofreading);

    function completePlay(e:VideoEvent):void {}
    addChild (mybtn);
    addChildAt(staticpic,0);
    removeChild (myVideo);
    }

    function replay(e:MouseEvent):void {}
    addChildAt(myVideo,0);
    myVideo.play ();
    mybtn. Visible = false;
    staticpic. Visible = false;
    }

    addChildAt(myVideo,0);
    addChildAt (logo, 1);

    init();

    because you do not visible mybtn and you're never change that.  use:

    Fl.video import. *;

    import flash.display.MovieClip;

    var myVideo:FLVPlayback = new FLVPlayback();

    var mybtn:myBtn = new myBtn();

    var staticpic:staticPic = new staticPic();

    logo: Logo of var = new Logo();

    myVideo.source = "BatterypoweredFCM.f4v";

    myVideo.skin = "SkinOverPlaySeekStop.swf";

    myVideo.skinAutoHide = true;

    myVideo.skinBackgroundColor = 000.

    myVideo.skinBackgroundAlpha =. 5;

    myVideo.width = 960;

    myVideo.height = 540;

    DropShadow

    function init() {}

    var dropShadow:DropShadowFilter = new DropShadowFilter();

    dropShadow.distance = 4;

    dropShadow.angle = 90;

    dropShadow.color = 000.

    dropShadow.alpha =.5

    dropShadow.blurX = 10;

    dropShadow.blurY = 8;

    logo.filters = new Array (dropShadow);

    }

    mybtn.x = 515;

    mybtn.y = 259;

    mybtn.Alpha =. 8;

    staticpic.x = 480;

    staticpic.y = 270;

    staticpic.Alpha =. 4;

    logo.x = 37;

    logo.y = 11;

    myVideo.addEventListener (VideoEvent.COMPLETE, completePlay);

    mybtn.addEventListener (MouseEvent.MOUSE_UP, proofreading);

    function completePlay(e:VideoEvent):void {}

    addChild (mybtn);

    addChildAt(staticpic,0);

    removeChild (myVideo);

    }

    function replay(e:MouseEvent):void {}

    addChildAt(myVideo,0);

    myVideo.play ();

    removeChild (mybtn);

    removeChild (staticpic)

    }

    addChildAt(myVideo,0);

    addChildAt (logo, 1);

    init();

  • Simple question: triggering enter event framework only once?

    Hi, the code below is placed on a frame of the main timeline... it works, but apparently always triggers "gotoAndPlay" action over and over again.

    How to make an ENTER_FRAME event play a clip from movie such as "staged_kiss_mc" only once?

    The playhead on the main timeline is based in this unique setting for a while; It would be great if 'staged_kiss_mc' were to play only once, when the playhead first enters this framework rather that apparently repeat continuously... there at - it code to stop this repetition?

    addEventListener (Event.ENTER_FRAME, start_kisses);

    function start_kisses(event:Event) {}

    staged_kiss_mc.gotoAndPlay ("start_kissin");

    }

    Thank you!

    You can remove the event listener when the function is called, although for what see you the it is probably not necessary for the listener, or even function.  In this context all you need to do is the line of code...

    staged_kiss_mc.gotoAndPlay ("start_kissin");

    This line itself runs only once when you enter in this framework.  I'm not sure that the other response to your ad says it all, but citing the image tag is correct if it is the text of the actual label.

  • Satellite Pro L850 audio plays through 1 headset only

    I'm running the Pro L850 PSKG9A-009001 phone, which is a little over 3 months out of the box and the first audio went well when the headphones are connected. A few weeks ago, this changed, and now when I plug in my headset I get only audio through the headphone output A: I tried different pairs of headphones with the same result. When I use the headset in other devices, they work perfectly. What is important audio plays in stereo through the speakers of the laptop when there is no headset connected.

    I tried to reinstall the audio drivers realtek of the cd included, but can't find, and driver updates on the toshiba site. I also checked to make sure that this isn't a question of settings and I am unable to find a cause. I really wish I could hear the sound of the two channels and after trying everything I can think and isolate the question rightly the audio input jack; the feeling that there could be a problem of dry solder on the audio output jack.

    But I thought I was opening the issue to see if anyone has any ideas, I didn't think, who can quickly resolve the question, before I look at the supposed long process a warranty claim.

    I agree with you. This problem may be related to the port, audio output, especially if there is no problem with the internal speakers and if they do not work properly.
    Let's see which will show the other people about it, but what you can do now is to contact the nearest service provider of Toshiba, to explain the situation and ask for help.

  • Vista plays only 63 seconds of the first song to an audio cd and then goes at the end.

    Vista will play only the first 63 seconds of an audio cd then jump through to the end. This occurs using either media player or itunes. The disc information appears.  My cd set in my other computer which has XP. My DVD/CD ROM works fine for the mp3 discs and installed software. My cd is clean, I have AutoPlay activated.   Help, please

    Hi Meeker,

    Thank you for using Vista answers Forum.

    At this point, you can try to replace the CD drive with a known working drive to test the possibility of a device failure.

    No idea what the error was when it was your PC friend?

    Impatience back on your part.

    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The two speakers play left audio channel only.

    OK, so I plugged speakers to my new computer configured with windows 7 and have had problems listening to a simple song. When I use the speakers (I tried several different sets) the two speakers appear to play only the audio in the left channel, and nothing don't play the channel right, which means missing out on a lot of songs or watch: (.) The speakers are plugged into the making of lime on the back of the computer, and this problem occurs with each pair of speakers I'm looking for. When I use my usb headset, the sound is perfect. When I go into the sound Manager, I can "set up" speakers, and when the small figure lights up to let you know that all law is supposed to be carillon, carillon of two speakers. Even with the left. When I go to the Realtek HD audio Manager and test it, each speaker lights up and plays on his own, just as it is supposed to. If I connect to my other computer via desktop remotely, the sound works perfectly, each speaker playing its own channel. It's just when I am playing a song on my desk that I have problems. Also the problem with good windows media player and vlc player. Any assistance in obtaining of drew it up would be appreciated. Thank you!

    Use a splitter to connect your speakers to the back of the tower.

    Pregnant how many channels is it?

    The drivers are up to date?

    Motherboard?

    Update the audio drivers of blogs of the manufacturer of the motherboard.

  • How to integrate an audio to a Muse image file so that the music plays only when you click on the image?

    Hello! I'm looking for a way to incorporate an audio file (mp3 or quicktime) into a still image in my Muse site. Ideally, the audio would play only when you click the image, so that each image can contain a separate audio file. So important is that the audio file is not visible on the site (so soundcloud, youtube and vimeo doesn't work here). Is there a way to do this? Thank you, AR

    Check out this edition of the month of 123Muse (www.123Muse.com). This is audio and video by Muse.

  • Zoom H4n Audio stereo plays only the left speaker - how to double?

    Hi all

    I've worked on several projects and I noticed that the audio captured by the Zoom H4n will preview in both speakers (and before as I slide the mounting I can right-click-> edit-> Audio channels and get options there but also hear it on both speakers) but as soon as I drag him in the timeline it will play only through the left speaker.

    Any ideas where I'm wrong or how I can double the audio? It is all already cut together so I hope that there is a difficulty which is semi time efficient to apply lol. Thanks a lot for your help.

    -Karl

    Since you are already done with the change, your quickest fix is to use the left audio effect fill (Audio Effects > stereo > left fill). Apply it to all the clips that do not play in the two ways; It will duplicate the left channel in the right. The fill right effect would be the opposite.

  • Windows Media Player 12 will play only the first 50 minutes 80 minutes that he engraved on a 80 minute CD

    I burned music CD - Rs using WMP 12. Each CD has a capacity of 80 minutes, but my CD player and WMP will play only about 50 minutes of music. The entire playlist will appear on WMP, but when I choose a song towards the end of the list there is no audio data, even if the clock. CD with less than 48 minutes of music playing throughout the.

    Hi - I suspect that this will be the cd burner (burners on laptops later model do not appear to be a stain on those allows us to get in office more than 10 years computers back) while the disks I burned my laptop play OK in WMP - troubles begin when I read on my Sony CD player. I've seen this on 3 mobile different CD burners - up to about 40 minutes OK - thereafter, useless!

    I suggest to a previous poster that if she was likely to want to burn regularly that she needs to invest in an external USB recorder - she did and now fortunately Burns decent discs again. It is a relatively small investment and depends on your likely usage level.

    Another point that I always do; buy a small pack of CD - RW so that you can test different options (and also to test burn projects) without losing write - once discs. Don't expect results without error on their part: they are not as stable as CD - R, but can save burn a lot of roller coasters!  -Cheers, Ric.

Maybe you are looking for

  • Satellite Pro A10: after 3 years now just started closing

    Hello Can someone help with this problem?I've had my Pro A10 sitting about 3 years now and it has just started to close.I had the fan replaced and cleaning of the unit.In power options, I put the CPU to the minimum speed and max cooling. Someone at -

  • Satellite A500 - 1C0 - Windows has detected a problem with HARD drive

    Nice dayLaptop shows me that Windows has detected a problem with the HARD drive. The laptop is running slow and chops. And when you turn it, it shows me Smart failure predicted on hard disk 1. Toshiba MK-5055GSX - (S2). Can you help me? (I m, CZ) htt

  • error detection of 2103 on ssd0 (m2)

    Hello I bought a x 1 carbon 3rd gen and it works with no problems until today. I bought the 512 GB ssd option. All of a sudden I get the mentioned error, error detection of 2103 on ssd0 (m2), whenever I turn on the laptop, without the possibility of

  • How to add the Web page in the application of air?

    Hai, I need to add a little Web page to my application to the adobe air someone knows how to add this feature, please help... Thank you Dembélé

  • including return transport with the XML data in the table

    I am inserting data using XML in a table in a context of InDesign.As part of the text, I would put a few carriage returns, so that the text has a line break where I like it rather than that InDesign can do its best estimate as to how to split the lin