Need help to connect the buttons inside a movieclip

Hello

I have five mcButtons inside a movieclip. I want to, so if the user clicks on the 1 mcButton it won't Stop on frame 2. I want then the other four mcButtons that were not clicked to stop on frame 2. Can't do the second part of this work. my code is below. Any help would be greatly appreciated.

Thanks in advance

prev08.Btn1.ID = 0;

prev08.btn2.id = 1;

prev08.btn3.id = 2;

prev08.btn4.id = 3;

prev08.btn5.id = 4;

prev08.btn1.addEventListener (MouseEvent.CLICK, getXML08)

prev08.btn2.addEventListener (MouseEvent.CLICK, getXML08)

prev08.btn3.addEventListener (MouseEvent.CLICK, getXML08)

prev08.btn4.addEventListener (MouseEvent.CLICK, getXML08)

prev08.btn5.addEventListener (MouseEvent.CLICK, getXML08)

function getXML08(event:MouseEvent):void

{

for (var i: int = 0; i < 18; i ++)

{

if(i == Event.Target.ID)

{

event.target.gotoAndStop (2)

}

on the other

{

prev08.getChildAt [i] .gotoAndStop (1)

}

}

they all go to the same frame?  that makes no sense.

If you want to run each in their own framework 1, except just clicked the button that should go to its Framework 2, direct all frame them 1 followed by the evt.currentTarget goes to frame 2:

function getXML08(e:MouseEvent) {}

for (var i: int = 1; i<>

prev08 ["BNT" + i] .gotoAndStop (1);

}

MovieClip (e.currentTarget) .gotoAndStop (2);

}

Tags: Adobe Animate

