External SWF sounds playing over each other

Hello all,
Does anyone have any clue on how to unload an external swf with all its sounds?

if you're using cs4 publishing for fp10 you can use unloadAndStop().  otherwise, you must explicity stop the swf's sounds (or more crudely stop all sounds using SoundMixer.stopAll() ) and then apply the loader's unload() method.

Similar Messages

  • Two different projects spliced together over each other some how?

    Greetings everyone,
    I thought forum users might be interested in this one. I don't use the forum often so I don't know the history but has anybody ever had two different projects spliced together over each other some how? For example, I was tweaking a project and left it alone for several months. I came back today to work on it and clips from other projects were in it some how. Also the audio from the new clips were in the new project and overriding the existing project. Does anybody know how to restore the two and make them separate them without losing any info. from either one? The thing's a mess. I had 1 video track w/ some subtitles, a voice over, and some music in the background. Now it has two video clips, and two of everything else. It's crazy. I don't think it's a virus or anything. Nothing else on my machine is acting strange. I hope nobody else has experienced this yet can help.
    Peace

    If you have a backup external drive and Time Machine, I would suggest the following:
    Locate this specific clip in your Finder. Highlight it and rename it "old", or something similar.
    Launch Time Machine.
    Go back to a date in time when this clip was as you properly edited it.
    Again, make sure Finder is still open and highlight the clip.
    Click "restore" in Time Machine.
    Open iMovie and you will see your project as you had it all those months ago.
    This works for me when I have an iMovie project behaving badly.
    iMovie is a great application: but just like us, it has good days and bad days.
    Dan

  • Preload external swf before play

    i have a project i am working on...but for some reason the solution i went with is not satisfying my instructor......
    so....here is my new code ( which is incorrect but i cant figure out how to arrange the preloader at the end )
    var Xpos:Number=0;
    var Ypos:Number=0;
    var swf:MovieClip;
    var bgloader:Loader = new Loader();
    var bgURL
    if(page==1){
    bgURL=new URLRequest("pages/home.swf");
    else if(page==2){
    bgURL=new URLRequest("pages/about.swf");
    else if(page==3){
    bgURL=new URLRequest("pages/projects.swf");
    else if(page==4){
    bgURL=new URLRequest("pages/experimental.swf");
    else if(page==5){
    bgURL=new URLRequest("pages/contact.swf");
    bgloader.load(bgURL);
    bgloader.x=Xpos;
    bgloader.y=Ypos;
    bg.addChild(bgloader);
    stop();
    var percent:Number = bgURL.bytesTotal;
    if(percent==100){
    gotoAndPlay("start");
    first off, i dont even know if what i am being asked to do is possible...but, what i am being requested to do is obviously load in the external swf BUT, the external swf cannot play until the MAIN swf is directed to "start"......
    i have done this numerous times in as1 and 2....but back then things were totally written different and if you do it the same way you run into migration issues....
    i thought this was solved already, but my instructor will not accept the method of using an event to be dispatched in the external SWF to tell the main swf when to play "start"....im not sure if there is any other way to do this?
    he wants the external swf to contain NO code other than what is necessary for its internal functions....
    everything is to be coded in the MAIN swf.....
    so im trying to use bytesTotal, and the percent==100 is just a number i threw in for example purposes.....i am just not figuring this out....
    any help is greatly appreciated

    From what I could gather based on your description, your instructor wants you to start playing when external swf is loaded completely.
    If my understanding is correct, what you need to do conceptually is:
    1. Instantiate Loader
    2. Add event listeners that you are interested in.
    3. Execute code corresponding to these listeners in their corresponding handler functions.
    As for No 2 - Usually there are at least 3 events that are of interest when dealing with Loaders:
    1. Event.COMPLETE - dispatched when entire target is loaded
    2. ProgressEvent.PROGRESS - dispatched when a new bytes packet arrives.
    3. IOErrorEvent.IO_ERROR - dispatched when something goes wrong with loading (say, wrong url, etc.)
    In your particular case it is supposed to be something like this (may not work because you did not describe what is the point of different swfs loading and how it affects entire application). SEE COMMENTS:
    stop();
    var swf:MovieClip;
    // always specify datatype
    var bgURL:URLRequest;
    if(page == 1) {
         bgURL = new URLRequest("pages/home.swf");
    else if (page == 2) {
         bgURL = new URLRequest("pages/about.swf");
    else if (page == 3) {
         bgURL = new URLRequest("pages/projects.swf");
    else if (page == 4) {
         bgURL = new URLRequest("pages/experimental.swf");
    else if (page == 5) {
         bgURL = new URLRequest("pages/contact.swf");
    var bgloader:Loader = new Loader();
    configureListeners();
    // now you are ready to load
    bgloader.load(bgURL);
    * Adds listeners.
    function configureListeners():void {
         // NOTE!!! Listeners are added to contentLoaderInfo - not Loader itself
         bgloader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
         bgloader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
         bgloader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onLoadError);
    * Removes listeners.
    function removeListeners():void {
         bgloader.contentLoaderInfo.removeEventListener(Event.COMPLETE, onLoadComplete);
         bgloader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, onProgress);
         bgloader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, onLoadError);
    function onLoadComplete(e:Event):void
         // depeneding on the situation
         // you may want to add loaded swf
         // but before if swf exists - you need to remove it
         if (swf && this.contains(swf)) {
              removeChild(swf);
              swf = null;
         swf = bgloader.content as MovieClip;
         addChild(swf);
         // now play
         this.gotToAndPlay("start");
         // dont't forget to remove listeners
         removeListeners();
    function onLoadError(e:IOErrorEvent):void
         // deal with the error
    function onProgress(e:ProgressEvent):void
         // here you update preloader if you have one
         trace("Progress", e.bytesLoaded, e.bytesTotal);
    On a side note, the way you deal with instnatiating URLRequests is not the most efficient or scalable. A better approach would be to keep them in an array and call by index. Note, conditionals are gone.
    var bgList:Array = [
              "pages/home.swf",
              "pages/about.swf",
              "pages/projects.swf",
              "pages/experimental.swf",
              "pages/contact.swf"];
    var bgURL:URLRequest = new URLRequest(bgList[page]);

  • Can I center 2 divs over each other??

    OK, I've built a website completely in Flash and I'm trying
    to lay it out with dreamweaver so that when viewed on 800x640
    resolution maxed browser window it will fit snug without any
    horizontal scrollbar (the SWF's is fit to this standard); and when
    viewed on 1024x768 maxed window it will be centered in the window
    PLUS have a background on either side (So this background should
    not appear in the 800x640 window). If that isn't clear compare
    http://www.gamespot.com.
    Right so my idea was just to put the SWF in a div and this
    background PNG in a div and center them both, while making the PNG
    width=100%.
    Well that doesn't seem to work. I guess you can't center two
    divs over each other?? The only way I can make one overlay on the
    other is by giving it an absolute position, but then of course it
    isn't centered any more.
    Any suggestions?

    Well, no, that's not what I meant.
    Background images don't do 100%. Using CSS like this -
    body { background-repeat:no-repeat;
    background-position:center; }
    will a) prevent the image from tiling, and b) will place it
    in the center of
    any size viewport. Is that what you wanted?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joniba" <[email protected]> wrote in
    message
    news:en3a6r$jgr$[email protected]..
    > Yeah, sorry I'm just learning all this, so now I know
    how to (I didn't
    > when I
    > posted the message). So I guess I could just center the
    background image
    > with
    > no-repeat, and if it's 100% it anyway shouldn't repeat
    (?). Is that what
    > you
    > meant?
    >

  • How can i get my items to stay in place and not cross over each other when readjusting the browser s

    How can i get my items to stay in place and not cross over each other when readjusting the browser size.
    Basically on my site when i go from a small screen to a big screen everything doesn't adjust to the screen size. I don't know what im missing
    Here's the link to the page all the pages & they all do it
    http://theatricalworkslive.com/
    Thanks in advance

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem.  Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Since downloading the most current iTunes software I can no longer print the insert (label) for a jewel case.  The songs are printed over each other and can not be read.  Any suggestions?  Thanks.

    Since downloading the most current iTunes software I am no longer able to print an insert (label) for a jewel case.  I click on print, choose jewel case and then it doesn't matter which option I choose for the insert it will only print the songs over each other in a 1 inch section so that it can not be used or read.  If instead of clicking on the jewel case I click on list it works fine and prints an appropriate list.  I have always updated the iTunes software the first time I am offered to do so and I have never had a problem printing the jewel case inserts.  Since this issue is not about a piece of hardware iTunes help will not help me. 

    Did you ever get a response?
    If you so how did you correct the problem?
    I have the exact problem you had.
    Please let me know.
    Thank you
    <Edited by Host>

  • Chart series lines going over each other

    All i have a chart with 3 series, how do i get it so that the lines are all separate, at the moment they go over each other and i can't see each of the three, i know that some of the values are the same, and some are near to each other, but how do i spread them out.

    do not know if you need the solution, but you can try to give a min / max value of the y-axis to spread the line out? Go to the "Chart attribute" page and in the section "Axes Settings" you can enter a min and max value for the y axis.

  • Png files are over each other in the iphoto import window

    When i connect my iphone to the mac to import photos in iphoto, the png files are over each other in the iphoto import window. Jpegs are also showing up in the iphoto grid with new photos but each box contains 1 photo, which is normal. With png pictures, iphoto puts up to 3 pictures on top of each other in each box.
    Anybody has seen this before?
    Kind regards,
    Jeff Dehaes

    oops, sorry, re-installed iphoto and it works again, they weren't even png's just jpegs...
    Problem solved.

  • When I Print a cd jewel case the song list is printed over each other in 11.0, what's the fix?

    When printing a cd jewel case the song list prints over each other in i-tunes 11.0. Is there a fix for this?

    This is Driving me Crazy!!  I have a brother MFC-J615W and just like in the above discussions with Windows 7 64bit, The Title Prints fine, The Title in the lower other corner prints fine and the Song Listing prints all over itself and can't be read.  How can I get help?  I Tunes 11.0.2.26...

  • HT204053 I have 2 ipads and want play against each other mba2k13 how do i do it

    i have 2 ipads and want to play against each other mba2k13 how do i do it

    All purchases (and their updates) are forever tied to the ID used when they were bought.  You cannot erase an ID, you simply stop using it.    You will have to allow your son an exclusive account if he wants to use your computer.   Can you log in under your ID now ... or do you have to use his?    If the latter is the case, he has clearly changed your ID to one that is his.

  • Button from External SWF to Play Movie in Main SWF

    Hi Guys,
    Ok I'm working in Flash 8, Action Script 2;
    I'm building a website, in which the 'Gallery Page' has a link to an external swf file, which is a scrolling clip of thumbnails.
    What I want to do, is create each thumbnail into a button, which will then play a Movie Clip from a frame located in the Main swf file.
    (So basically, each thumbnail button is a small photo, will play that photo in a large scale as a movie)
    eg.
    thumbnail1_btn  needs to go to main swf and play movieclip1.mc, frame 1
    thumbnail2_btn nends to go to main swf and play movieclip1.mc, frame 2
    I'm unsure of the code for this? Or if I've built this up wrong?
    If someone could help me out, that would be great!

    If you haven't set _lockroot on the loaded SWF, than a simple _root call from the loaded SWF will talk to the main SWF.
    IE:
    on(release){
    _root.gotoAndPlay(1);
    If you did set the lockroot, then call the level directly, via:
    on(release){
    _level0.gotoAndPlay(1);
    Once on the root level, you can access a movie clip as normal.
    So:
    on(release){
    _level0.movieClip1.gotoAndPlay(1);
    will call the movie clip "movieClip1" which resides on the timeline of _level0 (which is main.swf in your instance), and tell it to jump to the first frame and start playing.

  • External SWF only plays first few frames then loops

    Help!  I've been working on this for the past few weeks.  Have read everything I can read.  Have tried everything I that has been posted.  And still I can seem to get a simple external swf to load and play using AS3.  I have tried numerous ways with the same results everytime.  Here are a few of the scripts I have tried.  What I would like to have happen is to have one main timeline where I load sequentially external SWF files - there is no interaction required - it is a presentation that includes video and other Flash SWF files that I have created.  Now I just want them all in one flash file.  I had no problems with AS2 doing this, but I'm sure having fits with AS3!  please HELP - my deadline is this week and I'm not even close to being ready.  THANKS!
    var myLoader:Loader = new Loader();                   
    var url:URLRequest = new URLRequest("script1_3.swf");                                  
    addChild(myLoader);
    //var begin:MovieClip;
    //var beginLoader:Loader = new Loader();
    //beginLoader.contentLoaderInfo.addEventListener(Event.INIT, beginLoading);
    //beginLoader.load( new URLRequest("start1_3.swf") );
    //function beginLoading(evt:Event):void {
    //thisMovieClip = MovieClip(beginLoader.content);
    //stage.addChild(thisMovieClip);
    //thisMovieClip.play();
    //import flash.display.*;
    //import flash.net.URLRequest;
    //import flash.events.Event;
    //var _swfLoader1:Loader;
    //var _swfContent1:MovieClip;
    //loadSWF1("script1_3.swf");
    //play();
    //function loadSWF1(path:String):void {
    //   var _req1:URLRequest = new URLRequest();
    //   _req1.url = path;
    //  _swfLoader1 = new Loader();
    // setupListeners1(_swfLoader1.contentLoaderInfo);
    //  _swfLoader1.load(_req1);
    //function setupListeners1(dispatcher1:IEventDispatcher):void {
    //  dispatcher1.addEventListener(Event.COMPLETE, addSWF1);
      // dispatcher1.addEventListener(ProgressEvent.PROGRESS, preloadSWF1);
    //function preloadSWF1(event:ProgressEvent):void {
    //   var _perc:int = (event.bytesLoaded / event.bytesTotal) * 100;
    //swfPreloader1.percentTF.text = _perc + "%";
    //function addSWF1(event:Event):void {
    /// event.target.removeEventListener(Event.COMPLETE, addSWF1);
    //  event.target.removeEventListener(ProgressEvent.PROGRESS, preloadSWF1);
    //  _swfContent1 = event.target.content;
    // _swfContent1.addEventListener("close", unloadSWF1);
    // addChild(_swfContent1);
    //function unloadSWF1(event:Event):void {
    //  _swfLoader1.unloadAndStop();
    //removeChild(_swfContent1);
    //  _swfContent1 = null;
    Best Wishes
    Deborah

    Believe me, I'm feeling the pressure!!!  I sent a screen shot and it got kicked back!!!! 
    here is the code I'm using in the main time line:
    var myLoader:Loader = new Loader();                    
    var url:URLRequest = new URLRequest("script1_3.swf");  // THIS can be any SWF file - same results
    myLoader.load(url);                                    
    addChild(myLoader);  
    The only thing that is in the main time line before this is a page roll over effect component - and if I remove that I have the same problem!  I'm sorry, I don't know what else to provide you without giving you my fla files which I tried to send and they were kicked back!!!
    HELP!

  • Letting swf files expire after each other

    Hello,
    I would like to let several swf-files expire in the full
    screen mode after
    each other.
    I load the films with
    loadMovie("../../test2/res/test2.swf",1);.
    How can I find out whether the film comes to an end so that I
    can load the
    next film?
    Brian

    Because you are loading into a level and not a container
    MovieClip, you might consider on the last frame of the each
    external swf _root.loadNext("../../etc/nextMovieName.swf")
    in the main movie frame 1
    function loadNext(swfUrl)
    loadMovie(swfUrl,1);.

  • 2+ movies but the will not play into each other on DVD

    I am making a wedding video. I want to break it up into intro, ceremony, reception, interviews etc. I made a seperate video for each of them in hopes that each one can be watched on DVD seperately or ALL in a row. I drag Intro, ceremony, reception, interviews into IDVD so there are 4 videos in a row. The DVD will play ONLY ONE at a time. I want the option that if they start with intro that it will just play into the other 3 videos below it...
    PLEASE HELP!

    Hello eporon,
    the only possibility to create a DVD with several movies and have the option to either play the parts separatly or "play all" as in commercial DVDs is to duplicate your movie(s).
    This means you have to import the individual movies (as you already did), then create a new movie where you join the parts into one. Now import that movie as well and name the menu button "play all".
    Important: this can only work if the combined parts are less than 60 min long (DVD-R is max 120 min).
    Alternatively you could create a single movie out of the four parts and place chapter markers for each individual title (ceremony, reception...) the let iDVD create a chapter submenu. Now the separate titles can be accessed from there.
    hope this helps
    mish

  • Getting 4  swf files comunicate with each other on server

    Hallo
    I would like to ask anybody, may be a bit hard question.
    Firstly the example I'm talking about
    issue">http://www.kiamotors.cz/showroom/ceed_test.aspx
    home">issue
    site. See the flash movie on the bottom. That's it. Those are 4
    diferent swfs. The problem is, as you could noticed, load time of
    each other. If you want to ask why the hell you just wount make 1
    falsh video, put that white cross on top of it if u like the effect
    and ur done. But believe me or not I just simply can't. Site's
    useing special CMS where is 4 divs for 4 swfs... Here u can see it
    more clear [L=http://www.kiamotors.cz/[L=home page ... so here is
    my question.....
    Is ther any posibility to make swfs communicate with each
    other on server. Let's say... swf 1 don't start till swf 2,3,4 load
    aswell a.s.o.
    P.S.: sorry for my grammer ...

    You could use ExternalInterface to have javascript act as a
    middleman to communicate things across swf's, but if you don't have
    the ability to change the page code, which seems to be the case,
    then that probably will not owrk as a solution for you.

Maybe you are looking for

  • How can you get rid of icons in menu bar?

    I recently took my MacBook to the local store to have it cleared and restored back to factory settings. I have the OS X Mountain Lion program installed. I set up two accounts (Admin account and second one to use). When I turned my computer off and ba

  • Making a .app in C++

    I'm a fairly experienced C++ programmer, and have been using gcc in the terminal to compile programs in OSX. I'm trying to build a program to offer online as a download, but the problem is when you transfer the program to another program the permissi

  • Programmatically Controlling tab disclosure

    Hi , I have master-multiple child relationship. In the jsf page master is displayed as Table and the children are displayed in tabs(2 tabs) below the table. I am using af:panelTabbed -> af:showdetail item to achieve this. When the user enter data to

  • Share videos along with photos over Bonjour?

    I'm sharing my photos over Bonjour, and it all seems to work fine. Only I noticed that the item count differs. It appears that iPhoto isn't sharing any of the short video clips taken with my camera that are in my library. Is it possible to have iPhot

  • Error creating fga policy

    SQL> begin 2 dbms_fga.add_policy( 3 object_schema=>'SA', 4 object_name=> 'TABLE_CASE', 5 policy_name=> 'SA_Audit', 6 audit_condition=> 'status = ''A''', 7 audit_column=> 'OBJID,S_TITLE,CASE_STATE2CONDITION', 8 handler_schema => 'SA', 9 handler_module