Controlling all audio from one SWF as others load into it.

Hello,
I have a project which consists of multiple swf files and one
main shell (basically a backdrop for all of the loaded content).
The only thing in the "to be loaded" swf's are text and audio as of
now. The files are loaded into an empty movie clip on the shell via
the tree component and through playback controls. Is there a way
that I can control the volume of the loaded swf from the
main/shell? I've tried using a slider to control the volume of the
movie clip using it's instance name, but that's not really
referencing the SWF. Also, if I do have a controller like this will
it maintain the level that the user sets it at as the swf's load in
sequence? ie if they change the volume to level 20 will it stay @
level 20 when the select another movie to play? Thanks, any
assistance is greatly appreciated!

if you're publishing for flash player 10, you can use unloadAndStop() instead of the loader's unload() method.
if you're not publishing for fp10, you must explicitly stop all streams before unloading.

Similar Messages

  • How to transfer all materials from one plant to other plants?

    How to transfer all materials from one plant to other plants?

    Hi
    To transfer stock in one step  between plants belonging to same company code use movement type "301" and using transaction code "MIGO". IF you like in two step it helps to monitor stock in transit use movement type "303" and "305".
    303 Transfer posting plant to plant in two steps - removal from storage
    305 Transfer posting plant to plant in two steps - placement in storage
    to transfer stock between plants of diffrent company code go for stock transpor order using tcode "me21n"
    hope it helps

  • How can I control a button from one swf file to another swf file?

    Hi,
    I have a main.swf file. From that file I am accessing the external.swf file which is an external file.
    Now, how can I write code on my main.swf file for the button which is on my external.swf file?
    Activities.MainPanel.close_btn.addEventListener(MouseEvent.CLICK, btnClickClose);
    Activities.MainPanel.close_btn (This buttons is actually on external.swf file, but I want to write code on main.swf file to execute it on external.swf) how can I control one swf button on other swf file?
    Thanks.

    Here's some example code that you should be able to adapt to your needs.
    // create a new loader object instance...
    var loader:Loader = new Loader();
    // make the download request...
    var request:URLRequest = new URLRequest("external.swf");
    // add a complete event listener to the loader
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    // start the actual loading process...
    loader.load(request);
    // create a new empty movieClip instance, you will put the loaded movie into this movieClip once its loaded
    var externalMovie:MovieClip;
    // this function is called when the download has finished and the file is ready to use...
    function completeHandler(event:Event):void {
       // set the contents of the loaded movie to the new empty movieClip...
               externalMovie = MovieClip(event.target.content);
       // add this new movie to the display list...
       addChild(externalMovie);
    Now you can refer to the loaded movie with the instance name "externalMovie". So if, for instance, you want to address a button in the loaded movie, you could write something like this on the main timeline:
    externalMovie.addEventListener(MouseEvent.CLICK, btnClickClose);
    function btnClickClose(event:MouseEvent):void {

  • Move all data from one database to other using oracle expdp and impdp tool

    I need to move all of the data from one database to another. For that I am using oracle expdp and impdp tool.
    I have the full database export dump file. I moved that dump file to my other database.
    Now when I try to use impdp tools it gives lots of error regarding path mismatch,user not exists, role not exists.
    As my datafile path of source database does not match with the target database path , also the users are not there in target database. I dont want to create all the tablespaces that in my source database as there are 82 tablespaces.Is there any way by which I can move my all data without using remap option for tablespaces or users and grants.

    The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax.
    The user must have the privielge of EXP_FULL_DATABASE
    expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
    impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.logGO through below linkfor more details...
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    Regards
    Umi
    Edited by: Umi on Feb 4, 2011 2:27 AM

  • BAD audio from one speaker (the other is normal)

    I JUST got my iMac today in the mail, and all was going swell, I was pleased... that is till i started to play some music, it sounded a little weird, I isolated the problem to the right side.
    I played a movie and the speech is what's noticeably distorted.
    I heard apple has a return policy, what is it?

    Sorry to hear of your problem. Contact wherever you bought it from and ask them. No one here can help you as we are just users and the decision has to come from wherever you purchased it. I would imagine that they would replace a bad, brand new out of the box unit but only the seller can do that for you.
    Good Luck!!

  • HT1349 how to update 2 separate I phones on the computer. I keep transfering all info from one to the other.  Help

    I have to iphones for separate owners and when I update them on the computer they combine all info on each othe phone. How can I update with out this happening.

    How to use multiple iPods, iPads, or iPhones with one computer

  • Move all photos from one computer to other computer

    How can I move all my photos from my old MAC with Lightroom 4 to my new MAC with Lightroom 5 ?
    I have no idea how to do this.

    How do I move Lightroom to a new computer? | The Lightroom Queen

  • HT204387 Can we play streaming audio from one device to other  device using A2DP profile ?

    Hi,
    Can we play streaming audio over two paired device .Please provide help us.
    Thanks
    Santosh

    If the other end supports the following
    http://support.apple.com/kb/HT3647
    you can plug an A2DP receiver into any speakers etc via the aux input
    and play music  from an iPod/iPad/iPhone

  • I created in iMovie, and extracted audio from one of the clips to use in the title sequence.  All is well, export to iDVD and it plays OK, but when I burn the DVD the audio for the titles does not play. Any suggestions?

    I created in iMovie, and extracted audio from one of the clips to use in the title sequence.  All is well, export to iDVD and it plays OK, but when I burn the DVD the audio for the titles does not play. Any suggestions?

    I am on a MacBook Pro with OS 10.6.7 running iMovie '11 and iDVD 7.1.1.  Thanks for any input.

  • HT204053 i have two apple id one for Store purchases and the other for iCloud, and i want to merge them into one, can i transfer all app from one to other ?

    i have two apple id one for Store purchases and the other for iCloud, and i want to merge them into one, can i transfer all app from one to other ?

    It is not possible to merge Apple IDs.

  • When I have two clips, one above the other, I would like to hear the audio from one at a time. How do I suppress temporarily one of that, in a easier way? Thank you.

    When I have two clips, one above the other, I would like to hear the audio from one at a time. How do I suppress temporarily one of that, in a easier way? Thank you.

    I would think you would drop down the audio level lines in the "Stereo" tab (FCP 6.0.6 view to me) in the clip's video window.
    But then again, in my old version, I can't play two clips at once.  But I figure if the newer FCP allow you to do that, then that's what I would do.

  • How to pass control from one component to other component

    Hi,
    I have a requirement to pass control from one component to other component.
    Here is my requirement.. l have two portal components, one is search component and other is result component. I have this search component as quick navigation iView where we can enter a value and results will display in results iView, it's a main iView.
    When search view gets the results, I will display the count in search view and result in results view. .i.e.. both the iviews are viewed at any time.
    Can any one advise me how to acheive this.
    Thanks,
    Chinna.

    Hi Sandeep,
    Thanks for the reply. I have gone through the EPCF API, and tried with doNavigate('iViewName').
    when I click on the button in search view (quikc navigation frame), instead of page getting refreshed in result iView, whole page is replaced by results iview. I want only search view and results view gets refreshed.
    can you please tell me which even should I use for this scenario...
    Thanks,
    Chinna

  • How to move all the tables from one tablespace to other for a whole schema

    Hi,
    Is there any way to move all the tables in a schema from one tablespace to other?
    If so please help me out to do that.
    Thanks
    Regards
    Gatha

    hi,
    here is the steps to move SCOTT's objects from their current tablespace to a NEW_TABLESPACE
    would be:
    1) do an export of all of scott's objects. Make sure no one modifies them after you
    begin this process. You will lose these changes if they do.
    $ exp userid=scott/tiger owner=scott
    2) you would drop all of scotts tables. This will get the indexes as well. I don't
    suggest dropping the user SCOTT but rather dropping scott's objects. Dropping scott
    would cause any system priveleges SCOTT has to disappear and the import would not restore
    them. This script can be used to drop someones tables:
    set heading off
    set feedback off
    set verify off
    set echo off
    spool tmp.sql
    select 'drop table &1..' || table_name || ' cascade constraints;'
    from dba_tables
    where owner = upper('&1')
    spool off
    @tmp.sql
    3) You would modify the user to not have unlimited tablespace (else the IMP will just
    put the objects right back into the tablespace they came from) and then give them
    unlimited quota's on the new tablespace you want the objects to go into and on their
    temporary tablespace (for the sorts the index creates will do)
    alter user SCOTT default tablespace NEW_TABLESPACE
    revoke unlimited tablespace from SCOTT
    alter user SCOTT quota unlimited on NEW_TABLESPACE
    alter user SCOTT quota unlimited on SCOTTS_TEMPORARY_TABLESPACE
    4) you will IMP the data back in for that user. IMP will rewrite the create statements
    to use the users default tablespace when it discovers that it cannot create the objects
    in their original tablespace. Please make sure to review the file imp.log after you do
    this for any and all errors after you import.
    imp userid=scott/tiger full=y ignore=y log=imp.log
    5) you can optionally restore 'unlimited tablespace' to this user (or not). If you do
    not, this user can only create objects in this new tablespace and temp (which in itself
    is not a bad thing)...
    Regards,
    Mohd Mehraj Hussain
    http://mehrajdba.wordpress.com

  • Passing variables from one swf to another

    I am facing problem to pass variable from one swf to another.
    I am using loadMovie to load another swf. how can I pass a variable
    value to another swf. Can anyone help me plz? It is somewhat
    urgent.
    thanx in advance.

    first of all:
    this is the Flash Media Server and your problem is not
    related to FMS....
    second thing related to the "somewhat urgent" :
    we, users on this forum, are not there to do your job... so
    calm down otherwise no people will answer your question. This forum
    is a free support forum that community of Flash developer use to
    learn tricks and to solve problems.
    Possibles solutions:
    If the two swf are seperate you can use LocalConnection to
    establish a connection between different swf.
    If you load a second swf into the first one you can interact
    like a standard movieClip(only if there from the same domain or if
    you a policy file on the other server)
    You can use SetVariable(via Javascript) to modify a root
    variable on the other swf and check with an _root.onEnterFrame to
    see if the variable had changed in the second swf.
    * MovieClipLoader will do a better job, in your specify case,
    than the loadMovie. Use the onLoadInit event to see when the swf is
    really totaly loaded into the first one otherwise you will have
    timing issues.
    My final answer(lol) is the solution 2 with the
    notice(*)

  • I want to use the audio from one of my clips and the video of another can I do this?

    I have two different video clips that I took from my still camera. I want to use the audio from one of the clips and the video from the other at the same time in imovie can I do this and if yes how

    Yes.
    First go to iMovie/Preferences and make sure that the Advanced Tools are enabled.
    Now, drag the clip with the Video into the project.
    Drag the clip with the Audio and drop it on the first clip at the frame where you want it to begin. A popup menu should appear. Choose Audio Only. You may then want to open Inspector for the video clip (by clicking the little gear icon at the top left of the clip) and going to the audio tab. Here you can turn down the volume of the video clip, so that all you hear is the audio clip.
    Another way. Put the video clip that has the Audio you want in first. Then drag the clip with the video you want and drop it on the clip that has the audio you want. A popup menu will appear. Choose CUTAWAY.