Similar Questions

  • Need help to connect the buttons

    Can someone help me with this problem I have.

    I have a gfx I created 6 forms and them transformed from simple buttons. I have URL was sitting inside an xml file. How can I get the buttons to use the URL of the value in the xml file?

    Also how can I change the current external photo which is responsible for loading the url of a framework in the same xml file.

    I hope you arnt as confused as I am right now.

    I packed the flash file that includes the xml aswell.

    If someone could help me with this, I would be very grateful.

    Thank you all

    http://www.onlineaddicts.co.UK/menu.rar

    Remove all btns code, paste it below on the main timeline

    Also, no need to charge twice as much than the dome in the image container...

    Give an instance name to the outer container of the btns - menumv

    Use the following of the openURL method, use the same one for all the inclinometer...

    import flash.events.Event;

    import flash.events.MouseEvent;
    import flash.net.URLLoader;
    import flash.net.URLRequest;

    var myXML:XML;

    var myLoader:URLLoader = new URLLoader();

    myLoader.load (new URLRequest ("links.xml"));

    myLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(e:Event):void

    {

    myXML = new XML (e.target.data);
    trace (myXML);
    menumv.carbtn.addEventListener (MouseEvent.CLICK, openURL);

    }

    function openURL(e:MouseEvent):void

    {

    navigateToURL (new URLRequest (myXML.car.url));

    }

    --

    http://www.darshanrane.com

  • Need help to connect the monitor to Dell Inspiron Dell

    I recently bought a laptop computer Inspiron 17R in order to reduce the use of my laptop Precision M6600. A Dell U2312HM monitor has been used precisely as a second monitor and I want to use with the Inspiron system newly acquired as a second monitor. The different video ports on both of these computers and I failed to get the monitor to work with the Inspiron. While the accuracy using an older VGA connection, the new Inspiron using a HDMI connection. To further complicate the issue, the monitor has several ports to connect to a source of video output, which includes the DisplayPort, DVI, VGA and ports for USB connections upstream and downstream, but not including HDMI. I used a DisplayPort to HDMI Cable adapter trying to to connect the Inspiron to the monitor, but could not produce an image on the screen of the monitor. This continuous monitor to answer correctly when it is attached to the precision via the VGA cable & port so I'm confused as to why I had no luck by attaching the monitor to the new system with the adapter DisplayPort to HDMI. How can the Inspiron 17R be connected to the monitor Dell U2312HM?

    Computer output HDMI cannot convert a monitor of DP (DisplayPort) using a straight through cable.
    What you have purchased is designed to do the opposite.
    Computer RFP out for monitor HDMI in

    Regardless of the port, you will get only ever 1920 x 1080 on the U2313HM. Return this cable. Buy a DVI HDMI to =.
    Computer output HDMI--> HDMI DVI--> DVI U2313HM Cable in

  • need help to connect the camera to safety at work.

    We had recently a security camera installed at my place of work, as the supervisor asked me when I tried to connect from my laptop at home, I get... a firewall is running, if I have access to the firewall to allow connections via port 81. don't know how to get to the firewall, language unknown to me... help please.

    Hello

    Firewalls are designed to protect your internal information access by outside sources. Unfortunately, for many devices, this back and forth, limit what you can see outside because of the potential security risks. To access the devices that exist outside your firewall, you need to add a special exception directly to your firewall. Usually, this is done during the installation process, but can be done after the fact. This process creates a special tunnel that will allow a free flow of information between the device and your internal network.

    Follow these steps to allow your device to communicate through the firewall.

    1. open Windows Firewall by clicking the Start button, click on the Control Panel, clicking Security, and then click Windows Firewall.

    2. in the left pane, click on allow a program through Windows Firewall.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Select the check box next to the program that you want to allow, and then click OK.

    Allow a program to communicate through Windows Firewall
    http://Windows.Microsoft.com/en-us/Windows-Vista/allow-a-program-to-communicate-through-Windows-Firewall

    Concerning
    Anthony.

  • Need help to connect the old Windows XP to new wireless router, please

    Hello
    I have an old desktop running Windows XP Edition family 2002 version, which has been connected to a Netgear WG311 802.11 wireless router g. I was unable to connect to other computers, so I replaced the Netgear with an E1200 Linksys wireless router. Now, all other computers find the Linksys router, but the older Windows XP desktop will not (because I don't use it to configure the router?).  How to connect your old computer to Windows XP to the new router, please? Thank you very much for your help.
    Walt

    Hello
    I have an old desktop running Windows XP Edition family 2002 version, which has been connected to a Netgear WG311 802.11 wireless router g. I was unable to connect to other computers, so I replaced the Netgear with an E1200 Linksys wireless router. Now, all other computers find the Linksys router, but the older Windows XP desktop will not (because I don't use it to configure the router?).  How to connect your old computer to Windows XP to the new router, please? Thank you very much for your help.
    Walt

    The problem is probably that the Linksys E1200 is a wireless-N Router and your former Office no doubt has a wireless adapter that is only capable of wireless-G (or perhaps Wireless G and B).

    Are adapters wireless in your other computers wireless - n?  If so, it perhaps is the reason why they could not connect to your old G of Netgear wireless router.

    You can get a new wireless-N for the office adapter or configure the E1200 wireless g available.

  • I need help to connect my macbook pro to my TV high definition. I just installed the latest update for el capitan, and now all of a sudden not work there.  I use a hdmi cable that has worked for me before.  Any suggestions?

    I need help to connect my macbook pro to my TV high definition. I just installed the latest update for el capitan, and now all of a sudden not work there.  I use a hdmi cable that has worked for me before.  Any suggestions?

    OS X El Capitan: use your TV as a monitor

  • Hi need help I get the error message "Download error, Undefined" in the applications tab to install Apps. Can someone help?

    Hi, I need help, I get the error message "Download error, Undefined" in the applications tab to install Apps. Can someone help?

    Follow the procedure below and check:


    End Adobe partner all tasks in the Manager of tasks like creative cloud, CoreSync, AAMUpdater... etc.

    Uninstall Adobe Creative Cloud application.

    If you face any problem try CC Uninstaller:

    Using creative cloud | Uninstall the creative cloud desktop application

    After removing Adobe Creative Cloud applications, follow these steps:

    Step 1:

    Open the c: drive and navigate to C:\Program Files (x 86)------\Adobe " common files".

    Open the Adobe folder and delete folders named Adobe Application Manager and OOBE.

    Step 2:

    Navigate to C:\Program Files (x 86) \Adobe.

    Open Adobe file and if present the file to remove Adobe Creative Cloud . [* important]

    Impossible to remove?

    Rename it as Adobe Creative Cloud-old.

    Step 3:

    Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.

    Type below command and press the enter"" key.

    AppData

    Then go to the Local > Adobe.

    Open the Adobe folder and delete folders named AAMUpdater and OOBE.


    Step 4:

    Temporarily disable anti-virus and firewall.


    (1) open Control Panel and then click on the network and Internet"" option.

    2) click on Internet options, click on the tab "connections".

    (3) in the 'Connections' tab, select 'LAN' settings, you will be able to view the LAN settings box.

    (4) check the box-"automatically detect settings" and then "uncheck" all the other boxes as "configuration Script auto use", "Use a proxy server," proxy server ", then click on the ok button."

    5) click on the "Network settings" button once again, make sure that "Automatically detect settings" is the only option you select, the window of properties of LAN so clear.


    Step 5:

    Make sure that Adobe Creative Cloud is not listed in the control panel > programs and features. list.

    Then, download and install the Adobe Creative Cloud app and check.

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

  • I need help to Flash the bios. I have an Aspire 5810TZ. I start and it just says: "acer".

    I need help to Flash the bios. I have an Aspire 5810TZ. I start and he just says "acer" and goes no further. I went to the download page for BIOS on us.acer.com and it has a zip file with 5 files:
    JM4151135.exe
    IN FLORIDA...
    GPC_V135.bin
    Readme.txt
    FLASH. BAT
    What should I do? I tried to copy the files on a USB key and turn on/off with Fn + ESC key. After the release the power button and pressed Fn - Esc another screen appears after 30 seconds. I gave up and gave her 30 minutes but it does nothing. I read another person that should be flashing power button online. I have to rename one of the files. Help, please!

    Aspire 5810TZ menu of frozen startup.

    I finally understand it.

    I couldn't start a back b/c drive, it me did not start anything.

    I followed this chain of logic:

    -Downloaded the bios (2.35 is the one that worked for me)
    -Find the exe file in the winflash file.
    -Extract the files in archive exe using the 7-Zip program
    -Find the .fd file and rename it to JM41X64. FD (I read in a forum was unique in my laptop)
    -Copied JM41X64. FD and FLASH it is. EXE on a USB
    -A the battery and the hard drive out.
    -With its trendy diet I supported Fn + Esc and that you press the power button once while ensuring that the Fn + Esc has been always held down.
    -J' waited 6 seconds and release the Fn + Esc and seen the flashing flash player
    -After about 10 minutes, restarted the machine and the bios as like new.

    Later, I found that there was a hard drive problem.

    I want you guys should help more. All I needed was the name of the JM41X64 file. FD and you don't know how many hours I put into trying to find how simpy bios flash. It is not that difficult for someone with a b.s. in computer science to learn how. Couldn't we a m.s. back b/c the bios drive was messed up. F12 didn't work.

  • Access to the button inside Movieclip/ScrollPane

    Hi all

    I'm trying to understand how to create a button inside a movieclip.  I have a model that has movieclips in movieclips, and when I create a button (while using AS2) the button works if I test the stage, but in the whole flash movie it does not work.  I have also a few buttons inside a ScrollPane who also do not call correctly.

    I use this code for my button:

    facebookbtn.on (release) {}

    getURL ("http://www.facebook.com/", "_blank", "GET");

    }

    ↑ This is placed on the button "facebookbtn". I also tried to use: _root.bgPages.pg1.facebookbtn.on (release), does not.

    For the one inside a ScrollPane I try to call a javascript function:

    {We (Release)}

    to import flash.external.ExternalInterface;

    ExternalInterface.call("saveglobalscore",score) ("GroupDelegate", "dayone1");

    }

    ↑ This does not work, with or without the name of the button before it (release).

    I put the FLA here so that if someone has the time, could help me with this problem quickly. Thank you!

    FLA: download FLA

    Different code depending on how you assign it. what you show seems to be mixing up both ways...

    If you place this code on the button, use:

    on (release) {}

    getURL ("http://www.facebook.com/", "_blank", "GET");

    }

    If you place this code in the script that contains the button, do not forget that you gave this name of the instance to the button (in the properties, not the library panel), and then copy the following code:

    facebookbtn.onRelease = function() {}

    getURL ("http://www.facebook.com/", "_blank", "GET");

    }

  • AddListener for a button inside a movieclip in the library?

    Could someone point me in the right direction on how to add a listener for a button inside a movieclip in the library?

    Example:
    Root-> work_mc-> workss_mc (added with Addchild) (timeline)

    There are workss_mc in the library which is charged when someone clicks on a button inside work_mc. This is achieved with addChild. In workss_mc there is a close button to close it. I encountered problems with the work of navigation with this b/c I have to declare and create a single instance of workss_mc within a scope where it is visible to both managers of click, this will place the two managers in one place. So to do this I would need them all be designating the code of navigation, the root.

    So, how can I access the root workss_mc?

    It is good news.

    Now, what happens if you just after on the main timeline - none other than the trace:

    function clickHandler(event:MouseEvent) {}

    workss_mc = new mc_workss();

    workss_mc.addEventListener ("closeButtonClick", onCloseClick);

    workss_mc.x = 225;

    workss_mc.y = 200;

    addChild (workss_mc);

    removeChild (work_mc);

    }

    function onCloseClick(e:Event):void {}

    trace ("clicked")

    }

  • Need help to diagnose the regular system analysis on iMac - processors maxed out

    I need help to identify the cause of a problem that occurs at least 2 - 3 times per day using my iMac (27-inch, mid 2010) running 10.11.5.

    I will use my iMac and then all at once things will start to really trolling. To the point of being completely unusable. Even if I'm able to move my cursor, then click to drag the windows around the screen nothing does really.

    I have iStat menus running so that can see graphics in my menu bar that all 4 cores are completely overfished. Occasionally, I was fast enough to launch the activity monitor to try to see what applications / services are responsible for, the use of % CPU column is completely empty of values, so I can't identify the culprits in a reliable way. I try to keep that column sorted by % CPU use in the hope that he could reveal something and normally it's the kernel_task who is up there.

    I use a Wacom Bamboo dated Tablet (MTE - 450 has) instead of a mouse, and at one point, I was convinced the pilot of PenTabletDrive it is based on was to blame. I contacted Wacom on this subject, and although there is no known issues they pointed out that although the latest drivers will allow me to use the tablet that they no longer support older devices. I was wondering if there was a problem of communication between the device and a driver that is no longer supported. I installed the latest driver supported for my tablet, but the problems persist.

    It may be interesting to note that, when my computer is in this semi-frozen state, I am able to launch the window enough force and quit all open applications leaving me with only the Finder. I guess that means that there are none of my apps running and it is probably one of the services. If I restart the Finder system grinds to a completely enclosed holt.

    I hope someone can let me know what I can find in the Console or elsewhere to help me finally zero in on what is to blame. I can share a log if that helps.

    Thank you in advance!

    Information that might be useful:

    Kept by I tend to be running: Adobe InDesign, Photoshop, Acrobat (all CC 2015), Mail, Safari with several tabs & Dropbox sync constantly.

    Download and run EtreCheck, created by one of his own assistants here in CSA. It is a diagnostic tool that is very useful for us to find problems. It will also give us additional specifications on your Mac. After his execution after the logfile here. It will never contain any personal information.

  • I need help to connect my iPhone apps on El Captian Office

    I need help to connect my iPhone apps on El Captian Office

    Without knowing exactly what you're trying to do, this article from Apple can help:

    Continuity allows you to connect your iPhone, iPad, iPod touch and Mac - Apple Support

  • Need help to remove the zeros on the right

    Hello.

    I need help to replace the zeros in the string.

    I have a string which is the output of the network packet. There are a few trailing zeros in the package.

    I don't see them in normal mode, but the size of the string tells me that it's bigger then it looks like.

    When I pass in hexadecimal mode, you can see zeros.

    I tried to use the find/replace function allows you to search for 0 and replace it with an empty string constant. But, for some reason any, that he took no zeros.

    I need to stop the string that follows * 69.

    Show your code.  You won't find and replace with all zeroes.  These 00 in hex mode they are null characters.  (not printable byte with a value of zero).  You need search and replace on that character.  (replace string should look like 00, when it is set to display the hexadecimal code.

  • cq57: need help cq57 enter the password administrator or power on password... deisabled system 58555314

    need help cq57 enter the password administrator or power on password... deisabled system 58555314

    Thank you!!!

    @clatimer

    Enter 47433930

    REO

  • Need help in using the ActiveX to retrieve a VARIANT

    Need help in using the ActiveX to retrieve a VARIANT.

    Variant is shown as var {VT_Ul1, 1} in debugging

    By using the following

    HR = CA_VariantGetShort (& var, &value);)

    I get 0 for my answer instead of 1.

    Answered my own question.

    VT_Ul1 is an unsigned char and not a short.

Maybe you are looking for

  • Tecra M5 freezes at the home screen at startup (post Safeguard Easy Install)

    Since the installation of disc Safeguard Easy encryption, my M5 freezes to the initial Toshiba screen. Pressing Ctrl - Alt - Del was going on this and on backup password screen. It seems that there is a patch of BIOS for the Satellite Pro series, but

  • at the same time production and measuring the pulse

    Hello everyone, I'm generates a pulse for specific time. Now, I want to measure within the same daq card. I've done Vi for him but he has an error. I have USB daq-6343. I enclose my Vi here. The problem is I am able to get pulses generated at PIN 6 P

  • signature of iTune is not valid

    I get errors when I try to download Apple Quicktime and Itunes updates. I get an error "invalid signature." I tried to change my security without success.Thank you

  • I would like to add an ssd on my pavilion dv 4217

    I would like to replace my HDD with a SSD in my HP Pavilion dv 4217. Is this possible? Can I use the disk as a second HD?

  • Windows live id digital mail 2011 15.4.3508.1109 Build

    What is the great indoors live Version 2011 (Build 15.4.3508.1109)of identification number of the job? When I try to send a message that I get these little annoying messages all over the place and try to understand this before I throw this thing out