Skip to main content
Participant
January 9, 2009
Answered

Making the whole movie a link?

  • January 9, 2009
  • 1 reply
  • 482 views
I'm new to AS3 and I was wondering if there's a way to make the whole movie a link to another page.

I'm creating an advertising banner and I'd like to redirect people to another website whenever they click on the banner (anywhere).

Can it be done?

Thanks in advance.
This topic has been closed for replies.
Correct answer lelias2k
OK, I've made some progress.

I made it work when I'm previewing the swf.

Now the problem is that when I upload into the html page, the movie recogniizes the button, but it does follow the link...

Do I have to add anything in the HTML?

Never mind. I got it to work. Thanks!

1 reply

Damon Edwards
Inspiring
January 9, 2009
create an invisible button and place it on the top most layer.
lelias2kAuthor
Participant
January 9, 2009
I tried that, but it seems that flash doesn't recognize the button.

Do I have to create a regular button and use the alpha on 0% or create a button with no fill?
lelias2kAuthor
Participant
January 9, 2009
OK, I've made some progress.

I made it work when I'm previewing the swf.

Now the problem is that when I upload into the html page, the movie recogniizes the button, but it does follow the link...

Do I have to add anything in the HTML?