How to make entire flash movie a clickable link? Flash CS3, AS 3.0

Posted on 2009-04-23
Last Modified: 2013-11-11
How do I make the whole movie a clickable link?

I'm pretty sure I put a layer beneath all other layers, put a rectangle on that layer, turn that rectangle into a button, and then put an action on that button, right?

But how? I'm a Flash n00b.

I already have a layer called "actions." It has a key frame in the last frame with a stop(); action.

Question by:casinnola
    LVL 37

    Accepted Solution

    LVL 6

    Assisted Solution

    Nope! Not beneath... Create a layer and place it on the top. Put a rectange which covers the stage. Turn it into a MovieClip. Give an instance name to it and change "Color" mode to Alpha with the value 0%.
    Now start coding:
    (If you want hand cursor you can add " yourMoveClipInstanceName.buttonMode = true; " to your code!)

    var link1:URLRequest = new URLRequest("yourLink.htm");
    yourMoveClipInstanceName.addEventListener(MouseEvent.CLICK, gotoLink);
    function gotoLink(event:MouseEvent):void {
    	navigateToURL(link1, "_blank");
    	//trace("I'm going to: "+link1.url);

    Open in new window


    Expert Comment

    Hi all
    I know a little about Flash CS3, but how to make a movie clickable evades me; I followed the above, altering to myneeds:.

    var link1:URLRequest = new URLRequest("");
    modeling_sectionInstanceName.buttonMode = true;
    modeling_sectionInstanceName.addEventListener(MouseEvent.CLICK, gotoLink);
    function gotoLink(event:MouseEvent):void {
          navigateToURL(, "_blank");
          //trace("I'm going to: "+link1.url);

    Doesn't work, the movie plays, but no hyperlink.  Have I copied literally and forgotten something simple?
    "modeling_section" is the name of my movie.
    Many thanks for any help!
    LVL 37

    Expert Comment

    Did you solve the issue???


    Expert Comment

    Hi CyanBlue, I *think* so, thanks, no-one responded in the time I was hoping (no big problem), but managed to find a way to do it, although trials haven't taken place on my website just yet.  If I get problems, I'll come back here...

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now