How can I make 2 different buttons open same movieclip separately?

Hey,.

Well, I had following problem:

I have a site that has different buttons that each one opens a different movieclip (a window with content).

But some of the buttons will open the movieclip even as the other button...

So, to make it better to understand than my weird explanation above:

Button1

} - Open Movieclip (contents window) 1

Button2

Button3

} - Open Movieclip (contents window) 2

Button4

... and so on.

Make 2 buttons the two the same instance name does not (of course).

If you still don't understand, this is the test site, I'm working on: http://194.78.48.75/foryoureyesonly/

As you can see the buttons/links in the windows on the left works perfectly...

But the shortcuts on the desktop itself does not work... and those who have the same name as 1 of the links on the left and will have to make a link to the same window...

Thank you

No, because the buttons need to all have different name properties assigned to them (assuming they are planted manually on the scene).    The instance name sets the name property of an instance for manually planted objects.

If the buttons are actually the movieclips, you can assign each a dynamic variable and use instead of the name property.  Buttons cannot have variables assigned in this way.

Otherwise, if you want two buttons named differently to end up in the same framework, using this function, then you could have consecutive images with different labels which lead to stop at this last (using a gotoAndPlay rather)... as in three frames... the first with a label, the second with the other and the third with a stop() in there.

Tags: Adobe Animate