Maybe you are looking for

  • Disconnection from cellular network

    since i've bought my new 3gs this week it keeps disconnecting from the network if i keep it without usage for about some time ..approx 30 min or more....when some one calls me he finds me out of service and when i call some one the call fails and i h

  • Value not flowing from sales order to contract in  addittional tab b(line i

    Hi all, i have created one field for the addittional tab b of sales order-line item wise. If i add one field in the screen-SAPMV45A(8459) the sales order and tha contract(VA41) will be updated. But in our bussiness case the Contract is automatically

  • How do I move my sons Ipod touch to a new I tunes account?

    Both my sons have a I-Pod touch and they are on my I-tunes account. How do I move my older sons I-Pod to his own I-Tunes account so that when they do face time with their friends it does not show up on both I-Pods.

  • Use presentation variable in date filter

    Hi, I have a Date presentation variable pvEffDt whose value is set in a dashboard prompt. How do I access this variable in a Date between filter? I actually need data for chosen date's previous month (weird, why don't I choose the previous month itse

  • IPod Touch Screen Doesn't Respond

    I've Had my ipod touch 3g for about 6 days now. Everything was going well but after i synced my ipod touch, my screen just stop respond. I've tried restoring it many times and its just fail. What should i do? Could i go to the Apple store and get a n