3 Replies Latest reply on Nov 22, 2010 2:31 PM by Ned Murphy

    Altering the link in a Flash file so it doesn't open in a new tab

    LeaBlack_99

      Hello everyone. I have a flash file on the homepage of my client's  website. When you click "Enter", the new page opens in a new tab. I want  it all to stay in the same tab. If you would like to view the entire  code yourself to identify how I could solve this issue, the site is:  www.amycarriermodel.com - but if not then I will paste the code of the  flash object below:

       

       <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720" height="540">
        <param name="movie" value="Scripts/FrontPage2.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
      
      
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="Scripts/FrontPage2.swf" width="720" height="540">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
      
      
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
      
      
        <!--<![endif]-->
      </object></center>
      
      
      

       

      Any help is greatly appreciated! Thank you

        • 1. Re: Altering the link in a Flash file so it doesn't open in a new tab
          Ned Murphy Adobe Community Professional & MVP

          What is the code for the Enter button you mention?

          • 2. Re: Altering the link in a Flash file so it doesn't open in a new tab
            LeaBlack_99 Level 1

            That's the thing that I've been trying to find too. The link on the "enter" button is part of the flash file itself too, because it was created on a Slideshow program I have. It just gives the option to add a URL link to text. But like you hinted at, I cant see where in the code of the Flash file the hyperlink is.

             

            I DID try creating the same slideshow without adding the URL in, and instead adding a transparent .png image on Dreamweaver so its DW that links the page, but apparently although it worked on all of my browsers, for other people it wasnt working. So that's why I reverted to addying the hyperlink in the slideshow program itself.

             

            Any suggestions? Thanks for your time.

            • 3. Re: Altering the link in a Flash file so it doesn't open in a new tab
              Ned Murphy Adobe Community Professional & MVP

              You need to be able to adjust the button's code in the Flash file to specify that it opens in the same window (would use "_self" as the window argument).

               

              If youur slideshow program does not provide for adding that argument, and if you have no fla file for the swf you created, then your only hope might be to buy a decompiler program and see if you can create an fla file from your swf with it.

               

              Other than that, create your own slideshow using Flash and you'll have no problem setting that button up... but that's probably easier said than done if you have no Flash experience.