Flash Tutorials
& Resources
Dreamweaver
Tutorials
Fireworks Tutorials
& Resources
Photoshop
Tutorials
Web Design
Tutorials & Resources
CSS
Tutorials
CorelDraw
Tutorials
You are here : : Home > Free Resources > Flash Tutorials & Resources > External Links   

Linking to External Files, Websites and Emails in Flash

Learn how to link to web pages, external websites, frames and email addresses in Flash using text links or buttons using the GetURL function in actionscript.

Please Note : The tutorial is explained using Flash 8.0.

There are different ways that you can link to websites and emails in Flash

  1. Text Links

    The first way is very simple. You can link to a website via a simple text link.
    Type in the text using the A tool and in the properties inspector you can enter the full http path of the website or you can enter a web page name if you want to link to a page within the same folder. You can also set the target as _blank if you want the website to open in a new browser window (as seen below).



    To link to an email address, all you need to do is enter mailto: followed by the email address (See below)




    You can also link to content in a frame, by specifying the html file and frame name (See below).



    You can also link to an image or a pdf file by entering the file name and specifying "_blank" to open the file in a new browser window.


  2. Button Links

    You can also link to websites, web pages and emails from buttons using the GetURL function in actionscript.
    All you need to do is choose the button and in the actionscript panel, enter the following script :

    on (release)
    {
    getURL("http://www.entheosweb.com", "_blank");
    }

    button link

    You can link to an email address the same way, prefixing it with mailto: (see below).



    You can also 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 example given below.



    You can also link to an image or a pdf file by entering the name of the image or pdf file and opening it in a new browser window by specifying "_blank".



Now building a website is as easy as 1-2-3!

Please Like, Tweet, Share or Comment on this page if you found this tutorial/resource useful!

Join us on Facebook to keep updated with all the latest tutorials and web design freebies from EntheosWeb!

No portion of these materials may be reproduced in any manner whatsoever, without the express written consent of Entheos. Any unauthorized use, sharing, reproduction or distribution of these materials by any means, electronic, mechanical, or otherwise is strictly prohibited.


Flash Website Templates

EntheosWeb Design Blog

Flash Photo Galleries

New Flash CS5 Tutorials

Page Roll Transition Effect

Outline Animation Effect in Flash

Creating a Rotating 3D Planet in Flash

Striped Transition Effect Tutorial in Flash

Burning Image Effect in Flash

Realistic Rippling Water Animation in Flash

New Flash Resources

Best 3D & Carousel Flash & XML Photo Galleries

Best Flash Animated Backgrounds

Best Flash Photo Gallery Website Templates

Best Heart Flash Animations

Featured Template
Template Number: 32408
Type: Joomla 1.5 Template
Price: $64