Overlaping sounds between SWF files

Hi there!
I'm making a serie of animations at my work. Each animation is a different SWF file (with a different background music) and they are all linked by a "Menu".
The music was placed in a single layer of the first scene of each animation by using "Sync: Start > Loop". Although it is only in the first scene, the music keeps playing during the other scenes. That's no problem at all for me!
But when I navigate through the files, each file's background music keeps playing, even though it's not running any more. So, in a certain moment, there are 3 or 4 sounds playing at the same time.
Can anyone help me? Please! =P

Actually, solved this adding "SoundMixer.stopAll()" inside AS code of the button that I've created to change from scene to scene.
But thanks anyways, Ned Murphy!

Similar Messages

  • Passing data parameter between SWF files

    Hello Xcelsius Gurus,
    Is it possible to pass data parameter between SWF files?
    If possible, how to achieve it?
    Thank you.
    Justine

    Hi,
    Thank you for the reference.  Little bit confused, please let me clarify. 
    I do not understand how the receiver SWF receieved the data parameter and process.
    For example, I have a parent dashboard and a child dashboard.  In the parent dashboard, I have set up combo box to filter the data.  And I want the data that I have selected in combo box to the child dashboard.
    To do this, first I need to setup the flash variable at the parent dashboard to fetch the data I selected.
    After this, how to link this data to the child dashboard?
    Furthermore, after the child dashboard received the data parameter, I need this data to insert into the spreadsheet so I can filter the data.  Is this possible?
    Thanks.
    Edited by: Justine Liu on Jan 19, 2010 3:11 PM

  • STRANGE problem with sound in SWF files...Please help if you know how...

    Hello,
         Okay, so, I recently learned how to use Adobe InDesign to create a book.  there is a lot a still don't know.  When I export my document as a SWF file, it works great and has sound and animations where it should.  However, if I move that SWF to a new location, such as my desktop or uploading it to an e-mail, it looses all the sound information.  To add sound to each page, I added a hidden object to each page that was the sound file so that I could attach it to a button.  It seems that it is loosing that sound file if I move it to a new location.  Any ideas or solutions?

    UPDATE:  I have learned that my problem is related to a "resourse folder" which must go wherever the file goes in order for it to have sound.  This is a bit inconvinient for me, as my client is computer illiterate.  I really want to find a way to just embed the sound into a file that you can just open and play.  To the best of my knowlege, SWF format is the only format that allows for the page turning animation.  Does anyone know a way to embed the sound into the SWF file or am I SOL here?

  • No sound in swf file

    I need to resize an flv file. I opened it in Flash and embedded it as a movie clip in the timeline. I also embedded into the timeline frame sequence. I was able to resize the file successfully. When I preview publish it as a swf file, it plays with sound in Flash. When I export the clip to a flv file, it doesn't play with sound. I have also tried to convert the flash from swf back to flv using After Effects, but there is no sound either in AE and when I play the converted file in Adobe Media Player. I am stumped on how to get any sounds from this file and appreciate any help I could get.

    Have you asked Maps Marker Pro for support for their product?
    https://www.mapsmarker.com/support/
    Chances are you need specific code for Gecko based browsers, which might need different code than Trident, WebKit, and Blink based browsers use.

  • Linking between SWF files

    I need to general advice while protyping my website. I'm
    creating separate somewhat large swf files for each page of my
    website. Therefore, each will need its own html file if I don't
    want it take 3 years to go between pages. I'm confused how to link
    between the each page using a button in flash. Is this an action
    script thing? My links will be static text buttons. Thanks.

    Thanks. I think I get it, but I want to be sure. I think I
    need to be a little clearer:
    One SWF file inserted as my entire index.html page. Right now
    I have a static text button in the SWF file home page that says
    "About Us". I'm designing a new page that will also be its own SWF
    file for "About Us". I have a new www.xxxxx.com/aboutus.html page
    that I plan to put the file in when finished. In the text button on
    the homepage, do I use AS3 URLRequest("
    http://www.xxxxxxx.com/aboutus.html")
    to navigate. Thanks.

  • Sharing data between swf files

    Hello,
         I have a login.swf file which authenticates the user. Once login is successful I want redirect to loggedin.swf file and pass some user information to the loggedin.swf?. How do i do it? I dont want to use shared objects as users may prevent saving  on to local machine. I dont want to send it in URL either. I want something like hidden variables in html. Is it possible.
    Thanks,
    Bharani

    Hi
    I have mutiple swf files in single page each having its sound attached to it.
    Now I want one sound to play at a time while all rest swf's sound to be mute.
    When user clicks second swf then first swf sound to be mute and second's swf sound to play and all rest swf to mute.
    Similarly when he clicks third then third's sound to play while rest all swf to be mute.
    I have already implemented swf with sound attached.
    But they all are playing at a time.
    How this control can be implemented ?? Number of swf files can vary.
    Any help??

  • Link between swf files.

    Hello. I need to find a way to link multiple .swf files, so I may have a menu and after clicking a button go from there  to any swf file and back. But i need something that works in AS 2 and 3 because my files are in both ActionScripts. It shouldn't be a problem, right? Ive been looking for and trying different things but i can't do it.
    Hope someone can help
    Thanks.

    Also I have this code that works in AS3 but only for one button, when I try to make another one flash marks error. I cant link another button with another file.
    var loadedSWF:Loader = null;
    * Loads an SWF and adds it to container once complete
    * @param file The URL to the SWF to load
    * @param container The container to add the SWF to
    function loadSWF(file:String, container:MovieClip=null):void
        if(container == null) container = MovieClip(root);
        // removes the previously loaded SWF
        if(loadedSWF != null)
            if(loadedSWF.parent) loadedSWF.parent.removeChild(loadedSWF);
        var req:URLRequest = new URLRequest(file);
        loadedSWF = new Loader();
        loadedSWF.load(req);
        addChild(loadedSWF);
    mybutton.addEventListener(MouseEvent.CLICK, _click);
    function _click(e:MouseEvent):void
        loadSWF("myfile1.swf");

  • Communicating between swf files

    movie1.swf has a loader component named myLoader.
    can movie2.swf contain a button instance that will tell
    movie1.swf.myLoader what to load?

    It shouldn't. If sub.swf is truly loaded into _level1 then it
    has no _level0, really this is correct!
    Are you sure you are loading into a _level and not onto a
    depth? Many folks mix the two up.
    If you are having a lot of trouble with this it is generally
    a good idea to set your current project aside for the moment and
    start with a fresh slate. I created two swf files.
    test1.swf has a blue square and code to load an external clip
    into _level1 the code is:
    loadMovieNum("test2.swf",1);
    test2.swf has a movieclip instance of a red circle and the
    following actionscript:
    myClip.onRelease=function(){
    _level0._alpha=50;
    When test1.swf is run I see both my blue square and my red
    circle. When I click on the red circle only the blue square (the
    art work on _level0 from the original swf) is made 50 percent
    opaque. The red circle remains as it was.
    You might want to try a similar test, starting with something
    like I have and moving it toward what you are trying to achieve.
    I'm not sure I understand your
    _level0.myVariable.goDoThis()
    syntax. myVariable seems like a property and properties don't
    usually have methods so I don't quite get it. If myVariable is a
    variable defined in the sub.swf then maybe you need this:
    _level0[myVariable].goDoThis();
    ???

  • No sound in swf files

    I am running OS 10.4.9 on a G5 iMac. Quicktime is ver 7.1.6.
    Recently I discovered that Shockwave files no longer play sound. I
    installed the Flash Player 9 upgrade. Still no sound. This occurs
    when using Test Movie in Flash (ver. MX2004), Quicktime Player or
    Safari or other browser to play the files. Also any sounds imported
    into Flash will not play in Test Movie or by using the play button
    in the Library. Not sure if this is a Mac problem or a Flash
    problem...?

    Thanks, Tom
    Someone told me to check the Audio MIDI Setup in the
    Utilities folder and set it to no higher than 44100, which I did.
    That solved the problem. Your solution to open Garge Band sounds
    like a great idea, since you say the default would be set
    automatically. I'll keep that in mind, as I think the problem arose
    when I upgraded to 10.4.9. If it happens every time I install an
    upgrade, I'll remember to do that. Thanks again.

  • My imported swf files have lost their streaming sound. What can I do?

    I am trying to import a swf I made that contains streaming sound. When I place it on the time line and press cntr enter my animation plays but with no audio. I see the symbols from the swf and the swf inside my library. When I open the swf file inside my project it is broken down frame by frame with no audio. I can add audio back into my movie clip so I know that movie clips can support streaming audio. But I would rather not have to do this.
    I'm very new to flash so I am hoping there is something big that I am missing.
    In addition to my previous question: I need to embed a lot of objects over and over in this project I am working on. Each object will have controls for play back of itself. Is there some reason I cannot do this?
    Thank you for any advice you may have.

    Thank you for your reply
    Ok. I will need to maintain a libary of movie clips that contain streaming audio and simple scripts. Does anyone know of a good tutorial for importing a file at runtime? I've seen something called shared libary properties and it has a field for a url. I put a swf file on my web site and took it's url and put it into this field but nothing shows in my library. What else do I need to do?

  • Sound files not playing from inDesign SWF file

    Using Dropbox file transfer, I'm sending a colleague an inDesign project  as a SWF file - a flip book with audio. The files in Dropbox are the SWF Movie files, the HTML and the Resources folder. My colleague is trying upload these to his website. I presumed the sound files would go up via my colleagues FTP and Flash player would link to them. The sound files are functioning. Can anyone outline the procedure one should follow to get Flash to engage with this?   Is there a better locale fo this thread?

    That's what I thought too, but all files are there.  I used to have numerous files (6-8) in a dropbox folder with all parts: cptx, htm, swf, js and the html would play fine by just clicking on the link.  Once it started not working I made individual folders with each part of the file and included them into each seperate folder.  Still not loading/opening.  This is happening to everyone I send the link to.  I've tried opening it in different browsers too.
    Here is a link if anyone wants to see what happens:  https://www.dropbox.com/s/460vq2nqu4dbwf1/courseconnect_training_2013.htm
    Here is how I am including each part of the file in the actual folder:
    https://www.dropbox.com/sh/sdfjdeud8jro1v1/SdZMzJHXBo

  • Flash swf file import with sound effect

    I'm sorry for my english
    when ı import any swf file that include sound effect and run the project. Swf files running perfect but swf files are quiet...
    how can ı solve this

    We have configured our BW sytem to extract data from CRM. Various reports are displayed in CRM UI  including queries using BEx WEb and Xcelsius dashboards. Xcelsius dashboards is pulling data from BW cube for CRM data. To present the dashboard in CRM UI we created a bEX web template as a copy of 0DASHBOARD_TEMPLATE. In the copied template specify the name of the xcelsius file. The copied web template can be configured using standard config options for CRM UI.

  • Encrypted packets between server - client (swf file)

    hello guys,
    can some1 know how can i decrypt some packets which are sended between server - client (swf file) ?
    ty

    You shouldn't need to sync u/gid's. 
    The first thing that comes to my mind here is simple filesystem perms.  To test I would make the shared dir world/group readable/writeable - IE chmod 777 /my/shared/folder. then try connecting from the remote client.  Remember, there are two sets of access permissions...Share level and filesystem level.
    You can do user/group mapping if you're in a Windows AD or domain environment, but with stand-alone Samba servers this is not necessary.
    I would also check the samba check list at the following link for a decent, simple set of items to look at for basic troubleshooting...
    http://us3.samba.org/samba/docs/man/Sam … nosis.html

  • Trying to properly code a menu with buttons that can go back and forth between external swf files

    I have a project I've been working on that, when properly coded, has a "main menu" with 4 "doors" (buttons). When the corresponding buttons to these "doors" are clicked, it should go to and play an external .swf file. If that doesn't make sense, think of a DVD menu. You click play movie, it plays the movie. When the movie is over, there's two buttons on that swf file to either play the movie over or go back the main menu, which is an external .swf file (Remember, we go to the movie from the menu, which is a seperate file). So far, the buttons work. The menu works. However, from the movie, at the conclusion, when I click the button to go back to the main menu, it displays the movie clip and the buttons, but none of the buttons work. I'm starting to think it has to do with the fact the main menu was written in AS3 and the movie was made in AS2. If anyone can assist me in being to able to keep both files and still navigate between the two, being able to bring up the menu from the movie and be able to play the movie again, and so on and so on, that'd be GREAT. I'm somewhat of a noob to Flash, but I learn quickly and I'm open to any suggestions. Here's the code for main menu, which I guess acts as the parent file, and the movie. If I get this to work, I essentially would duplicate the same actions for the other 4 doors, once I complete the environments for them. Thanks
    Main.Fla/Swf (written in AS3)
    (This is the action on the first frame, that has all the buttons. For this question, I'm just trying to properly code for 'Door4', which is the "door" to the movie.)
    import flash.display.Loader;
    stop();
    var myLoader1:Loader=new Loader ();
    Door4.addEventListener(MouseEvent.CLICK, jayzSwf);
    function jayzSwf(myevent1:MouseEvent):void
              var myURL1:URLRequest = new URLRequest("jayzspeaks.swf");
              myLoader1.load(myURL1);
              addChild(myLoader1);
              myLoader1.x = 0;
              myLoader1.y = 0;
    Movie.Fla/Swf (written in AS2)
    (This is action on the button that returns to the menu)
    on (release) {
              this.createEmptyMovieClip("container",this.getNextHighestDepth());
              container.loadMovie("main.swf");

    At least you're going in the correct (mis)direction. You have AS3 loading AS2. So that's not a huge hurdle.
    I believe all you really need to do is send your Main.swf a signal that the content it loaded (e.g. jayzspeaks.swf) is done and you want to get rid of it.
    The code I pointed you to asks you to (upon download and import then) instantiate it in both AS2 and AS3. They give a very simple easy to understand line of code.
    // as2, load this in jayzspeaks.swf
    var myBridge:SWFBridgeAS2 = new SWFBridgeAS2("connectionID", clientObj);
    // as3, load this in main.swf
    var myBridge:SWFBridgeAS3 = new SWFBridgeAS3("connectionID", clientObj);
    Make sure the connectionID matches between them. Set it to whatever you want.
    When you're done with your as2 loaded content you'd send a signal (over localconnection) back to the AS3 Main like they say:
    myBridge.send("someFunctionToUnloadContent");
    myBridge.close();
    You'd need to make the as3 function "someFunctionToUnloadContent()" (example purposes only name) and it should unload the jayzspeaks.swf that was loaded in the loader.
    Make sure you get that close in there so you don't drill up a bunch of localconnection objects just like the simple source code says.

  • Communications between 2 separated .swf files AS 3

    Hello,
    I have spend hours searching it over internet but i have found only codes which solves this problem in Action Script 2.0 like this http://blog.circlecube.com/2008/03/tutorial/local-connection-actionscript-communicate-betw een-seperate-flash-files-tutorial/
    and i want to solve it out with action script 3.0
    My problem is that i simply want to communicate between two separated .swf files in one HTML page.
    So if you have any ideas i would appreciate any help.
    thx

    You can talk between movies using javascript as the middleman. Here's a link that provides some information on that for both AS2 and AS3...
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683
    It can be a little confusing to make it work, so take your time with it.

Maybe you are looking for

  • Going from Office 2010 to 2013 and Back to 2010 I lost My Outlook Search

    Hello-- We are doing some beta testing and I had to install Office 2013 from 2010. I finished the testing and went back to 2010. Now, when I do a Windows search, my Outlook email is not included in the search results. This is a major loss to my produ

  • IWeb and Pages

    A piece of text set using Pages 2.0.0 was appearing correctly when transferred to iWeb V1. It was correctly converted when the html file was created. Now it "seems" the text is still well represented when transferred but not well converted. Ie the te

  • Win 7 Bluetooth problems with N958gb

    Hi, I'm new to these forums, hope some one can advise. Briefly my 95 8gb is about 3 years old now and it's a great phone for me, some niggles but great none the less. I have always updated my phone via the Nokia software suite via my PC using XP home

  • Transcribing from Soudbooth

    I have Soundbooth CS3 and I thought is had transcribing ability, but I can't find it. By all accounts, there should be a Metadata option in the Window tab. But there's no Metadata option. I can find metadata in Bridge, but once again, when I open the

  • IPhone Promo Trade-in Questions

    I have a couple questions that I don't see directly answered: 1. Can you trade your old iPhone into a Verizon Store and immediately get the $200 promotion or do you have to do it online and risk being scammed? 2. A Verizon person commented on one of