Similar Questions

  • How can I make the downloads button open the downloads/library window?

    I have a copy of Firefox on a computer that opens sort my list of downloads in the section downloads of the Library window. Meanwhile, there is another computer with Firefox which opens a whole tab with my list of downloads. I prefer to use the library view of the window instead of the display by tabs. I have the download button in the Menu, rather than on the toolbar. Can someone please help me find an option or another way to set the download button to open the view windowed on my other computer? Thank you.

    Firefox opens the topic: downloads page in a tab when you're in private browsing mode.
    The downloads folder is only open in normal mode.

  • How can I make Windows 7 always opens a full screen?

    How can I make Windows 7 always opens a full screen by clicking on a link?

    If I click on a link, it always opens a small window. How silent it's who?

    I tried to slide the corner of maximum size... does not work in Windows 7. .. .at work wonderfully under XP

    I tried a right click, then properties... but nothing is editable in there because it shows only a GENERAL tab.

    Please don't tell me that Windows 7 remembers the setting because it doesn't... I know it should... but it doesn't.

    Windows XP was so good... why I changed :-(

    A way to solve this problem once and for all would appreciate it

    Hello

    1. you try to open the links of a Web page, e-mail or documents?
    2. what web browser do you use?
    3. you try to open a shortcut in the Explorer?

     
     
    By dragging the corner of the window should the maximum size of the window. If it doesn't, then it seems that the browser is corrupted. Try double-clicking on the top of the window to enlarge the window.
     
     
    If you are using Internet Explorer, follow these steps:
     
    a. open Internet Explorer and click on a link that opens in a new window of a second.
    b. close the first window, leaving your window open.
    c. drag the new window to what size you want. .
    d. you can drag windows by placing the mouse cursor on the edges of the window, click button straight on and then dragging.
    Note: If dragging the window does not help, you can double-click on the top of the window to maximize.
    now, close the new window.
    f. reopen Internet Explorer and check by opening other links as well.
     
     
     
     
     
     
     

     
  • How can I make Adobe Reader 9 open to incoming PDFs instead of Acrobat 5.0?

    How can I make Adobe Reader 9 open to incoming PDFs instead of Acrobat 5.0?

    Hello

    Assuming you have Reader 9.3.4 already installed on your machine, you can try the following to make demand opening of default PDF Reader 9.3.4:

    1. right click on any PDF on your system, and then click the option 'Open with' from the context menu that appears. In case you get another submenu, click on program selected in this menu. (Where you don't see 'Open with' option, then hold down the SHIFT key and right-click on the file)

    2. click on the Browse button in the dialog box that appears, select Reader 9. Make sure you check the box "always use the selected program to open this type of file"

    3. click on OK.

    This will make Adobe Reader 9 as the default viewer for all PDF files on your system.

  • How can I make YouTube playback buttons and other plug-ins more great because they are so tiny?

    How can I make YouTube playback buttons and other plug-ins more great because they are so tiny in Firefox? I tried some suggestions dealing with entering "subject: config ' in a fresh browser, but does not. I also downloaded the add-on called "Theme font & size changer", but that no longer works. So I'm reaching here that it was a suggestion that offered another user here.

    Ah, Yes, that's - a ultra high resolution (dots per inch) display. It is a known problem in Flash Player, which Adobe is working on fixing.

    In the meantime, you can get some videos to have normal size controls from the Youtube HTML5 video player:
    In Firefox, go to https://www.youtube.com/html5 and click on the button "request the HTML5 player.

  • How can I make the "abort" button show? (I can not click on 'stop' in the menu drop-down operations).

    I modified a model; It took me a while loop inside another while loop, which causes the "stop" button to the don't end not the functioning of the VI. I hooked the "stop" button at the same time of the icons stop loops while, but is not complete the VI, so I need to use the button 'give up', but it isn't here. How can I bring / what it does appear?

    Move the button "stop" inside the inner while loop.

    And just for the appropriate encoding methods, do not hide behind a loop code

    It makes debugging difficult.

    You must also move the button 'save' inside of the inside while loop as well.

  • How can I make Windows 7 Explorer open my folder on the desktop instead of libraries?

    I can find solutions that have me enter the GUID (Globally Unique Identifiers) for My Documents/computer etc, but I want Windows Explorer to start on my office if possible.  Can someone explain how to do this?

    Three ways:

    1

    1.1. open Windows Explorer, select theyourusername file C:\Users\

    1.2 your desktop folder will appear in the right pane.

    1.3 with the right button on the desktop folder and select Create shortcut.

    1.4 you can now use this shortcut to open Windows Explorer on the desktop.

    - - - - - -

    2

    2.1 while on your desktop, right-click, select new, select shortcut.

    2.2 in the dialog box that appears, find the location with C:\Users\yourusername\Desktop tab, and then click Next

    2.3 and enter any convenient name for the shortcut.

    - - - - -

    3 [is perhaps the most convenient because it can be pinned to the start menu or the taskbar]

    3.1 while on your desktop, right-click, select new, select shortcut.

    3.2 in the dialog box that appears, find the location with C:\Windows\explorer.exe and then a space & then C:\Users\yourusername\Desktop tab, and then click Next

    3.3 then enter any convenient name for the shortcut.

    This type of shortcut can be pinned to the taskbar or the Start Menu.

  • How can I make a link to open it in a new window?

    Hi guys,.

    In the area of "column Text." in the field "Link text", I have this link:
     <img src="#WORKSPACE_IMAGES#apt.png" alt=""> 
    the target page must open in a new window. Where should I add
    target="_blank" 
    or how can I do?

    Best regards
    Fateh

    The target = "_blank" in the attributes of link field.

    See you soon
    Bottom

  • How can I make a file especially open with a particular application?

    In Windows Explorer, I chose a file which, when clicked on, the guests for an application to open it with. Can they do this app simply open this file and not this type of file?

    Hello

    Take a look at the following link and check if that answers your question:

    http://Windows.Microsoft.com/en-us/Windows/change-default-programs#1TC=Windows-Vista

  • How can I make the ERP Oracle connection same powers as company IDs?

    Hello

    I have to run business with Oracle ERP authentication authentication.

    We have the same credentials for our company interrnal (Gmail and Helpdesk, Jira) Portal, but we have different credentials (username and password) for ERP, as these two password are kept in two separate systems.

    Please suggest me how can I do ERP Oracle qualifications from the society Gmail (AD) identification information so that if we change the passowrd of gmail, then with the same password society we should be able to connect to oracle ERP.

    We are unable to perform such a LDAP authentication through recommonded EBS with SSO and OID integration solution. As for the SSO and the OID, we will require OAM, who is the licensed version. We are 8000 + employees and it will be a huge cost to society. So we dropped this idea.

    Our idea is the following:

    We will define a password hardcoded to the LES for all users to identify the user is a valid user for Oracle EBS.

    When click on Login , happen internal authentication LDAP that identify this same password hardcoded as a password valid internally and then the user is able to see the Oracle ERP homescreen.

    Please suggest me how can I do the LDAP using the OPS (JDeveloper 10.1.3.3.0) authentication.

    Is it possible to do this?

    Assume that POC, we have 2 fields username and password, and properly integrate into our company AD, this means that if I put my AD company credentials, it should allow me to login in there.

    Please suggest how can I do this? is there an API for it? Also suggest me another possible solution for ERP Oracle credentials identical to that of AD.

    Kind regards

    Monika

    Hi Monika,

    First to write all your calls of dbms_ldap in the procedure a pl/sql. Do not call dbms_ldap api functions separately in java.

    Didn't test it, but it should work.

    1 Wrrite a pl/sql package. You can also add create api user.

    create or replace package apps.xxanil_pkg as
    
        function authenticate(p_dn in varchar2, p_password in varchar2 ) return varchar2;
    
        function password_operation ( username varchar2, newpassword varchar2 ) return varchar2;
    
    end;                      
    
    /
    
    create or replace package body apps.xxanil_pkg as
    
        function authenticate(p_dn in varchar2, p_password in varchar2 ) return varchar2 is
            l_ldap_port   number        := 389; --ldap port
            l_ldap_host   varchar2(100) := '';
            l_out         varchar2(1);
    
            l_retval      pls_integer;
            l_retval2     pls_integer;
            l_session     dbms_ldap.session; 
    
            l_string      varchar2(256);
    
            my_attrs     dbms_ldap.string_collection;
            my_message   dbms_ldap.message;
            my_dn        varchar2(256);
            my_entry     dbms_ldap.message;
            x_retval     pls_integer;
            x_dn         varchar2(256);
    
            ldap_base     varchar2(256):= '';
            l_admin_dn    varchar2(256):= '';
            l_admin_pass  varchar2(256):= '';
        begin
            if p_password is null then
                return 'N';
            end if;
    
            l_retval                    := -1;
            dbms_ldap.use_exception     := true;       
    
            begin
                l_session   := dbms_ldap.init( l_ldap_host , l_ldap_port );
                l_retval    := dbms_ldap.simple_bind_s( l_session, l_admin_dn, l_admin_pass );
                my_attrs(1) := 'distinguishedName';
                x_retval    := dbms_ldap.search_s( l_session, ldap_base,  dbms_ldap.scope_subtree, 'sAMAccountName='||p_dn ,my_attrs , 0, my_message);
                my_entry    := dbms_ldap.first_entry(l_session, my_message);
                my_dn       := DBMS_LDAP.get_dn( l_session, my_entry );
                l_retval2   := dbms_ldap.unbind_s( l_session );
                if my_dn is not null then
                   x_dn := my_dn;
                end if;
            exception when others then
                x_dn := null;
            end;      
    
            begin
                l_session       := dbms_ldap.init( l_ldap_host , l_ldap_port );
                l_retval        := dbms_ldap.simple_bind_s( l_session, x_dn, p_password );
                l_retval2       := dbms_ldap.unbind_s( l_session );
                l_out := 'Y';
            exception when others then
                l_retval2       := dbms_ldap.unbind_s( l_session );
                l_out := 'N';
            end;  
    
            if l_out = 'Y' then
                return 'Y';
            end if;            
    
            return 'N';
        exception when others then
            return 'N';
        end;
    
        function password_operation ( username varchar2, newpassword varchar2 ) return varchar2 is
            l_result                    boolean;
            l_out                       varchar2(1) :='N';
            l_user_exist                varchar2(1);
            l_user_password_correct     varchar2(1);
        begin
    
            select decode(count(*),0,'N','Y') into l_user_exist from fnd_user where user_name = username ;
    
            if l_user_exist = 'Y' then  -- user exists
    
                l_user_password_correct := fnd_web_sec.validate_login(username,newpassword);
                if l_user_password_correct = 'N' then  -- user exists but password is wrong. change the password
    
                    l_result := fnd_user_pkg.changepassword(username,  newpassword );
                    commit;
    
                    if l_result then
                        l_out := 'Y';
                    else
                        l_out := 'N';
                    end if;
    
                else -- user exists, password is correct, do nothing
                    l_out := 'N';
                end if;
    
            else -- user not exists. create user here
                null;
            end if;  
    
            return l_out;
        exception when others then
            l_out := 'E';
            return l_out;
        end;   
    
    end;                      
    

    2. decompile LoginCO.class and add after the code before "hashmap.put ("username", s1);". Launch OAExceptions if any statement that may be called by error occurs.

    OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
    OADBTransaction txn = am.getOADBTransaction();
    
    CallableStatement csLdap = null;
    String ldapResult =null;
    String sqlldap = "Begin :1 := APPS.xxanil_pkg.authenticate(:2, :3); End;";
    csLdap = txn.createCallableStatement(sqlldap, 1);
    try {
      csLdap.registerOutParameter(1, Types.VARCHAR);
      csLdap.setString(2, s1);
      csLdap.setString(3, s2);
      csLdap.execute();
      ldapResult = csLdap.getString(1);
    } catch (SQLException e) {
      //throw OAException here, cut the process
    } finally {
      try {
      if (cs != null)
      cs.close();
      } catch (SQLException e) {
      //throw OAException here, cut the process
      }
    }
    
    if("Y".equals(ldapResult)) {
      CallableStatement cs = null;
      String result =null;
      String sql = "Begin :1 := APPS.xxanil_pkg.password_operation(:2, :3); End;";
      cs = txn.createCallableStatement(sql, 1);
      try {
      cs.registerOutParameter(1, Types.VARCHAR);
      cs.setString(2, s1);
      cs.setString(3, s2);
      cs.execute();
      result = cs.getString(1);
      } catch (SQLException e) {
      //throw OAException here, cut the process
      } finally {
      try {
      if (cs != null)
      cs.close();
      } catch (SQLException e) {
      //throw OAException here, cut the process
      }
      }
    }
    

    Kind regards

    Anil

  • How can I make a Submit button in the Center

    Hi all
    I have a box header and this region, I have a SubmitButton.
    I wish to make this button in a central position of the page.
    There is a property named Horizontal alignment, I put it in the "Centre".
    but the button does not appear in the Center.

    would you please how I can make the button in the center of the page.

    Kind regards
    Dina

    Dina,

    For this, you must go for the rowLayout region and create the sumbit inside button. Iinstead of pagebuttonbarBean.

    Kind regards
    GYAN

  • How can I make the quiz button download the image appear?

    Hello.

    I am trying to replace the button 'Submit' I use in a quiz, but the button to download a new button does not appear. Here is a screenshot so you can see what I mean:

    Untitled-1 copy.jpg

    The button normally appear to the right of the drop down list 'Button Type', but is no longer. I tried the following hotfixes, which none have worked:

    -Resizing of the window

    -Closing and reopening of Captivate

    -Clear cache project

    -Remove temporary files

    -Deletion of the folder, preferably

    Any thoughts on what I can do? Because there is a "submit" button quiz, I'm unable to download the button image and use a place-clickbox.

    I use 7 Captivate.

    Thank you.

    The Send button is an embedded object (has no separate scenario) all quiz slides, the most important of them because you should never delete to avoid the screwing of the functionality of the Question slides.

    You don't say HOW you tried to achieve this goal? You can check the style of the buttons of the Quiz in the Style of the object manager?

    Another solution would be to use an image and do the quiz button style so that it is invisible (no label, no fill, no stroke). To output SWF button will remain active.

  • How can I make several links PDF opened in the second tab, instead of a 3rd, 4th etc.

    I'm working on a project for my birthday 125 universities.  Essentially, I've created a long 125 digital book of the year, with a link to the actual digital Yearbook of the University for every year.  I wonder if there is a way I can make all links open in the same second page directory.

    IE: Main project is opened in a window, when I click on the hyperlink pdf 1939 Yearbook, the 1939pdf opens in the second window.  Then I want to find a way to make after this, on the home page, I can click on the link of the pdf 1940 Yearbook and directory 1940 load on the second window, replacing the 1939pdf, instead of simply open the 1940pdf on a third new tab/window?

    Note: I have all the PDF Online and downloaded directory, so I can make the hyperlink you send to the site, or do a thing of style download.

    Thanks for any help and if anyone needs more info just ask me!

    Hello

    Please take a look at this thread Re: can I refresh the browser instead of opening a new tab?

  • How can I make each option button appear in the tab order?

    When users tab through the form, the tab highlights only the first radio button of a group before moving to the next field or group of fields.

    Example: he is asked to the user for the following information: name, gender (M/F option boxes) and date of birth.

    When Tab through the form, users are taken from the LastName field to the male radio, for the Birthdate Field button. Never does the tab allow them to select the female unless they they click on it with the mouse.

    It seems like it should be a simple solution, but I can't find it anywhere!

    Thanks for your help.

    It's their way of work. Imagine a group of buttons radio as a combo box or a list. When one of these types of field receives focus, you can use the arrow keys to navigate through the options and the tab key moves to the next field.

    If you configure the group using the check boxes instead, everyone in the group that gives the same name, but different value of exports, they will behave as you wish. A group of checkboxes behave a little different than a group of option buttons, but it's close.

  • How can I make the 6 buttons on my Satellite A80-131 work under vista?

    I have gon up and down on any download from Toshiba site and cannot end anything to work... Can someone help me?

    Do not to ask about it. If you look at the download page of carefully you will notice that A80 is not supported in Vista. Because of this, you will not find any Vista designed Toshiba tool for these buttons.

    Sorry, but I think that there is nothing to do.

Maybe you are looking for