Open swf in new windows at specific points on the timeline

Let me start by saying that I am a newbie to Flash. I have created a Flash site and I want to create links that would open a SWF in a new window at specific points on its' the timeline. How can I do this?

It depends what version of actionscript you're using, but if you are familiar with linking to  other pages using buttons, you use the same linking code, getURL (AS2) or navigateToURL (AS3), and specify "_blank" as the window parameter in the arguments for whichever you use.  So if you are using AS2, then in your timeline where you want a new window to open you would have....
getURL("yourfile.html", "_blank");

Similar Messages

  • Open swf in new window from parent swf

    I'm making a gallery for some flash banners that I had
    created in AS3. When I click on a "launch" button, I wanted the
    flash banner swf to open in a new window separate from the parent
    swf (the gallery). I also wanted the parent swf to remain open.
    Is this possible and what would the code look like for
    something like this?

    ok, I should've also mentioned this, the flash gallery I'm
    making is not for the web, it's more for just opening in a flash
    player. So I don't really want it to open in a new browser window,
    but rather a new swf window, if there is such a thing.

  • How can I NOT have pages open in a new window or tab,I lie the old way

    I would like to disable firefox fro opening pages in a new window or tab I like the old method better.
    How can I do this.

    Partly because of my original question, It seems every time I update there is something els I don't like

  • Clicking "open image in new window" on a jpeg downloads the image

    If I click on "open image in new window" or paste an image address directly in as the url, Safari sometimes downloads that image and sometimes displays the image directly in the browser.
    Why? I'd like to always have it display directly in the browser.
    eg:
    1) this image is displayed in the browser
    http://images.apple.com/home/2008/images/promoleopard20080108.jpg
    2) this image is downloaded
    http://image.wink.com/i/d60210c3_d2lua19wcm9maWxlOmRjODM3YjIxN2E2NDVkMjQ2MDAyYmRjY2JlODIxZGIy_96f96ffffff00.jpg

    Hi,
    At a total guess, the webserver at image.wink.com is incorrectly identifying the images as something other than an image file. If they claim it's a binary file for example, then Safari will treat it like any other file you would normally wish to download.

  • Loading an animation at a specific point in the timeline?

    Hello,
    I am trying to find out if it is possible to start/load the animation based on a specific point in its timeline? The animation I am creating is a parallax animation based on mouse position and I am trying to load it in the middle of the animation and based on the users mouse position will play forward or backwards from that point. Is this doable?
    Thank you

    Hi, Bullvinne Designs-
    What you'll want to do is to stick some initialization code into the compositionReady event from the stage.  This will execute after the runtime loads and before the user sees the stage.
    Thanks,
    -Elaine

  • Load and open swf in new window

    Hi everyone,
    I have 2 flex applications named login and game. When the user logged in, I want the login swf to load the game swf and open it in a new window once it finished loading. I tried popup manager and title window but they only made the swf popped up INSIDE the app itself (which is the login swf). What I really want is to be able to load and open the game swf in a brand new popup window.
    Please help. Thanks.

    Loggin in is a classic example of when to use states.
    The base state will be your app, and the "login" state will be your login state. Set the application currentState to 'login' in the creationComplete event.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      creationComplete="this.currentState='login'">
      <mx:states>
        <mx:State name="login">
          <mx:RemoveChild target="{vb}"/>
          <mx:AddChild>
            <mx:Form>
              <mx:FormHeading label="Login"/>
              <mx:FormItem label="Username:">
                <mx:TextInput/>
              </mx:FormItem>
              <mx:FormItem label="Password:">
                <mx:TextInput displayAsPassword="true"/>
              </mx:FormItem>
              <mx:FormItem>
                <mx:Button label="Login" click="this.currentState=''"/>
              </mx:FormItem>
            </mx:Form>
          </mx:AddChild>
        </mx:State>
      </mx:states>
      <mx:VBox id="vb" width="100%" height="100%">
        <mx:Label text="Login Done - Now in Main App"/>   
      </mx:VBox>
    </mx:Application>

  • Can I zoom in on a specific point on the timeline

    There must be a way for me to zoom in on the timeline without losing my place everytime while doing so.
    Is there a button I can press while zooming in that will keep the scrubbing point within my view of the timeline.
    I really hope that made sense...
              Patrick

    patrickmbarker wrote:
    what is the CTI?
    Playhead.
    CTI is what they used to call it: current time indicator.
    If you hold alt and scroll with the mouse it will zoom in on the playhead.

  • I keep getting this message, what do I do? "Firefox is already running. To open to a new window, you must first close the Firefox process or restart your system. I have done this at least 10x times.plus reinstall and reboot the system.

    I was having a compatability issue with another entities website and platform. I was asked to upload my informaiton with Mozilla Firefox. I used this digital platform before employing Internet Explorer to complete my master's program. I am able to install the program, the link picture is on my mainpage, but I am not able to launch it.

    Firefox is already running but is not responding
    https://support.mozilla.com/en-US/kb/Firefox%20is%20already%20running%20but%20is%20not%20responding?s=firefox+is+already+running&as=s
    Check and tell if its working.

  • How to start from a specific point on the timeline

    I have a horizontal list of image thumbnails, there are 21 thumbnails and only 7 are visible at one time and scrolls back and forth. It works fine.
    However, when I choose an image that is not in the first seven, say the 8th image, the page loads and the thumbnails goes back to the beginning images (undesirable). When the 8th image page is shown I would like the thumbnails to start at the eigth image, NOT from the beginning again.
    I had the animation positioned to the eight image for the start, with the first 7 off to the left and the second 7 off to the right. But when I saved and loaded it into the page, it just starts from the begining.
    How can I start the thumbnails from a specific desired position, such as the 8th image or the 15th image depending on the page?
    Thank you for any help.
    Anthony

    Hi Anthony,
    Thank you for your post.
    It would be better if you share any link or actual composition with us.
    Regards,
    Devendra

  • Open Link in New Window fails

    It seems after a while, now Firefox 4.0.1 has a issue with the "Open Link In New Window" option fails to load the web page. It opens the new window, but does not load the web page that you click on. Instead it opens a new window with a blank tab.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Opening PDF in new window

    Hi all
    We want to generate a pdf at runtime in new window on click of a button suppose 'Show PDF'. We have written following code using MVC module.
    In HANDLE_EVENT for the button we are calling a controller method say 'Preview_PDF' which is generating a pdf and it opens in a new window too.
    But at the same time we are getting blank screen or view from where the event is triggered. I want the parent view should remain undisturbed and pdf should open in new window. Please advice where am I going wrong.
    Code written is as follows
    this is a controller method
    method PREVIEW_OFFER_LETTER.
    DATA: cparam TYPE ssfctrlop,
          outop TYPE ssfcompop,
          fm_name TYPE rs38l_fnam,
          my_tabix TYPE sy-tabix,
          file_size TYPE i,
          bin_filesize TYPE i,
          l_pdf_xstring  type xstring,
          lt_lines       type table of tline,
          ls_line        type tline,
          l_pdf_len      type i,
          tab_otf_data TYPE ssfcrescl,
          tab_otf_final TYPE TABLE OF itcoo .
      outop-tdprinter = 'PDF1'.
      cparam-no_dialog  = 'X' .
      cparam-preview = space.
      cparam-getotf = 'X'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname = 'ZHRERF_OFFER'
    VARIANT = ' '
    DIRECT_CALL = ' '
      IMPORTING
      fm_name = fm_name
    EXCEPTIONS
      no_form = 1
      no_function_module = 2
      OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
      control_parameters = cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
      output_options = outop
      user_settings = space
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
      job_output_info = tab_otf_data
    JOB_OUTPUT_OPTIONS =
    *TABLES
    *it_tab = itab[]
    EXCEPTIONS
      formatting_error = 1
      internal_error = 2
      send_error = 3
      user_canceled = 4
      OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *********appending the otf data into the final table*********************
    tab_otf_final[] = tab_otf_data-otfdata[].
    converting OTF data into pdf data**************************
    data : it_OTF type table of ITCOO.
    it_OTF[] = tab_otf_final[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
       FORMAT                      = 'PDF'
      MAX_LINEWIDTH               = 132
      ARCHIVE_INDEX               = ' '
      COPYNUMBER                  = 0
      ASCII_BIDI_VIS2LOG          = ' '
      PDF_DELETE_OTFTAB           = ' '
    IMPORTING
       BIN_FILESIZE                = l_pdf_len
       BIN_FILE                    = l_pdf_xstring
      TABLES
        OTF                         = it_OTF
        LINES                       = lt_lines
    EXCEPTIONS
       ERR_MAX_LINEWIDTH           = 1
       ERR_FORMAT                  = 2
       ERR_CONV_NOT_POSSIBLE       = 3
       ERR_BAD_OTF                 = 4
       OTHERS                      = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      l_pdf_len = xstrlen( l_pdf_xstring ).
      data: cached_response type ref to if_http_response.
      create object cached_response type cl_http_response exporting add_c_msg = 1.
      response->set_data( data   = l_pdf_xstring
                            length = l_pdf_len ).
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                  value = 'application/pdf' ).
      cached_response->set_status( code = 200 reason = 'OK' ).
      cached_response->server_cache_expire_rel( expires_rel = 10 ).
      data: guid type guid_32,
            display_url TYPE STRING,
            value type string,
            extension type string.
            extension = 'pdf'.
      concatenate 'attachment; filename='
                        runtime->application_name
                        extension
                        into value.
      cached_response->set_header_field( name  = 'Content-Disposition'
                                  value = value ).
      CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
      CONCATENATE runtime->application_url '/' guid '.pdf' INTO display_url.
      cl_http_server=>server_cache_upload( url      = display_url
                                             response =    cached_response ).
      NAVIGATION->RESPONSE_COMPLETE( ).
    endmethod.
    Please advice

    Capture the generated url for the PDF document into a variable w_url and then use the client click event of the button SHOW PDF to open it in a separate window.
    something like this
    <htmlb:button id="btn1" onClientClick="window.open(w_url)"
    this should open your pdf in a new window.
    hope this helps.
    Cheers

  • Unable to upload files using firefox, be it dropbox, gmail or any other websites where we need to attach files. It does not open up a new window to choose file.

    all of a sudden im unable to attach files in any of the websites. Im using firefox version 30 and when I click to attach file it does not open up a new window where we can choose the file from my computer. It happens almost in all websites that I use (gmail, dropbox, other websites).
    This was not the case before, seem some problem with firefox.. can somebody fix this at the earliest. thanks

    hello Balaatmozilla,
    please check if this problem appears as well when you try to download a file, does this happen again when you try to download a file?
    if so there must be a problem with your HDD controler, to solve this issue follow th steps:
    1.Right Click on My Computer, Select Properties
    2.Click on Device Manager in Top Left corner
    3.expand the IDA/ATI/ATAPI controllers
    4.right click on the one which is related to your HDD
    5.click on Uninstall
    6.Restart
    when you restart your windows the OS will try to install the drivers again, if this happens then restart again and check if the problem is solved, if no try to install the HDD drivers and related drivers manually and then restart your machine

  • PDF to b opened in a new window or in a download frame

    when using hyperlink in iweb pdf file is opening in the same window. how can i make so the file is opening either in a new window or in a "save as" frame?

    If you upload the pdf file to the server manually and then link to it via the Inspector/Hyperlink pane with the Link to option An External Page (with the checkbox to open in a new window selected) you can have the pdf file open in a new window where it can be viewed or downloaded.
    Click to view full size
    This demo page has an example of that: LinkTestPage . Look for the text box with the following text: This text box is linked to view/download a pdf file". Click on it to view. In the view window there is a download button (second from left).
    OT

  • Open link in new window/tab

    Hello, is there anyone that can tell me how you can make a link to a webpage outside your wiki that opens in a new window or tab, so that the wiki stays open.
    thanks in advance...

    I am having the opposite issue. I am wanting all internal and external links to open within the same tab and window. It seems by default that all links that we add are opening externally.

  • Spry Gallery - how to get large image to open in a new window?

    Hey guys,
    I'm building a new website and decided to use Spry for the Gallery section. It works like a charm but I want to get the larger version of the image to open in a new window when someone clicks on the normal image? It shouldn't be that difficult but I'm lost. Can anyone help?
    I believe I have to put a <a href> infront of the image something like this:
    <div id="picture">
            <div id="mainImageOutline" style="width: 0px; height: 0px;"><a href="?????" target="_blank" id="??????"><img id="mainImage" alt="main image" src=""/></a></div>
      </div>
    and something to the XML file...
    <photo
    path = "1.jpg"
    width = "300"
    height = "400"
    thumbpath = "1.jpg"
    thumbwidth = "56"
    thumbheight = "75"
    large = "galleries/xyz/large/1.jpg"   <------- this is the large image I want to open in a new windows
    >
    </photo>
    thanks!!

    Actually, the site is for my friend and she really likes this Gallery: http://labs.adobe.com/technologies/spry/demos/gallery/index-air.html
    I just want to keep this one and just edit it, so when I click on the image it opens the large image...

Maybe you are looking for