How do I get sound/mp3 streaming

Hello...   I have CS4 but save doc as CS3 so I hope I'm in the right forum.

I added a behavior like streaming mp3 sound. I want to put in a loop... Here is the code for the action that has been generated. How would it change to a loop. I changed the true to false at the end of the code, but that did not work.

Here it is:

Load mp3 Streaming behavior
If (_Global. Behaviors == null) _global. Behaviors = {};
If (_Global. Behaviors.Sound == null) _global. Behaviors.Sound = {};
If (typeof this.createEmptyMovieClip == 'undefined') {}
This._parent.createEmptyMovieClip ("BS_figaro", new Date () .getTime ()-(Math.floor ((new Date () .getTime ()) 10000) * 10000));
_Global. Behaviors.Sound.figaro = new Sound (this._parent.BS_figaro);
} else {}
this.createEmptyMovieClip ("_figaro_", new Date () .getTime ()-(Math.floor ((new Date () .getTime ()) 10000) * 10000));
_Global. Behaviors.Sound.figaro = new Sound (this.BS_figaro);
}
_global. Behaviors.Sound.figaro.loadSound ("http://rmalikconstruction.com/music/Mozart -Figaro.mp3 marriage", true);

Thank you very much for your help.
Julie

Try:

var s:Sound = new Sound (this);

{s.onSoundComplete = function ()}

s.Start ();

}

s.loadSound("whatever...//figaro.mp3",true)

Tags: Adobe Animate

