Flash how to link

March 27, 2010

How To

Step 1

  • Text links, this step is very easy, we can add text link to a website via a simple text link.
  • Type in a text using the  A Tool and in the properties inspector you can add the full http patch or the website, or you can add a web page name if you want to link to a page within the same folder . You can set also the target as _blank if you want the website to open in a new browser window see fig 1.

Fig 1

  • To link to an email address  you need to enter mailto:name@domain.com see fig 2.

Fig 2.

  • To link content to a frame you need to specify the html file and frame name see fig 3.

Fig 3

  • To link to an image or pdf file you need to enter the file name and  specify “_blank“  to open the file in a new browser window.

Step 2

  • We can link to website , web page and emails from buttons using GetURL function in actionscript.
  • Cho0se the button and in the actionscript panel enter the following script:  see fig 4.

Fig 4

  • To link to an email address in the same way, prefixing it with mailto: see fig 5

Fig 5

  • If you want link to particular frame by giving the content.html file and frame name. Flash will open the content file in the frame name you specify, see fig 6.

Fig 6

  • To link to an image or pdf file you need to enter the file name and  specify “_blank“  to open the file in a new browser window, see fig 7

, , , , , , , ,

Subscribe

Subscribe to our e-mail newsletter to receive updates.

5 Responses to “Flash how to link”

  1. Sandra Says:

    Would you know what code to use in ActionSCript3 to link a button to an html file on a local drive, not a URL?

    Thanks for yor reply!

    Sandra

  2. sfsf Says:

    Would you know what code to use in ActionSCript3 to link a button to an html file on a local drive, not a URL?

    Thanks for yor reply!

  3. Layne Chin Says:

    I’m not competent enough in Flash to use a component, so this kind of product is ideal. All I ask is that, once I’ve paid for it (and price isn’t a problem, within reason) I can create what I want. Extensive Google searching has drawn a blank, but maybe I’m using the wrong terms.In addition, both aXmag.com and Issuu.com are good choice.

  4. Charlie Sheen Says:

    I very glad to find this site on bing, just what I was searching for : D also bookmarked .

  5. shadi Says:

    how can I link a text in my fla file to a html file in my local drive?

Leave a Reply