Closure of a MC (in charge of the library) with a button contained in that MC

Hello

I'm closing a clip that I have loaded from the library to the main stage by using the code flowing...

navhelp_btn.onRelease = function() {}
attachMovie ("navhelp", "holder_mc", this.getNextHighestDepth (), {_x:195, _y:135});})
}

The navhelp_btn is located on the main stage and the film of navhelp is located in the library and gets loaded to an emty the onstage mc main holder_mc.


I want to close the navhelp film with a close button that I created and is housed in the navhelp film.

Is this feasible?

I hope that makes sense.

Thank you!!

Adam

{yourbtn.onRelease = function ()}

This._parent.removeMovieClip ();

}

Tags: Adobe Animate

Similar Questions

  • Stop the loops with a button

    I have an infinite loop is and display of data. How can I end the loop with a button or a keypress?

    Periodically perform a ProcessSystemEvents() call inside the loop. In a reminder of the STOP button, set a flag to indicate your loop to stop.

    stop unsigned int = 0;

    While (! stop) {}

    data getmeasured

    display the data

    ProcessSytemEvents()

    Sleep (250);   to be polite: it is impolite to spinlock, since you will monopolize the CPU and other threads can get hungry

    }

    then, in the reminder for a STOP button

    STOP the button callback routine

    stop = 1;

  • HTMLResources PDF shows with a button down refresh that erases just the page. Can it be resolved, thank you.

    HTMLResources PDF shows with a button down refresh that erases just the page. Can it be resolved, thank you.

    These files are loaded in the web browser of iOS. We have no control over the behavior of how it makes or the buttons do, unfortunately.

    Neil

  • Using Windows 7 and LR 5 when I look at the list of keywords a keyword has 7 photos but when I check the library with this 350 photos filter keywords appear which includes 7 photos that have the keyword.  Why the showi filter library

    The use of Windows 7 and LR 5, when I look at the list of keywords a keyword has 7 photos but when I check the library with this 350 photos filter keywords appear which includes 7 photos that have the keyword.  Why the library filter, showing images that do not match the query

    John,

    Thank you very much for the work you've put into this.  I made the change you suggested making the subkeywords under 'schwartz' to be {name schwartz}.  I don't know who has contributed something, but I think that there are more immediate problem which is mucked up.  As well as the fact that I have several catalogs that I don't know how they were created, I think that the best thing would be to merge all the catalogs into one (it is better to have a single catalog, right?) and delete all the keywords from scratch.

    Thanks for your help.  I'll mark this as resolved issue.

    Dan

  • Replace the charger in the project with sequence Panel

    Hello! I would like to ask a question on the simplification of workflow that is walk around in my mind for years:

    Is it possible to replace an element in the project with a sequence Panel?

    The reason why: I have a music-video with LOTS of cuts between relatively little overall clips. For the adjustment of the colors in the first (or otherwise), I like to keep as much space for easy modifications as possible until rendering and so create a sequence for each clip where I apply these effects at once. In this way, I don't have to go through each occurrence of the sequence in my calendar to change the rating. While this works well if you have done the part of each movie clip before the cut, I have no idea how to achieve this easily once you already have your project cut with clips instead of clip-sequences.

    Is there another way for the effects "on the scale of the clip" that I'm missing? Thanks in advance for the advice and help.
    Best regards!

    If I understand your workflow?

    Can have a look at the ranking of the main element.

    Apply effects Master Clip in Premiere Pro

    For it is possible to replace an element in the project with a sequence Panel? NO.

  • How to share the library with multiple users?

    I have a Mac Pro 2008.  I have four internal hard drives.  One of them is an SSD that is my boot drive.  I have another internal drive that houses my music and movies (2 TB).

    I have four different connections - mine (admin), my wife, my son, my daughter.

    How can I share music on (2 TB) library with other users?  I read to the music folder (shared) - however since the 2 TB is not a boot disc, there is no shared folder.

    You try to share an iTunes library, or the drive contains just music files.

    Other users can see the drive, or simply don't have access to the records.

  • On the start with progress bar page, after that it becomes a little more than half, the computer turns off.

    MY MacBook Pro is frozen and I had to turn off get out of the frozen page and when I pressed the button to turn it on it makes the departure noise and then the progress bar lights. When it becomes a little to Midway, the screen goes black and the computer turns off.

    The progress bar that starts from the left end appears when your startup disk is too damaged to mount. The illustrious progress is the functioning of the equivalent of disk utility (ERD). He is never more than half before taking a decision.

    If your drive CAN be mounted, start-up continues normally.

    If your drive cannot be mounted, your Mac stops, because there is nothing productive that it can do.

    If your Mac is trying to start and crashes, which can produce always different results, but that doesn't seem to be the case here.

    I recommend that you start in recovery and run utility disk (ERD) until it comes clean or is hopelessly.

  • I received a call from a woman said that she was with the ICC with Windows service provider and that they were getting the error messages from my computer

    * Original title: scam or not

    I received a call from a woman saying that she was with the ICC with Windows service provider and they received my computer error messages and I wouldn't be able to help me solve it.  I asked for a number of 800-373-4609 because he came unknown on my phone.

    I wanted to open my computer.  I told her I would call her back.

    Is it a scam?

    (Moved from P & M)

    Yes, it's a scam. When someone calls and says they need to talk to you about 'mistakes' in your computer, simply hang up.  I just had one of these calls myself about 15 minutes ago.

  • LR-CCScrolling in the library with loop view module

    How can I activate the "scroll" in the library of LR CC for the loop module? This worked in LR5 by placing the cursor on the picture, saw the sign + cursor and using mouse wheel to move to the next image. Doesn't seem to work in LR CC or there is a setting that I can't find. Thank you.

    Try togling the prefs. See if this link helps:

    s-in-Loupe-view-doesn't-work?topic-reply-list%5Bsettings%5d%5Bfilter_by%5d=all https://feedback.Photoshop.com/photoshop_family/topics/Lightroom-CC-2015-4-scrolling-image

  • Change the visibility of the text with a button object

    Hey guys,.

    First post, so probably incredibly easy, noobworthy question.

    I'm in the Muse, and the project I created has a page with a 'true' and 'False button. ' When the user clicks on one of these keys, I want to display different responses on the page. First, that aren't visible.

    If I was coding from scratch, I would use a .onclick Javascript to show the 'div' with the appropriate text when the user has clicked on it... Is there a way to do the equivalent in Muse?

    Thanks in advance for answers! This had me boggled as a new user of Muse for centuries - it seems that something you should be able to do...

    Looks like a widget of Composition with 2 containers of trigger and 2 target.

  • Send form data to the database with scripted button

    I know not how to connect the form to an Access database. However, I do not want the form to connect to the database until the user clicks a button. When the user completes the form and clicks the button, I need the form to connect to the database and save form data in a new record. How script button to do this?

    Any help is appreciated.

    I think that you will need to use a layer between the two.  For example, LC, you can do a process that takes your data and stores it in your database.  Your form may submit to this process through SOAP and REST.

  • loading movie clip to the stage with AS3 button click

    I'm trying to figure out how to load a clip to the scene with a click of a button and have the movieclip close again with a close button. Does anyone have a step by step on how to do this or links to tutorials.

    Here is an example of what I'm trying to do.

    http://i30.photobucket.com/albums/c316/good_snow/FlashBoxSample_zps4e655414.jpg

    Looks like you are using a 'el' and a 'single '.  they are similar, but they are not the same.

    copy and paste from your code to your properties panel or vice versa to correct.

  • Overview of the library with wide colors

    Hello

    is there a way to make the images of the library in wide color like in the mode to develop? It's very uncomfortable to see different colors between the two modes.

    BR

    Jao vdL wrote:

    Set the quality of your preview on high and Lightroom use prophotoRGB for jpeg previews.

    I'm not completely sure, this is no longer true.

  • Can't stop... What is the problem with this button code?

    Hello

    I am totally confused as to why I can't navigate to another frame.

    I put 2 days in this simple problem now and I'm ready to give up and go back to AS2.

    Help, please!

    I use CS4; publish the AS3 settings, 10.0


    I have a button on frame 2 that should take me to frame 3 when you click it.

    (So far I tried a hundred different ways, but I don't get to frame 3...)

    I tried different things...

    > Create the button dynamically from the library...

    > Insert statically library on frame 2...

    > referencing the mainTimeline by a variable...

    > wrapping the stop action in another function... (if it is placed directly on the timeLine of the movie properly goes directly to frame 3)

    > naming frame 3...

    > using "nextFrame" rather than "STOP"...

    etc...

    In most cases I don't get an error in the output panel and no compiler error either. It simply doesn't get it!

    (Just on the same frame after I click the button)

    Here is the code which I think should work; but does not work:

    function moveTo3 (event: MouseEvent): void {}

    trace ("Button_Clicked"); always redraws correctly; but the film does not go to frame 3.

    gotoAndStop (3);

    }


    f_btn.addEventListener (MouseEvent.CLICK, moveTo3);

    WHAT ME MISSING HERE?

    Thanks in advance...

    If you found the trace, you get frame 3.  Something else is causing the stop(); to ignore.  You have any kind of active continuous operation code in the file, as an ENTER_FRAME listener, or some other listener who might have been waiting in the wings?  As I said, it is not likely to be a bug, it is not impossible.  If you can save a copy of the fla file in a CS3 file and make it available via a server I can take a look and see if I can find the suspects.

  • to access the clips from the library with the name of Dynamics?

    trying to create a new MC on my stage using an ala dynamic name:

    var jpn:Sprite = "jpn_andy";

    var sample = new jpn();

    addChild (sample);

    Is there a way to do this? I tried a few variations of the foregoing, but nowhere was fast getting. Help, please.

    BJ

    Here's a code from a different point of view, that may be what you are looking for:

    var dynamicClassName:String = "xmlString;
    var classRef: Class = getDefinitionByName (dynamicClassName) in class;
    var img:MovieClip = new classRef();

    It still requires that objects with the ID of the class defined in the library... it's the only way to get the content library in.

Maybe you are looking for

  • Not compatible for Firefox 22 PlainoldFavorites

    The PlainOldFavorites add the word is compatible with the new version 22. Let us know if anything add new to released for the same purpose show all the Favorites of IE without the import\export option.If no add is available for the new version 22, le

  • Equium A60-181: Win XP does not start successfully - the BSOD reboot

    Hello. I have an Equium A60-181 which has an operating system problem.Loads of XP logo at the beginning, when it happens to show the log on screen, it is a quick blue screen of death error, and it restarts. I tried to go into safe mode, but it blocks

  • Wall mounting for the TouchSmart all-in-One 7320 (A2K04ES)

    Please, help me mount TS 7320 on the wall. I have the only information there are built-in VESA in my PC. Can you give me instruction?

  • Sound icons & network disappeared.

    I have Vista and my sound & network icons have disappeared from my bar.  I went into the control panel and see that both sound & network icons appear in gray.  Active Device Manager and no exclamation point.  Now what?

  • Xbox Live call disconnection after every 10 Minutes.

    First of all, I am aware of the number of threads on this subject... but I couldn't find a solution after almost a year of searching for a solution. Then... I apologize for this o_o Anyway, here's how I put things up: Paul (provided by ISP) modem > L