Similar Questions

  • How do I get sound through my iMac with a USB turntable?

    How do I get sound through my iMac with a USB turntable?

    You need something like this:

    https://griffintechnology.com/us/iMic

  • How do you get sound on safe mode if it has not told!

    How do you get sound on safe mode if it has not told? He didn't use to say! It is possible a hacker has stolen the sound and typed it is? It could have been someone who was company or seized that they work in or landed a job at the company laptop I have! phyllisfc

    Frankly I doubt that you ever had its Mode without failure.  Safe mode is a specially designed Windows state that charge only a very minimal set of very generic for devices drivers, so that you can resolve problems or solve problems that cannot be solved with the full software and driver responsible.  Sound is one of the first things that gets tossed by the window, as improved video drivers, network drivers and so on.

  • How can I get sound from my desktop to my TV Toshba pc?

    His record game

    How can I get sound from my desktop pc to my TV Toshba, that Iam currently using as my monitor...  Thank you

    You need to run a separate cable for audio.

    See the following Note of http://windows.microsoft.com/en-US/windows7/Connect-your-computer-to-a-TV

    Cables VGA, DVI and component video don't support audio signals. However, HDMI cables are supported, but not all, audio signals compatible HDMI video audio support cards. If your TV has an audio input, you might be able to connect an audio cable separate from their computer directly to the TV card. Otherwise, you need to connect the audio signal to a different device, such as external speakers or your stereo. For more information about sound cards, see sound cards: frequently asked questions.

  • How do I get sound when I receive by e-mail

    How do I get sound when I receive mail

    Go to control panel | Sounds and put the sound for new mail Notification. Then, in OE, go to tools | Options and check the box that says read a sound message when new arrives.

    Steve

  • How can I get sound on the Windows XP computer with an HDMI instead of DVi cable?

    How can I get the sound on the Windows XP computer using an HDMI instead of DVI cable - my monitor accepts cables but

    I don't know how to make it work with the HDMI - help interface? Thank you!

    The question is not what operating system you have (a version of XP), but if your video card has an HDMI output.

    See http://www.bhphotovideo.com/indepth/computers/tips-solutions/how-connect-pc-hdmi-tv

    If you need specific advice on your computer, follow these steps:

    • Open system information (start > run > msinfo32.exe > OK)
    • Click in the system information window and select all (CTRL + A) and copy (CTRL + C)
    • Paste (CTRL + V) into your answer here
    • Return to system information and click on the + sign next to "Components" and then click "display".
    • Select all (CTRL + A) and then copy (CTRL + C)
    • Paste (CTRL + V) into your response at the end of the previous data
  • get sounds (mp3) to stop using the timer

    I am able to get the sound to trigger the use of the timer:

    import flash.media.SoundChannel;

    Stop();

    var mySound:Sound = new Sound();

    var myChannel:SoundChannel = new SoundChannel();

    mySound.load (new URLRequest ("iphone2.mp3"));

    import flash.events.TimerEvent;

    import flash.utils.Timer;

    var timer1:Timer = new Timer(1000, 16);

    Timer1.addEventListener (TimerEvent.TIMER, timerListener1);

    Timer1.start ();

    function timerListener1(event:TimerEvent):void

    {

    if(Timer1.CurrentCount ==4)

    {

    myChannel = mySound.play ();

    }

    if(Timer1.CurrentCount ==16)

    {

    myChannel = mySound.stop ();

    }

    }

    but myChannle = mySound.stop (); is not liked by as3.  Any ideas on how to solve this problem?  Thank you

    The Sound class does not have a stop() method.  This is where the SoundChannel comes into play.

    Use:

    myChannel.stop ();

  • Help! I lost his PC after installing the video card. The software installed its HDMI audio driver. How can I get sound on PC speakers?

    To watch TV on the big screen, I installed a video card with HDMI output. (Sapphire Radeon HD6450)
    The software installed its own device driver (AMD Hi definition audio) but disabled my PC speakers (and the headphone jack).
    (The sound is displayed on the TV very well, via HDMI, in which I can not type)
    I tried to re - activate the driver Legacy in the management of the computer, but the field enable is gray.
    The PC is a hp Pavilion a1630n
    It is essential for me to get a sound on my regular speakers to work on the PC.
    How?

    Hello

    You can check this link:

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

  • How can I get a live streaming video timecode?

    Hi all!

    I have set up a live video feed that works very well.  Server-side, we use the Flash Media Live Encoder, Flash Media Server streaming.   On the server, we checked the box to add a 'Timecode' for video and set it to simply incorporate the time system.

    Client-side I have a SWF file using the FLVPlayback component.  I can't figure out how to get the value of time code on the client.  'totalTime' returns NaN and 'playheadTime' returns the number of seconds from the connected client.   I need to get the time system/temporal being incorporated on the server.

    Thank you!

    FYI - I was able to do using the NFB 'international' of the embedded NetStream object manager.

    myVideo.addEventListener (fl.video.VideoEvent.STATE_CHANGE, onVideoStateChange);

    function onVideoStateChange(evt:fl.video.VideoEvent)

    {

    trace ("Status =" + evt.state);

    If (evt.state == "play")

    {

    If (! ns)

    {

    NS = .netStream myVideo.getVideoPlayer (evt.vp);

    ns.client.onFI = onFIHandler;

    }

    }

    }

    function onFIHandler(infoObj:Object):void

    {

    var ts:String = infoObj.st;

    trace ("system time:" + ts);

    ExternalInterface.call("saveglobalscore",score) ("updateTimeStamp", ts);

    }

  • How can I get my mp3 player to sync when it keep me in error

    At first my mp3 player worked fine, but now it took all me off music and it wont let me sync has nothing.  I use a Syrus.

    Check with the people who made or sold your MP3 player to see if there is software to test or diagnose problems with it. It may simply have failed if he is old, has been dropped or shocked, etc..

  • receive unknown audio streams: How can I get rid of an external audio stream through my laptop? It sounds like a radio station.

    How can I get rid of an external audio stream through my laptop? It sounds like a radio station.

    Try this 1:

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    See you soon.

    Mick Murphy - Microsoft partner

  • How can I get a sound to play more than once using the Commons of edges?

    Hi, I'm very new to all of this; If Mylène so ask dumb stuff...

    I used successfully the communes of edge to get an audio effect to play on a timeline, but it will play only once. Anyone know how I can get it to play again at various times of relaxation?

    The code I use in creationComplete is:

    yepnope({
              load: "http://simonwidjaja.github.com/EdgeCommons/live/EdgeCommons-0.7.1.js",
              callback: function() {
    
    
    
    
                        // Load sound manifest (e.g. in creationComplete)
                        var assetsPath = "media/";
                        EC.Sound.setup(
                            [
                                  {src: assetsPath + "bubbles.mp3|" + assetsPath + "bubbles.ogg", id: "bubbles"},
                            ],
                            function(){ EC.info("Sound setup finished", "DEMO"); }
                        );
    
    
    
    
                  }
    });
    
    

    I then in a trigger on the timeline:

    EC.Sound.play("bubbles");
    

    As said, plays the foregoing, once... but if I place another, 'EC. Sound.Play ("Bubbles");' trigger further along the scenario, nothing happens. Similarly, if audio has already played and the lines of the timeline, the audio will not play a second time. I think I have to write in certain kinds of "unload" kind of thing, so he can play again when it hits the new trigger? Or I could just talk to Cobblers? Who knows? I certainly don't have which is why I desperately need help... Please x

    Have you tried to put the code to specific locations in the timeline?

    Here's a samlpe:

    https://www.box.com/s/3cf7sh7mtwzpvfqmynt1

  • How can I get the sound card to play on the speakers of the car?

    How can I get the sound card to play on the speakers of the car?

    Usually connecting the phone to the car system - particularly at the point where you can play the music usually connects the Maps app

    There is a switch at the bottom of the maps app with a speaker symbol that allows you to toggle between having the sound coming through the phone or Bluetooth

  • I deleted the tool sound card - how do I get it back?

    I used Add/Remove programs to free up space, and I think I deleted a program that performs his mistake.
    Now my laptop continues to send error message when I try to listen to music etc.

    How can I get the sound to work on the laptop?
    Anyone could help?
    I'm only semi in computer science.

    Hello

    Because Windows XP and Vista are supported by the Microsoft System Restore useful tool, you can use this program to set the operating system to the point of time at the beginning before you deleted the sound card tool.

    I think it's the easiest and the best way to get it back ;)

    Try this!

  • How can I get iPhone play sound of favorite when text DND?

    Hello

    How can I get iPhone play sound of favorite when text DND?

    It plays the ringtone for a call when DND of a favorite but not identified a favorite texts me

    Thanks in advance

    You do not have. Notifications for all the messages are deleted when DND is turned on.

