Its inhibition in a loaded swf to the main swf

I have a swf file that I'm loading and I need to be able to cut the sound of these soundChannels in the keyframes inside the other swf file.

I have a mute button that I am activating / deactivating its visibility on and outside, one for a mute for the sound. I need to be able to access the audio clip in the external swf file. Any ideas?

Thanks in advance.

the best way to proceed is to use the correct path/name to your sound instance.  a popular sloppier way to use:

SoundMixer.stopAll ();

Tags: Adobe Animate

Similar Questions

  • After repaired Windows XP Prof on my HP computer with OEM license while trying to connect to his request activate windows with option or NOT, although I have to say yes or no its loging off drving not me to the main Windows screen

    After repaired Windows XP Prof on my HP computer with OEM license while trying to connect to his request activate windows with option or NOT, although I have to say yes or no its loging off drving not me to the main Windows screen... How do I activate windows or how can I connect windows. Once I login I can activate as I have OEM license... Pls advice

    Activation of Microsoft Hotline - (888) 571-2048 MS - MVP - Elephant Boy computers - don't panic!

  • HP ENVY 7640 all-in-one: print envelopes and its telling me to load paper into the photo tray

    I am trying to print envelopes on the HP ENVY 7640 printer and it tells me to load paper into the photo tray. Have you encountered this problem and how to solve? Thank you.

    Hey @cmm3,

    Welcome to the Forums of HP Support!

    I understand that you have a problem when printing envelopes from your Windows 7 computer to your HP ENVY 7640 e-all-in-one printer. I would like to help you today with correct this print error "Photo tray". To start I have to make sure that the envelope is correctly loaded in your troubleshooting paper tray. Once you have confirmed that your envelope is loaded OK we'll take a look at the envelope to print on your computer settings. Can I please you follow the steps below.

    Step 1: Load the paper:

    To begin troubleshooting, please click here. Once the support document opens, please select the drop down list for "load envelopes. Please see the instructions on the screen to ensure that your envelope is correctly loaded in the paper tray. Once you have confirmed that your envelope is loaded correctly, proceed to the next step.

    Step 2: Check the print settings:

    Below I will provide you with instructions for printing envelopes per word. You should use a different program on your computer to print envelopes, please respond to this post with the program that you are using so I can provide specific measures.

    1. Open Word and click mail merge to top
    2. Select "envelopes" in the upper left side
    3. A page of envelopes and labels should now open. Enter your delivery and return address.
    4. Select 'Options' on the lower right
    5. Under the tab 'Options for envelopes' to ensure that your envelope is correctly selected.
    6. Select the 'Print Options' tab at the top. You must now select as appropriate feeding method for your product.
    7. Make sure that you choose the option "Face down".
    8. Also ensure that 'right-hand Rotation' is selected
    9. At the bottom of the window, select the drop-down list of pet food
    10. Make sure that the feeding method is set to main tray rather then select automatically
    11. Press 'OK' and 'Print'.

    Please reply to this message with the result of your troubleshooting. I can't wait to hear strings attached good luck!

  • Photosmart D7560 do not print envelopes-> load paper into the main tray

    My photosmart D7560 h will not print envelopes, after having moved the envelope position for printing, the message "loading the paper in the main tray is displayed.  It prints correctly the data of envelope on a sheet of paper 8.5 x 11.  The Setup is for a #10 envelope.  Envelopes are self-sealing.  I tried to crease the edge better but that did not help.  I tried a non-self seal (who had a top letterhead so I couldn't use it for this shipment) and he worked.  Is it possible to do self seal envelopes work in this printer?

    You have the flap folded inside the envelope, so that it does not stick?

  • failed to load attribute shows the main class of a java file

    Unable to open this file KJV.jar response from my computer was as stated above

    Try the steps from the link give below

    http://www.ehow.com/how_5021615_execute-jar-file.html

  • HP Photosmart more B210e - no more paper - load paper into the main tray


    Hey fanblade,.

    Thanks for the detailed post describing the problem you are experiencing.  Looks like that paper inside the printer sensors have a problem with the detection of the paper in the tray.  This may be due to rollers be dirty and unable to take the book, settings problem or possibly an electrical problem in the unit.  I recommend the steps in the document below.

    "Out of paper" Error Message and the printer is not looking upwards or the paper feed

    I would like to know how it goes as I steps to perform a factory reset on this printer,

    Jason

  • Replacement of loading swf content



    OK, this is my site: www.onphire.net/Large

    OK, this is a difficult question to explain... my site loads perfectly in firefox and netscape but when I open it (the homepage) in Internet Explorer displays the Folio page.

    My site is set up so that transparent SWFs are loaded ontop of the main background. The pages have a black backgorund who gets knocked out because of the wmode = transparent script. That's what it should look like: Display Correct

    But when loading in IE it displays the folio page and not the background... Like this: http://www.onphire.net/BugFix/Incorrect.jpg

    Any ideas?

    I'd appreciate any help, this was bugs me for weeks!

    Hi onPhir,

    I saw this... I smiled when I was checking for cross browser... but finally I found the error. You need to change in your html code.
    For IE tag is used and for firefox.
    If you change the value in the tag.

    It comes to your html code.
    =========================
    http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=7, 0,19,0 "width ="950"height ="500"title ="Layout">



    http://www.Macromedia.com/go/getflashplayer"type =" application/x-shockwave-flash"wmode ="transparent">


    =========================

    need to change as
    ====================

    http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=7, 0,19,0 "width ="950"height ="500"title ="Layout">



    http://www.Macromedia.com/go/getflashplayer"type =" application/x-shockwave-flash"wmode ="transparent">

  • Dynamically loaded swf to communicate with the MovieClip on the stage

    I have a devil of a time here with a problem. I've got an xml document when it is clicked on a certain button on the stage, it loads its corresponding external swf into an empty movieclip on the stage. This empty clip is support for all external SWF.

    So what I'm trying to do, is when an external swf is loaded that has buttons on it, I need these buttons to communicate with the main timeline and delete an mc who is on the stage. I need the swf (s) currently loaded to be able to do. So whatever the currently loaded external swf is loaded, I need to talk to the main timeline. (I have external SWF files a certain need to do this) So I guess I have to somehow target the external swf currently loaded so he could talk to the main timeline.

    The code below in summary does not, but it gives no errors either. I don't pretend to know what I'm doing, and I did not find a solution to this particular problem. If someone could give me advice or direct me to a solution. I would be so happy.

    scenario focus

    var object: index = this;

    function loadComplete (e: Event) {}

    TweenMax.to (index.mcholder, 1, {alpha:. 5});

    Add the current module to the mcholder movieclip according to addChild

    index.mcholder.addChild (e.currentTarget.content);

    (e.currentTarget.content as MovieClip) .addEventListener ("eventTriggered", startListener);

    function startListener(e:Event):void {}

    var ext_swf:MovieClip;

    ext_swf = e.currentTarget.content as MovieClip;

    trace ("external swf");

    ext_swf. Button1.addEventListener (MouseEvent.CLICK, talktomainswf);

    function talktomainswf (): void {}

    TweenMax.to (index.mc_thatsonthestage, 1, {x: 1000});

    }

    }

    Now we have the first load we set to false firstLoad

    index.firstLoad = false;

    }

    function loadError (e: Event) {}

    trace ("Error");

    }

    }

    You can use the event to communicate with external SWF Dispatcher and a main timeline

    as follows:

    //in an external swf
    
    //Once loaded
    function onLoadComplete(event:Event):void
    {
         //dispatch an event in the form of a string
         dispatchEvent(new Event("Talk to Main Timeline"));
    }
    
    //On the Main timeline
    
    //listen for "Talk to Main Timeline"
    stage.addEventListener("Talk to Main Timeline", listenForCallsFromExternalFiles, true); 
    
    //if the event is heard, do this:
    function listenForCallsFromExternalFiles(e:Event):void
    {
         trace("I heard ya, now do stuff...");
    }
    

    That's the idea anyway, I use it all the time.

    hope that helps,

    ~ chipleh

  • How can I get the width of a loaded swf scene?

    Is it possible to get the real of a loaded swf stageWidth?

    The problem comes when the loaded swf file has some items off the stage. In this case content.width becomes bigger then the scene.

    My code looks like this:

    var request: URLRequest = new URLRequest (file.url);

    var loader: Loader = new Loader();

    Loader.Load (request);

    loader.contentLoaderInfo.addEventListener (Event.INIT, CaseTailleAuto);

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, addImg);

    private void checkSize(e:Event) {}


    That's where I need to see the width of my loaded swf

    trace (e.Target.Content.Width);

    }

    private void addImg(e:Event) {}

    trace ("complete");

    }

    Thank you

    Andrei

    I don't think you can get the width of the stage of the loaded file, unless you assign it as a constant somewhere in the file.  The loaded file loses its stage when it is loaded into another swf

  • access the property of the main class in loaded swf.

    Hello

    I have a main.fla, its document class is main.as. the code in main.as is

    package

    {

    import flash.display.MovieClip;

    SerializableAttribute public class Main extends MovieClip

    {

    private var loading: loading;

    public var trovami:Number = 10;

    public void Main()

    {

    stage.frameRate = 31;

    loadSWF();

    }

    private function loadSWF (): void

    {

    loading = new Loading (this);

    }

    }

    }

    LOADIND. ACE is another class where I load another swf name is my_swf.

    class loading code is:

    package

    {

    import flash.display.MovieClip;

    to import flash.display.SimpleButton;

    import flash.text.TextField;

    import flash.display.Loader;

    import flash.events. *;

    import flash.net.URLRequest;

    SerializableAttribute public class loading extends MovieClip

    {

    private var _fla:MovieClip;

    private var url: String;

    public var val: String;

    private var loader: Loader;

    public void Loading(fla:MovieClip)

    {

    _fla = fla.

    init();

    }

    private function init (): void

    {

    URL = 'my_swf.swf';

    var request: URLRequest = new URLRequest (url);

    loader = new Loader();

    initListeners (loader.contentLoaderInfo);

    Loader.Load (request);

    }

    private void initListeners(dispatcher:IEventDispatcher):void

    {

    dispatcher.addEventListener (Event.COMPLETE, complete);

    }

    private void completato(event:Event):void

    {

    _fla. AddChild (Loader);

    Loader.y = 10;

    Val = "Hello".

    }

    }

    }

    and the class of the loaded swf document is Main2. in my_swf.fla, there is a text, that his name is:

    a_txt.

    I so use class in Main2 for loading text property.

    Code of Main.as is

    package

    {

    import flash.display.MovieClip;

    import flash.text. *;

    Main2/public class extends MovieClip

    {

    public void Main2()

    {

    a_txt.text = val;

    }

    }

    }

    where val is the property of class loading.

    so, how do I access.

    You have a reference to your movie loaded into your class loader - instead of simply set val to string - add a method in your class Main2 - and call it loading - passing the string which him. Push not pull...

    Hand 2 becomes:

    public void Main2() {}
    a_txt. Text = Val;

    }

    public void setText(val:String):void {}
    a_txt. Text = val;

    }

    And then in your class loader - when you have finished loading only call setText:

    private void completato(e:Event):void

    {
    addChild (loader);
    Loader.y = 10;
    MovieClip (loader.content) .setText ("hello");
    Val = "Hello";
    }

  • prevent the loaded swf to loopback

    Hello world

    I am loading a swf file into a swf of controller, and thanks to the help I received on this forum, I am able to control the swf loaded with play and pause buttons.  I have another question, and this is how to prevent the loaded swf file looping.  I wish that the swf loaded to play its last picture and stop.  I have the following code and it works with an error.  I'm assuming that the error is coming because the service runs before the swf file is loaded.

    var myLoader = new Loader();
    var myURL:URLRequest = new URLRequest ("box.swf");
    myLoader.load (myURL);
    addChild (myLoader);

    pause_btn.addEventListener (MouseEvent.MOUSE_UP, onClickPause);
    play_btn.addEventListener (MouseEvent.MOUSE_UP, onClickPlay);

    function onClickPause(evt:MouseEvent):void {}
    MovieClip (myLoader.content) .stop ();
    }
    function onClickPlay(evt:MouseEvent):void {}
    MovieClip (myLoader.content) .play ();
    }

    the following works with a guy

    stage.addEventListener (Event.ENTER_FRAME, stopPlay);

    function stopPlay(e:Event):void {}
    If (MovieClip (myLoader.content) .currentFrame is {MovieClip (myLoader.content) .totalFrames)}
    MovieClip (myLoader.content) .stop ();
    trace ("End");
    }
    }

    The error reads as follows:

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at controller_fla::MainTimeline/stopPlay()
    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at controller_fla::MainTimeline/stopPlay()

    Once again, any help would be greatly appreciated.

    Thank you!

    -Dave

    Use COMPLETE earphone that kGlad offered to wait to assign the ENTER_FRAME listener.

    var myLoader = new Loader();
    var myURL:URLRequest = new URLRequest ("box.swf");
    myLoader.load (myURL);

    myLoader.contentLoadInfo (Event.COMPLETE, loadCompleteF);

    function loadCompleteF(e:Event) {}

    stage.addEventListener (Event.ENTER_FRAME, stopPlay);

    }

    addChild (myLoader);

    pause_btn.addEventListener (MouseEvent.MOUSE_UP, onClickPause);
    play_btn.addEventListener (MouseEvent.MOUSE_UP, onClickPlay);

    function onClickPause(evt:MouseEvent):void {}
    MovieClip (myLoader.content) .stop ();
    }

    function onClickPlay(evt:MouseEvent):void {}
    MovieClip (myLoader.content) .play ();
    }

    function stopPlay(e:Event):void {}
    If (MovieClip (myLoader.content) .currentFrame is {MovieClip (myLoader.content) .totalFrames)}
    MovieClip (myLoader.content) .stop ();
    trace ("End");
    }
    }

    You can also use a stop(); command at the end of the timeline of the swf file that is loaded instead.

  • Management of the custom event sent by loading SWF fails

    I loaded and SWF using SWFLoader. Not a component, but just a regular Flash AS3 SWF. I can access its properties and functions but when I listen to a custom, event distributes, I get the error:

    Error #1034: Type coercion failed: cannot convert com.subhumanmedia.classes::SoundCueEvent@911ad61 to com.subhumanmedia.classes.SoundCueEvent.

    Here's the event:
    package com.subhumanmedia.classes
    {
    import flash.events.Event;
    SerializableAttribute public class SoundCueEvent extends Event
    {
    public static const = "cueSound" CUE_SOUND:String

    private var soundCueObjectInstance:Object;

    public void SoundCueEvent (type: String, bubbles: Boolean, cancelable: Boolean, soundCueObject:Object)
    {
    parameter soundCueObject:
    soundCueObject.cueSoundURL is the string with the name of file to play
    soundCueObject.cueSoundStartTime is the number giving the millisecond offset to read from
    //
    Super (type, bubbles, cancelable);
    soundCueObjectInstance = soundCueObject;
    }
    public function get soundCueObject (): Object
    {
    Return soundCueObjectInstance;
    }
    override public function clone (): event
    {
    return new SoundCueEvent (type, bubbles, cancelable, soundCueObjectInstance);
    }
    }
    }

    Here is the statement in the loaded SWF, the event:
    dispatchEvent (new SoundCueEvent (SoundCueEvent.CUE_SOUND, true, false, soundCues [cueCounter]));


    soundCues is an attay soundCueObjects.

    Here is the definition of the listener in my main class:
    slide.slideGraphic.swfObject.content.addEventListener (SoundCueEvent.CUE_SOUND, cueSoundHandler);

    And here's the Manager:
    private void cueSoundHandler(e:SoundCueEvent):void
    {
    trace (e);
    }

    If I change the type of parameter of the event Manager, it does not take a mistake, but I can't yet ride a SoundCueEvent event in order to obtain tracking information.

    Now both the right loaded SWF and main class get the definition of the event from a compiled SWC, but I tried several other ways to do it without any better result.

    I don't know even what causes the error and am totally baffled by how to solve it. Can anyone help?

    It is equivalent to the problem of shared code described in the presentation of the modules on my blog.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • referencing the main timeline from a loaded swf file

    I just poked around google as both of these forums, but the only answer I see that was a success, is kglad, and for some reason that its messages are not, I just see ":" and then the guy say thank you! Not uber useful.

    In any case, I'm just trying to understand how to reference an image tag on my main timeline to a swf loaded (through my imageLoader). Does anyone have a link or can tell me what I should look for in? dispatchers of the event?

    to reference the main timeline of the SWF loading from the main timeline of the swf file that is loaded, use:

    MovieClip (this.parent.parent)

  • To access the MovieClip instances in a loaded SWF file

    The situation as follows:

    loadedSWF.swf (published with Flash Player 8 AS2 or AS3 of Alpha Flash Player 9), contains on the symbols of the stage with the instance names: clipA, clipB, clipC, etc... No ActionScript is included in the file.

    In a Flex Builder 2.0 project, a component that extends mx.core.UIComponent load loadedSWF.swf:

    script
    var request: URLRequest = new URLRequest ("loadedSWF.swf");
    loaded var: Loader = new Loader();
    Loaded.Load (request);
    addChildAt(loaded,0);


    loadedSWF.swf successfully is displayed in the component's display list, but MovieClip instances that it contains are inaccessible.

    Its existence is verified:

    script
    trace (getChildAt (0)) / / result: [object Loader]
    trace (getChildAt (0) .root) / / result: [object _system_mx_managers_SystemManager]

    However, even if .root getChildAt (0) returns a mx.managers.SystemManager and mx.managers.SystemManager supports the numChildren property, trace (getChildAt (0).root.numChildren) survey error: 1119: access of the numChildren property possibly not defined through a reference with static type flash.display:DisplayObject.. Other methods like getChildAt(), etc. are also impossible to call. Direct access with getChildAt (0).root.clipA also throws an error, etc...

    Is it possible to access instances of the MovieClip on the stage of the loaded SWF file of a component that loads? I would appreciate any advice on this issue.

    a.Neko


    Note:
    The goal is to be able to load multiple clips into a component in a single loading of SWF file, then to instantiate the separately if necessary with addChild() and addChildAt() methods.

    Solution found:

    (Checked for loadedSWF.swf published with Adobe Flash Professional 9 Alpha Public)

    script (excerpt from Flex 2.0 AS3 component class)

    protected var clip: MovieClip = new MovieClip();

    protected final void requestSWF(value:String):void {}
    var request: URLRequest = new URLRequest (value);
    var asked: Loader = new Loader();
    requested.contentLoaderInfo.addEventListener (Event.COMPLETE, this.onRequestSWFComplete);
    requested. Load (request);
    return;
    };

    protected final void onRequestSWFComplete(event:Event):void {}
    event.stopPropagation ();
    This.clip = event.target.content.clipA; conversion of a local variable.
    this.addChild (this.clip);
    return;
    };

    this.requestSWF ("loadedSWF.swf");

    Result: clipA is added separately to the display of the component list.

    a.Neko

  • Can you tell when a loaded SWF has reached its last picture?

    I used loadMovie to load an external SWF into half less of a main "shell" swf When the loaded SWF playback (it's just an animation) finished, I need to fill in a text field with the word "DONE". The text field lies on the _root, and I need a way to know when the loaded SWF file has reached its last picture...

    It would be obviously easy if I had the. FLA of the loaded SWF file because I could write any actionscript code on the last frame of the SWF to fill the textfield _root. Alas, I do not have the source of the loaded SWF FLA, so I need a way to have the "shell" SWF/FLA main know when this loaded SWF has reached its end. Is this possible?

    Thank you!!!

    DIY_Lobotomy,

    > The reality of my situation, it's that there is only a 'menu' of sorts that
    > Gets load in "contentClip". This "menu" has a bunch of links.

    So far so good.

    > When you click on it, each link load a DIFFERENT swf file in 'contentClip '.
    > It's THESE sovereign wealth funds I need to see the end of.

    It is always correct.

    > There is actually more than one, so they're not exactly being
    > loaded directly from my main movie, because they are actually loaded
    > based on a link that is clicked in the movie that is currently loaded
    > in "containerClip".

    The concept is still the same, no matter what happens. Any depth the
    a clip-expenses-other chain goes, you have to keep the notches on each link in the chain.
    When the last link has loaded, you will be able to make your object reference
    in this clip. This film clip - because it's an instance of the
    Class MovieClip - will have the properties _currentframe and _totalframes.
    You'll just check * that * cliip instead named properties
    contentClip in my own example.

    You can run a loop using onEnterFrame or, if you prefer, with setInterva().
    Is not little matter, as long as ask you repeatedly deep
    clip to test its current image against its last picture (this assumes that)
    the test clip is a linear animation matching the end to his
    last image; otherwise, you could check against this arbitrary _currentframe
    The frame number).

    > I hope it was not too complicated! You always have a solution?

    Not too confused to understand, but it might be confusing to the road
    through in practice. Not to be confused, actually, but meticulous... you will
    be careful with your multiple paths. The nested clips are very similar
    folders nested on your hard drive. The instance names relate to the
    folder names.

    Now, if this menu is not an instance name you condition - or if
    the forks on the way has an instance name you can't control - you can
    always refer to nested clips. If you test your file in the
    Debugger Panel, you will see all the instances arranged in hierarchical order.
    You will see that automatic instance names are provided (something like
    ("instance1", "instance2", etc.).

    David Stiller
    Contributor, how to cheat in Flash CS3
    http://tinyurl.com/2cp6na
    "Luck is the residue of good design."

Maybe you are looking for

  • Satelite U920T-100 - touchpad does not work after, sign in

    The touchpad of my U920T-100 satellite works when the lap top is launched upward, but 10 seconds after I connected the touchpad no longer works. I tried all the stuff that posted to the FAQ:-disconnect all other devices-external mouse works, but once

  • emoticons take a long time to load

    Hello yall then I had a problem with my phone here whenever I message someone and I want to send emoticons, emoji bar any load for a long time. and then when it finishes loading and I actually managed to send messages, once more begins loading. and w

  • make a Subvi do something on first convocation

    Hello I have a Subvi I made and I want her to do something the first time that it is called as long as the delivery of the program, it should do something else.  Right now I have a "First Call" function connected to it, and they spend a tru the first

  • Can a T61 with a Santa Rosa Vist 64 bit platform, or do you need a Penryn platform?

    Can a T61 with a platform Santa Rosa running Vista 64-bit, or do you need a Penryn platform? I learned that the Santa Rosa platform can't handle Vista 64-bit. Thank you!

  • BlackBerry 8310 Smartphone email and MS Exchange Server

    How can I configure my blackberry 8310 to sync with my college Microsoft Exchange Server. My ISP is AT & T, I have the bb plan. I want that my blackberry to get up to date with calendar entries I enter as well as send and receive emails.