adobe, flash , cs3, action script

Posted on 2007-08-04
Last Modified: 2013-11-05
Ok What do you suggest for putting a sound on a button?  I am working on the sound board on my computer and while adding the sounds to the buttons hit frame I chose to have the button "start" the sound as apposed to "stream" the sound.   Ok so what is the difference?  and when i chose to stream the sound it would not play on my computer.  I think it gave an error or something. idk the exact error because im at work right now.  But if I oublish it to the internet should the sound be streamed?  
Question by:flashactions
    1 Comment
    LVL 23

    Accepted Solution

    the way you are doing it at the moment is you have the sound embedded in the you start the sound playing with a mouse click..
    if the sound is is not embedded in the swf..but loads (streams) from the server when you click the button.
    The way you are doing it now is best for short sounds as you want the sound to be heard instantly..(when the button is clicked)..if you stream it unless the user has a high-speed connection..there will almost certainly be a delay before if plays.
    [it would not have played when you tried to stream it as you have to have the sound file separately on the the swf can load it]

    The same applies to say a song or voice over..with streaming the won't start playing until a certain amount of data has arrived..although it will start before the whole thing has downloaded..but again with a slowish connection you can end up with a stop/start choppy presentation.
    If the soundis in the would play immediately and seamlessly.


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now