URL Link overrides

Hi,
I set the url link to the 2 groups on click like this
1-st group:
window.open("http://www.google.com", "_blank");
2-nd group:
window.open("http://translate.google.com", "_blank");
the problem is then I test the animation, 1-st and 2-nd group gets me to 2-nd group link.
How could I fix it?

I've solved it myself,
Here is my 1'st group , which is higher in the hierarchy, code:
if (typeof secondLink === 'undefined'){//somehow when I define variable at the first frame, the other symbols gets it as undefined, so I add this condition
  window.open("http://www.google.com", "_blank");
if(secondLink == false){
  window.open("http://www.google.com", "_blank");
}else{
  window.open("http://translate.google.com", "_blank");
the lower group code:
window.open("http://translate.google.com", "_blank");
1-st frame code:
var secondLink = new Boolean(false);
The frame where starts 2-nd group
secondLink = true;
The ending frame:
secondLink = false;
this.play(0);
Maybe it'll help someone

Similar Messages

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • URL Links in MastHead

    Hi
    I have a requirement. I need to include certain url links in the form of images in my masthead iview. When I click on the image it takes to me a different site.
    Is it possible to add my own images, if so where is that I can add the images.
    Regards
    Senthil

    Hi Senthil,
    Yes it is.
    The way is to import the existing masthead, make your changes, and re-deploy it (in a different par name, in order not to override the original masthead).
    <u>steps for importing the existing masthead</u>:
    1. Administration -> Support -> Support Desk -> Portal Runtime -> Browse deployment
    2. navigate to ROOT/WEB-INF/deployment/temp
    3. download com.sap.portal.navigation.masthead.par.bak
    4. import to developer studio (File -> import -> par)
    After redeploying the new masthead, you should create an iView based on the new par, and replace the original masthead iView in the <i>Framework Page</i> that is used in the current <i>Portal Desktop</i> (If you didn't change it it's the <i>Default Framework Page</i>).
    Hope that helps,
    Yoav.

  • How can I send to a different URL link than what the text states in Acrobat?

    Hi there
    I know how to create URL links in my document using Acrobat but
    How can I create a link that goes to a different URL desintation other than the one the text states?
    For example
    the text states
    www.aaaaa.com
    and I want it to state this,
    but I want the link to direct to
    www.aaaaa.com/abcdefghijkl
    I dont want to have to create a link object, I want it to stay as text?
    Is this even possible?
    Any advise?
    Thanks

    try67 wrote:
    Actually, it is possible to specify your own tooltip text, if you use a
    button instead of a link.
    You just set the button's action to "Open a weblink" and it will act the
    same as a link, but you'll have more control over how it looks and behaves.
    Hi there
    I cant see the term "Open a weblink". Can you advise please?
    Also then how do you change the "Tooltip text" please?

  • How to change URL/link in cFolders email notification

    Hi Folks,
    We are on cFolders 4.5 accessed via Enterprise Portal. When a notification is generated (either manually or via a status transition), the email contains a URL link related to the cfolder object the notification pertains to. This URL points to the cFolders BSP application. How do we point this to the portal? We want all user to access cFolders via the portal and not BSP. Any way to achieve this?
    Thanks,
    Lashan

    Hello Lashan,
    could you please tell me the note number?
    Here we also would like to implement the same.
    Thanks in advance,
    Boldi

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • How to call a portal KM URL link from WAD template Link

    Hi All
    I  am trying to call a Portal KM URL Link from the web template using the link control.
    I cannot figure out whare and how to put the portal KM URL Link into the web application web link.
    Your help is greatly appreciated.
    Thanks
    Karen

    Add content administration role to the user.
    The the content administration tab would be visible to the user in the main menu tab.
    Then in content administration tab, configure the URL for KM URL tab or link.
    This would be done by EP experts. Please contact your EP experts to do.
    Hope this would help you.

  • Url link in flash page flip book

    I am very inexperienced at what I am trying to accomplish.
    I have created a flip book in flash. On a page in the book I made a button that is a link to an external url. When I place the the swift file of that page on my webstie, the link works. I have made a link from my homepage to the flipbook. But when I open the flip book the url link does not work.
    Does anyone out there know what's wrong?
    thanks

    If the flip page the swf is in has interactive code asigned to it, such as whatever you use to flip the page, it could be blocking access to any clickable objects in the swf file.

  • URL link in the standard Sourcing mails

    Hi All,
    I am working on Sourcing 7.0 . In my production server scenario we have two URLs Internal and External.
    All the sourcing emails will contain the Internal URL (sourcing server) in the mail content for the documents. So user will be not able to access the mail outside.
    I want to give external URL in the URL link present in the email content for document.
    >How can I achieve this?
    >How can i map the internal-external URL so user can access the sourcing email and will be able to open the sourcing documents?
    >In the standard email template, is there need to make changes for URL?
    Please share your view.
    Deepak!!!

    Hi Deepka,
    First of all correct my understanding on your question, U want to have external (outside) URL in the internal sourcing mails sent??
    PLease find the below details in case of mail changes;
    1) first of all you need to create a custom mail template for this and follow step2
    2) if you want to give some out side URL in the standard conent, you need to maintain the URL itself.
    3) FInally associate it with the mail configuration.
    Hope this helps, correct my understanding if you are looking for some other enhancements,.
    Thanks
    Jagamohan

  • URL Link In Gnome Desktop

    Hello,
    If I drag an URL from the Firefox address bar to my personal desktop in Gnome an icon is created and I can latter access that site by clicking on it. But when I do that the browser that opens the page is Epiphany rather than Firefox as I expected to be.
    How can I change this behavior for the link being open with my favorite browser (in System/Preferences/Preferred Applications I have Firefox set as my default browser)?
    Thanks in advance for your help.

    Hi,
    I think that you need to do the possible development in the ECC backend system - not in Portal/UWL - since as far as I understood from your message, your workflow is in ECC.
    You could take a look into this recent thread:
    Empty URL Link with SAP_WAPI_ATTACHMENT_ADD
    I don't know if it will work in UWL. You could easily test it by adding and URL attachment to a work item in backend (in business workplace) and then see how it looks in UWL and does it work. If it works, you can find a solution in the above mentioned thread or perhaps you can ask further questions from the author of the thread.
    Regards,
    Karri

  • URL link to open transaction in NWBC Desktop client

    Hi!
    I am trying to create an URL link to open a transaction in a role that I am using.
    The webpage is shown in a web-chip as a part of FPM page inthe NWBC desktop client.
    I have tried this type of concept: https://serverXX:8000/sap/bc/nwbc/~canvas/roleEntry/MyROLE:56/
    The problem is that this opens the transaction in the HTML version of NWBC (inside NWBC desktop client).
    However, I would do not want to use the HTML based version of the transaction. I want to use nativ abap transaction inside NWBC Desktop client.
    I am able to open the transaction with a link from a webbrowser with this type of link:
    sap-nwbc://https://serverXX:8000/sap/bc/nwbc/~canvas/roleEntry/MyROLE:56/
    This link does not open at all from within NWBC....
    How do I achieve opening a transaction via URL from inside the NWBC Desktop client?

    Hi Stefan,
    Same issue i have as well.
    My Understanding is, in NWBC desktop, if you open a non sap (eg: html) page, NWBC becomes an IE Browser.
    That means you are now out of SAP for that tab (with html page) and whenever you try to launch any SAP transaction (using the method from HTML) it will launch in a new window and ask for Login.
    May be Experts like Samuli Kaski & Melinda Ludanyi can put some light on it.
    But, I have one more solution for this which is partially working in my case. May be helpful in you case as well.
    Issue: From some SAP transaction in NWBC (say tab A), you are launching the html page (say tab B) and then want to launch another SAP transaction (Say tab C) from html.
    Solution: Embed the HTML in SAP using HTML Viewer class and launch SAP custom transaction using the interface IF_LSAPI. It will launch it in new tab as a sap transaction with your html page.
    Now if you want to launch the SAP transaction from your html page (Which is embedded in SAP custom transaction) you can use HTML Viewer class Events and you can pass parameters as well. Re use the same interface IF_LSAPI and launch it in new tab
    In my case i am facing problems as the web developer has so many things on java script and they are not working properly. He is working on it and i am hoping it will be fine.
    Regards,
    Nik

  • URL link in send e-mail pl/sql procedure

    I have a send e-mail procedure. I am trying to enclose in the body of the message a URL link with parameters from a form, but it is only taking part of it.
    for example http://my.link&pid='||pid||'&uid'||uid
    it only takes http://my.link
    What is the way to do it successfuly?
    Thanks,

    Thanks for your replies. I still did not get it to work. For example if I stick to your solution with :
    urlname := 'my.link?pid='||pid||'&uid='||uid;
    where should I stick the try this?
    I am using a variable called message.
    'message: ' 'click on the following link' ||CRLF || urlname
    This is is not working. Any clues? Thanks a lot. Jeanne

  • URL link in rows/colomns of a report web application designer.

    Hi,
    I would like to create a URL link in a report which jumps to documents on livelink.
    For example:
    1.  bw    30.000    www. google.nl
    2.  sap   40.000    www. sap.com
    3. basis  50.000   www. nu.nl
    etc.
    etc.
    Do all the rows have different URLS, is that possible in the web application designer? Or do I have to use RRI? Or a user exit?
    Thanks for your help en replies.
    Rishma.
    Edited by: R. Debi on Oct 7, 2010 11:20 AM

    I used the RRI already but would like to have a hyperlink in the report. (So, the prefix of the URL is always the same an I have put this in RRI and used the & and contract ID as dynamic part of the URL.)
    In a BW web report, our customer would like to display a characteristic value as a hyperlink, so that when clicking on the link, the user is taken to an external website holding a document.  SO I am just looking for a javascript perhaps? Or maybe even abap in transformation? To actually create the hyperlink in this report.
    Thanks a lot,
    Rishma

  • URL link in Reader won't open unless a browser is already open

    I have an issue on a Windows 7 PC using IE8 and Adobe Reader 9.3. While viewing a PDF file in Reader, and clicking on a URL link in the PDF, nothing happens unless a browser window is already open. It doesn't matter if the browser is Firefox or IE8, although IE is the default browser. When no browser is running, nothing occurs, not even an error or Enhanced Security message. I've verified that the "Create links from URLS" is selected.
    Any ideas?
    Thanks In Advance

    Possible workaround...
    1. Create a local iPhoto Library - to do this open iPhoto while holding down the Option key. Give it a unique name and save it somewhere.
    2. When you are not connected to your home network, open iPhoto with the Option key held down, and select your new local Library. Then open iMovie.
    iPhoto remembers the last Library open, so as you move in and out of your home network you will need to change the iPhoto Library (following step 2 above) based on your location.
    hope this helps,
    -mike

  • Open a URL link in the same window as SWF file in indesign CS5

    Hello,
    I am trying to create a SWF file using indesign CS5.  I have created buttons and placed in URL links but they always open another window.  I would like to know if there is a way to have the URL open in the same window that the SWF file has been created.  I tried, putting "_self" to target it in the URL bar, but nothing works.
    Thanks in advance
    TK

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

Maybe you are looking for