Maybe you are looking for

  • Qosmio G20: Media FN and control buttons do not work with XP

    Please I need help as its brightness full stuck on and my eyes hurt... lol... no jokes, it's really bad. I rang the guys TI and they give me just a website, but they don't tell me which driver. I downloaded the Qosimo drive driver, but I don't know h

  • Operation of the Bluetooth - 3000 Y410 7757 9RQ

    Friends, Recently I bought a Lenovo laptop model Y410 7757 9RQ. I installed XP OS inside. I am facing problem in the use of Bluetooth. I installed the driver for this model of download of www.lenovo.com/support. Yet, the bluetooth does not work. The

  • Multi-page scanning on Officejet Pro 8600 with bucket

    I had to replace a process of multi HP 6400 series with HP Officejet Pro 8600. With the old software that he would ask if there was other pages when you use the flatbed scanner option. I can't understand how to do this using the new software and it a

  • Want to install a second hard drive 500 GB SATA

    HI, have a Dell OptiPlex 745, I would like to install a second 500 GB SATA; removed the cover and there discovered is only a single data on the cable connector.  Buy a cable for desktop t6his linking the two SATA drives?  Can someone help me to know

  • How can I see all my photos in folders "my pictures"?

    Since I bought this new computer with Windows 7 three months ago, I never post photos in folders "my images". I mean, for some pic I wanted to get an overview, I have to click on this photo file and individually amd choose a program to open it. I don