How can I control the different MC using onEnterFrame (play/stop)?

Hi guys. I'm really struggling with this (not a coder):

I have a clip on the main timeline with an instance name of odometer_mc. Nestled in the mc there are seven film clips, two are named m100_mcand km1_mc. I want to get km1_mc to play when m100_mc arrives at frame 20. Played for hours a bit now and obv I'm missing something basic... Help, please.

TX

You can learn more if you show the code that doesn't work for you, it can solve things by your approach to the attempt of design rather than may be quite foreign to you.

In the main timeline, you can try...

stage.addEventLsitener (Event.ENTER_FRAME, check_m100);

function check_m100(evt:Event):void {}

if(odometer_mc.m100_mc.currentFrame == 20) {}

odometer_mc.km1_mc. Play();

}

}

Tags: Adobe Animate

Similar Questions

  • How can I control the Tasbar? It is always in sight and blocks the screens of other programs.

    How can I control the Tasbar? It is always in sight and blocks the screens of other programs. Using Windows 7 and Microsoft Security Essentials. "Lock the taskbar" is checked and "Auto-hide the taskbar" is checked. Help, please.

    Taskbar will appear to take with you when you either come from anywhere near the bottom of your screen or a security alert is displayed.

    The best I've found is to use the fullscreen with F11.

  • How can I control the image preview of Facebook?

    Help!

    How can I control the preview image that is displayed when the link is shared on Facebook?

    Tried to add the snippet under the <>head, in the html view of the page in Business Catalyst... with no luck.

    Use the Opengraph tags, please refer to the following thread - http://forums.adobe.com/message/5137786#5137786.

    Thank you

    Vinayak

  • How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    41 of Firefox is no longer uses the browser.newtab.url setting in about: config because he was constantly attacked by malware. From 41 of Firefox, you need an add-on to change the new tab page.

    Here are a few options (I'm learning more all the time):

    • If you are already using the extension classic restaurateur theme: There is an option somewhere (!) in his dialogues of the parameters to select another page in the new tab.

    Setting up substitute again tab

    After installing this extension, you must use the Options page to set the new desired tab page (instead of use subject: config).

    Open the page modules using either:

    • CTRL + SHIFT + a (Mac: Cmd + shift + a)
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then on the side right, find the new tab override and click the Options button. (See first screenshot attached).

    Depending on the size of your screen, you may need to scroll down to enter the address in the form. (See second screenshot attached). For example:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Then tab or click this form field and you can test using Ctrl + t.

    Success?

    Once you have set it as you wish, you can close the Add-ons page (or use the back button to return to the list of Extensions of this Options page).

  • How can I control the list of the available in the message SSL Client Hello cipher suites? I want to ban the MD5 and RC4.

    How can I control the list of the available in the message SSL Client Hello cipher suites?
    I want to limit my browser to negotiate the cipher suites fort. I would like to prohibit, MD5 and RC4.

    Set the SSL3 preferences related to false on the subject: config page (filter: security.ssl3.).

  • How can I get the keyboard to use only English punctuation

    Laptop HP 2000-300 CA... How can I prevent the keyboard from using the punctuation french when I try to use the English apostrophe, or question marks is what I get when I try to type an exclamation mark E

    I have a Canadian keyboard that gives me some English and french of the characters. I went to the U.S. English keyboard, rebooted and it seems to work. I saw the site you provided however, and if my current solution does not last long... you can be sure to find me on your Web site. Thank you for taking the time to answer.

  • I replaced my hard drive and format my computer before turning off the software PS.  It need my code series now, but I had lost.  How can I solve the problem and use the software again?

    I replaced my hard drive and format my computer before turning off the software PS.  It need my code series now, but I had lost.

    How can I solve the problem and use the software again?

    If you use a perpetual Photoshop and formatted your disc version of starting without disabling your activation of Photoshop, you also Adobe supports help you activate Photoshop once you retrieve your serial number.  The startup disk formatting would destroy that credential of Activation Photoshop machine which is registered in the database of the Adobe activation server. Which reduces the activation numbers you have to use.  If you have Photoshop installed on a second computer that means that you have no free activation available as well, even with your key you can't activated the machine.

  • How can I make the past events using {module_booking}?

    How can I make the past events using {module_booking}? Filter = 'All' Render = 'All' seems to show only upcoming events. Any advice? Thank you!

    By the new engine rendering and the module_data.

  • I want to get multiple clips horizontally through the frame, how can I control the speed at which the move?

    I want to get multiple clips horizontally through the frame, how can I control the speed at which the move?

    And the second

  • How can I disable the menu items using manu, Photoshop cs6?

    How can I disable the menu items using manu, Photoshop cs6?

    I packed Photoshop cs6 using AAMEE CS6.

    I need some menu items to disable.

    can someone please process to do, or what records or files need to edit.

    Enjoy the immediate response.

    Thanks in advance.

    There is another discussion on the same topic: http://forums.adobe.com/thread/1234967?tstart=0

    Perhaps the same company has contracted two of your companies

  • How can I control the working time so that the loop structure in the cases where the structure?

    Hi all

    My job is: Loop While structure generates the signal for 4 seconds when you press the 'start build' button, after that data has been backed up. You press the button "generate the beginning' once again, and the loop runs one again.

    My problem is: the first pressing, the loop, exactly 4 s (3, 999 s), but him second, third pressing on... The time elapsed is not 4 seconds, always smaller (even ~ s 0.003). The loop works correctly after press the "Exit" button and launch the program again.

    How can I control exactly time loop work While Structure without the press "Exit".

    Thank you any help!

    P/S: I used the number of cycles (ms) just to look at a working time of the While loop.

    NMCuong

    This shows a quick solution

  • How can I prevent the user to use a USB card to copy office files?

    How can I disable the use of USB drives on the computer

    Hello

    We have a very good document to http://support.microsoft.com/kb/823732

    I hope this helps.

  • How can I change the settings to use wds Explorer format NO libraries - man of my file were not placed there by vista

    I have over 300 photos, 150 + documents, large files of Family TreeMaker large and reports for five separate families. Of course, there are some thecomputer file uses. And a number of files of daily use.
    LIBRARIES do not contain all these files - the only way I get to the file are not not in the library is to use Windows Explorer, and who does not always show the genealogy reports.
    Only about a quarter of my photos were listed in the picture library.
    The Stands of Question - how can I change the settings to get rid of the LIBRARY format and return to a format similar to or is Winows Explorer?
    AND the second Question, use the list of records, no libraries, wen I move to Windows 7 and Family Tree Maker 2012 once the computer is repaired?

    Hello

    1. Please let us know which Antivirus are you using?

    You can disable the libraries in Windows 7. Please visit the following link:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/turning-off-libraries-in-Windows-7/18d001dc-5319-440b-B29C-d348f81c929c

    It is not possible to delete libraries. Libraries are part of both Windows Vista and Windows 7 operating system.  You can still navigate through your files on the computer--> C :\-> users-> .

    Please visit the following link:

    http://TechNet.Microsoft.com/en-us/library/ee449413 (WS.10) .aspx

  • How can I control the number of clients connecting to one or more access points?

    Hi guys,.

    I am using several access points LWAPP/CAPWAP (1010, 1131, 1142) connected to the 4400 series wlan controllers (OS Version 4.2 and 7.0).

    Regarding the client connection to access points, I have several questions:

    1. extent to which clients can connect to an access point (maximum possible vs recommended)?

    2. can I limit the maximum number of clients connecting to the access point in the gui controller? I found how to configure thresholds for sending traps when a number of clients connected to an access point is reached.

    3 How can I balance the number of customers between two adjacent ap, who use the same SSID?

    Best regards

    Thorsten

    Hello

    1. extent to which clients can connect to an access point (maximum possible vs recommended)?

    YEARS-

    Here is the link for possible Maximum...

    http://www.cisco.com/en/US/docs/wireless/controller/7.0/configuration/guide/
    c70ccfg.html#wp1085099

    Recommended , Not more than 20 clients per AP.

    2. can I limit the maximum number of clients connecting to the access point in the gui controller? I found how to configure thresholds for sending traps when a number of clients connected to an access point is reached.

    YEARS - here's the software bug that we had raised with the development team of thre...

    http://Tools.Cisco.com/support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtj94508

    Symptom:

    There should be a way to limit the number of wireless clients that can associate to a lightweight AP.

    Conditions:

    Workaround:

    3 How can I balance the number of customers between two adjacent ap, who use the same SSID?

    YEARS - you can configure the feature aggressive load balancing across the WLC, it can help...

    Let me know if that answers your question...

    Concerning
    Surendra
    ====
    Please do not forget to note positions that answered your question and mark as answer or was useful

  • How can I control the concurrent programs?

    Hello
    When simultaneous GL & OPM ruinning programs, off-server peformance classes. How can I control it? I want to restrict the user not to submit or don't work not during office hours. How is it possible?

    Concerning
    Ariz

    Ariz,

    Please mention the version of the application, the database version and the operating system.

    The performance was accepted before? If so, what changes have been made recently?

    Is the problem with concurrent programs standard or custom? In addition, please mention the names of simultaneous (if possible) program.

    Do you run simultaneous program "Gathering statistics for schema" regularly?

    To find out why these simultaneous program affects performance, enable trace as shown (Note: 296559,1 - FAQ: Techniques of common tracing in the Oracle Applications 11i/R12) and generate the file TKPROF.

    You could schedule the program to run at certain times - see "Oracle Applications Documentation Set Guide system administrator" for more details.

    Oracle Applications documentation
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

Maybe you are looking for