How to assign two url for a single picture?

I have a picture and put it into sprite,like follows:
   var loader:Loader=new Loader();
   addChild(loader);  
   loader.load(new URLRequest("logo.jpg"));
At the right top of logo.jpg,and there are two word location in the logo.jpg,one is 'home' and another is 'about us',I want to add two url on 'home' and 'about us',how to do it?
Thanks

add your loader to a sprite or movieclip and, after loading is complete, add two transparent children to overlay your words.  add listeners to your transparent children.

Similar Messages

  • F110 - How to group two payments for a single costumer

    Hello experts,
    I'm having an issue here. The user has 14 invoices, 11 of them are DR document type, 3 are DM doc. type. All of the 14 invoices have payment method 4. When we create the proposal for this costumer, two payments are created, one for all the DR invoices, and another one for the DM invoices.
    What the business want is to be able to create only one payment, including both DM and DR invoices. I tried looking into FBZP for payment method "4", both in company code and country. I flagged "Single payment for marked item" and nothing changed, 2 different payments are still created for the same customer.
    Also I looked into the customer master data, on the "Payment Transaction" tab, flagged the "Single payment" but it works exactly the other way, one payment document per invoice, which I do not need. I saw something about Grouping keys, created one with GL Account, Customer and Posting key but did not work, still two payments for the same document.
    Is there anything else that I can try? Any help will be appreciated. Please let me know if something is unclear.
    Best regards and thanks in advance,
    Ivan

    Hello DSK,
    First of all thanks for the reply. I tried with the grouping key in the customer master data, I created one grouping key "02" and assigned it the customer but it did not work.
    The grouping key is composed by:
    KUNNR
    BSCHL
    HKONT
    Which I think are common values between the DM docs and the DR doc.s
    Regards,
    Ivan

  • How to Maintain Two Countries for a Single Plant in OX10

    Hi Experts
    I need the solution for the below settings for OX10 ( Plant Overview ) .
    For a single Plant i have to maintain two countries .
    1) One country in details screen of Plant ( Country Key )
    2) Second country in Address details of the same plants ( In the Street Address - Country )
    while i am doing that the country in main screen is getting copied as same as address country after saving .
    Pls Help .
    Regards
    Sameer
    Edited by: Saxena Sameer on Oct 20, 2011 7:46 AM

    It is not possible and not logical to have one plant in 2 countries.
    And the 2 screens you talk about should actually have the same values, otherwise it is just inconsistent data.
    The first screen was all what SAP had for a plant address before central address management was implemented with 4.0 release.
    Since central address management is in use, you only need to define you address behind the envelope button and the necessary information is adopted to the first screen automatically.
    Knowing this background should make you aware that these 2 address screens are not designed to be maintianed for different purposes.

  • How do you configure two counters for a single task?

    Hello Everyone,
    I would like to know how to configure two counters for a single task. At first, I have put two start task for two counters and it did not work. Now, I have put Control Task to control the task of the other counter. Appreantly, all what it does is that it makes one counter work while other is stopped or not working. I have attached a picture of the VI below.
    Thanks.
    Mechanical Engineer

    Hello Mike,
    We are currently using NI-cDAQ 9191 chassis with NI 9401 Digital I/O module that can use counters. I don't know if the lines for the counters are multiplexed or not. I have attached the VI for you to look at it.
    Thank you for your effort.
    Mechanical Engineer
    Attachments:
    VI_Degrees(test2).vi ‏187 KB

  • Two urls for portal

    Hi,
    1.Can anybody tell me how to configure two urls for portal?
    2. How can I configure SSL certificates for both the urls?
    our main aim is to have 2 urls one with Kerberos and one with non kerberos.  want to define two urls for these two and want to install SSL certificates. Please help me.
    Thanks
    karunakar.M

    Hi,
    Blog: Using certificates with the SAP NetWeaver Portal
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
    Microsoft: http://support.microsoft.com/kb/931351
    br,
    Tobias

  • How can we give two name for a single material ??

    Hi friends
    how can we give two name for a single material ??
    e.g.. if single material is sold to different customer by different names
    then how can we do that ??

    Yes
    you can achieve it thro CMIR in T code VD51
    Go to T code VD51 choose that customer and material combination and click on to its details blue lens on application tool bar
    In the screen which is coming ,enter your description in the CUSTOMER DESCRIPTION tab the second one and save
    Now create a sales order and see
    Your requirement will be fulfilled
    If a material is pen description is ball pen in material master and for customer A you have defined it as Pen 1 and description as Super ball pen in VD51
    If a material is pen description is ball pen in material master and for customer B  you have defined it as Pen 1 and description as  VerySuper ball pen in VD51
    Now in sales order the description will appear as Super ball pen for Customer A
    Now in sales order the description will appear as Very Super ball pen for Customer B
    Hence the material pen whose description is ball pen in MMR will appear as super ball pen for customer A and very super ball pen for customer B
    Hope you have checked the field info record in VOV8
    I have tried this tested this and getting it
    Regards
    Raja
    Edited by: ramanathan raja on Dec 8, 2008 5:54 PM

  • How to set Compatibility Mode for a single site in ie10

    This question was originally posted on the Answers forum -
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-to-set-compatibility-mode-for-a-single-site-in/187152e3-142a-4d96-8d1b-af82ef571eec
    I am having problem with getting ie10 to set ie9 compatibility for a single site (sharepoint.contoso.com).
    When I add this website in Compatibility View Settings (Alt > Tools > Compatibility View Settings > 'Add this Website') it adds the domain 'contoso.com' and not the individual website (sharepoint.contoso.com).
    This cause other sites (www.contoso.com) to be configured to use compatibility mode. Because this is a separate site (different web server) to the site sharepoint.contoso.com (sharepoint 2010 server) we need different compatibility settings.
    Using a different example to explain the issue -
    Microsoft has three websites that are different websites created by different developers written in different programming languages and they only work with certain browsers.
    microsoft.com (Website1 created by Developer1) - compatible with ie8/ie9/ie10
    msdn.microsoft.com (Website2 created by Developer2) - compatible with ie8/ie9
    technet.microsoft.com (Website3 website created by Developer3) - compatible only with ie10
    The only thing the three website share is the URL contains 'microsoft.com'.
    Marking 'msdn.microsoft.com' to run in compatibility mode affects the other 2 websites - mainly technet.microsoft.com which will not work now since it only runs in pure ie10 mode. 
    Should you be able to add an individual site to the compatibility list instead of all sites that have  .microsoft.com in the URL? Am I missing a simple setting in the ie10?
    As a workaround I am using the F12 Developer Tools to set the Browser Mode which temporary sets the compatibility mode. However this is not a nice solution to the end users at our organisation. 

    problem is not solved for non corporate environments...
    You could start your own thread.  Then if you got that answer and it was marked Answered you would have the ability to unmark it.  The OP of this one seems satisfied.  Also note that this is TechNet.  Consumers can get help on Answers
    forums.
    Robert Aldwinckle
    Oh! I wrote it wrong: I should have said: This is not solved for NON-AD environments. No demands what so ever to use Window 7/8 professional in a small corporation or on a big corporation with Island of smaller departments for example offshore.
    The problem is that the thread is not "Answered" by the OP, its is marked answered by a moderator (and same moderator that did the answer) so no way of telling if the OP is satisfied.
    But you are right in the fact that I am almost kidnapping the thread. But a complete answer would benefit all in this case I would presume.
    Regards
    /Aldus

  • How to call two RFC in a single JAVA method.

    Dear all,
    I just want to know that how to call two RFC in a single java method which is defined in CRM implementation file. I'm using NWDS as the customization IDE & working on ISA 7.0.

    Hi Sunil,
    In the Backend Implementation class, in any method you can call multiple RFCs.
    It will be the same way as you do for the single RFC call.
    Following syntax is for your reference.
    Get the JCO connection
    JCoConnection  connection = getDefaultJCoConnection();
    JCO.Function func = connection.getJCoFunction("ZXXXXXXX");
    set the import parameters
    Execute it.
    connection.execute(func);
    get the data from export / table parameters
    Now call the second RFC
    func = connection.getJCoFunction("ZYYYYYYYYYY");
    set the import parameters
    Execute it.
    get the data from export / table parameters
    close the connection
    Hope this will help you.
    -Chandra.
    Edited by: Chandra Sekhar Seeli on Jan 13, 2011 2:04 PM

  • Can we call two layouts for a single script?

    Can we call two layouts for a single script?
    Where dow e assign print program to a script?
    in NACE transaction is it possible.......
    Thanks in advance.
    Regards.
    Abhilash.

    Hi Abhilash.
    Greetings for the day.
    U can use one script in diffrent programs.
    Yea u can do it in NACE transaction.
    procedure would b as foloows:-
    1.NACE
    2.Select the apllication
    3.Output types (press tab).
    4.again selet the output type which u require
    5.then press "procedure routines"
    here u can give the program name and fom name.
    plz reward if found helpful.
    regards
    prashant tiwari

  • How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?

    Hi All,
    How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
    Assume Material is Pen.
    While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
    Kindly help me out.
    Thanks,
    Renjith Jose

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • How to Append two  word documents into single  using   java

    How to Append two word documents into single using java
    we tried this but it's not append the one word document to other
    source code:public class AppendTwoWordFiles {
         public static void main(String []arg)throws IOException
              FileInputStream fi=null;
              FileOutputStream fo=null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                   File f1=new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2=new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2,true);
                   byte b[]=new byte[2];
                   while((fi.read(b))!=-1);
              fo.write(b);
    System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              finally{
              fi.close();
              fo.close();
    plz reply me quickly ,,,what can i follow

    Use this code ..
    and give the path of the both file like this.....
    source file ---- C:/workspace/Practice/src/com/moksha/ws/test/practice.text
    destination file ---- C:/workspace/City/src/com/moksha/ws/test/practice1.text
    import java.io.*;
    public class AppendTwoWordFiles {
         public static void main(String[] arg) throws IOException {
              FileInputStream fi = null;
              FileOutputStream fo = null;
              try {
                   System.out.println("Enter the source file name u want to append");
                   BufferedReader br = new BufferedReader(new InputStreamReader(
                             System.in));
                   File f1 = new File(br.readLine().toString());
                   System.out.println("Enter the Destination file name ");
                   File f2 = new File(br.readLine().toString());
                   fi = new FileInputStream(f1);
                   fo = new FileOutputStream(f2, true);
                   byte b[] = new byte[2];
                   int len = 0;
                   while ((len = fi.read(b)) > 0) {
                        fo.write(b, 0, len);
                   System.out.println("Successfully append the file");
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } finally {
                   fi.close();
                   fo.close();
    }

  • How to assign the role for created user  thru dynpro App

    Hi All
    How to assign the role for currently created user from Webdynpro App.
    when i enter into the portal after creating the user
    i am getting the following messgae in the portal
    "No portal roles are assigned for this user.If this problem persists, contact your system administrator."
    how to assign the user defined role for the created user from dynpro App
    Regards
    Dhina  Kar J
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:19 PM
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:35 PM

    In the User Administration section of your portal find your newly created user and below select "Assigned Roles" tab then press <Modify> button and look through available roles on portal then just simply add and save. But if you want to do it programmatically see below:
    IUserAcountFactory userFactory = UMFactory.getUserAccountFactory();
    // IUser - read only but with IUserAccount is possible to set up user data
    IUserAccountSearchFilter userFilter = userFactory.getUserAccountSearchFilter();
    userFilter.setLogonUid("superuser", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult sr = userFactory.search(userFilter);
    for (final Iterator i = new PrincipalIterator(sr); i.hasNext();) {
      IUserAccount user = (IUserAccount) i.next();
    Execute the same search for IRole (or IGroup if needed) get the unique id of them and use newRole(...) and addUserToRole(...) methods from IRoleFactory.
    Of course you don't need search for this principals if you know uniqueness of them. Use appropriate factories to get'em all by this unique id.
    All the features see in  [javadocs|http://help.sap.com/javadocs/NW04S/current/se/index.html]

  • How to assign a value for Unit of measure (like PC, KG...) in ABAP program?

    Hi,
        How to assign a value for Unit of measure (like PC, KG...) in ABAP program?
        I want to assign PC in a field to execute the program, like wa-ENTRY_UOM = 'pc'.
        But the system returen a message that "Unit of measure  is not convertible to stockkeeping unit PC"
        Could anyone tell me how to assign the value??
        Thanks!

    hi,
    first convert the quantity in the same unit  ( like in you case ST to PC )  by using FM :    MD_CONVERT_MATERIAL_UNIT
    CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
        EXPORTING
          i_matnr                    = matnr
          i_in_me                    = entry_uom
          i_out_me                   = out_uom
          i_menge                    = quantity
       IMPORTING
         E_MENGE                     = fp_l_v_quant
       EXCEPTIONS
         ERROR_IN_APPLICATION       = 1
         ERROR                      = 2
         OTHERS                     = 3.
      IF sy-subrc <> 0.
              give error message here
       ENDIF.
    bcoz in ur program somewhere the quantities etc are compared and there units may be different... so that is why it is showing such error.  so just convert convert the quantity in the same unit  .
    regards
    rahul
    Edited by: RAHUL SHARMA on Jun 17, 2009 9:31 AM

  • Two URLs for same WS

    Hi everyone! I've created a function and I've published it like web service... Now, i see the WS in SE80 (Service Definition --> WSDL tab) and i get URL and WSDL (by example: http://hostname:8000/sap/bc/srt/wsdl/sdef_ZFUNCTIO_001/wsdl11/ws_policy/document?sap-client=100 ).
    Then, i go to SOAMANAGER, and i get another URL (with a little distinct WSDL: http://hostname:8000/sap/bc/srt/wsdl/bndg_E0DE487057B0E7F1A58C005056900046/wsdl11/allinone/ws_policy/document?sap-client=100 ). If i put these in Explorer, both open correctly...
    Why there're two URLs for same WS? Wich is correct?
    Thanks!!

    Hi,
    say for example
    your one URL is
    x.hostname:portno/irj/1stURL
    and the second URL is
    x.hostname:portno/irj/2ndURL
    and maintain two umLogonPagedefault.jsp with names,
    umLogonPage1stURL.jsp and umLogonPage2ndURL.jsp and do the necessary coding you want inside the JSPs.
    Now, umLogonPage.JSP is the JSP file responsible for determinig your portal URL to open when user wants to enter into portal. So Open that JSP(umLogonPage.JSP) and do like this:::
    <%
    String strReqURL = request.getRequestURL().toString()==null?"" : request.getRequestURL().toString() ;
    %>
    <%
    if ( strReqURL != null && strReqURL.endsWith("/1stURL"))     
    %>
         <%@ include file="umLogonPage1stURL.jsp"%>
    <%
    else if ( strReqURL != null && strReqURL.endsWith("/2nuURL"))
    %>
    <%@ include file="umLogonPage2ndURL.jsp"%>
    <%
    %>
    Regards,
    Srinivas.

  • How to assign the vendor for Pipeline material like Oil,power etc.

    Dear All,
    Can anybody tell me , how tp  assign the vendor for Pipeline material like Oil,power etc.

    Dear,
    Create source list ME01 maintain vendor here if vendors are multiple.
    Create Info record ME11for vendor and material combination
    Regards,
    R.Brahmankar

Maybe you are looking for