Link to home
Start Free TrialLog in
Avatar of casinnola
casinnola

asked on

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

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.

ASKER CERTIFIED SOLUTION
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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:.

import flash.net.navigateToURL;
var link1:URLRequest = new URLRequest("www.mpphotographic.co.uk/index.html");
modeling_sectionInstanceName.buttonMode = true;
modeling_sectionInstanceName.addEventListener(MouseEvent.CLICK, gotoLink);
function gotoLink(event:MouseEvent):void {
      navigateToURL(www.mpphotographic.co.uk/index.html, "_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!
Did you solve the issue???

CyanBlue
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...