-
Hello
I created a typical banner. I want to make it clickable so that when a user clicks on it, it takes them to a http://www.address.com
How can I go about doing this?
Do I have to create the whole banner as a button?
or is there a much more easier way?
thanks
Losse
-
Make your banner as you would and add a leyer on top of all your other layers. Create a white no-line square over it and select the square. Open the Mixer panel and put the alpha to 0%. Convert the transparent block into a button which does whatever you want.
-
it depends on how you made your banner: for example, in swish i put a frame at the end of the animations, and using text i use space bar 'til i cover all the scene, and add get url action to the text, on rollover or release.
i'd do the same in flash, maybe with an invisible button covering all the scene...
-
What action do you use to make the button activate when the user clicks? I used the getURL on mine, but it activates when the mouse is rolled over the banner as opposed to clicked.
-
use
on(release){
then put your get URL statement here
}
Also, the first suggestion is a bad way to make an invisible button. The best way is to make an new button symbol. Add a square to the hit frame. Make sure there is nothing in the other frames. When you place it on your movie you will see a Cyan square, however that square WILL NOT show up in the final product. It is just there for positioning and size. Now you can use the info panel to resize the instance of the invisible button to your movie size, and put it at 0,0.
-
Got it, thanks
pea3698 explained how to do the invisible button the same way as you, so that's how I did mine, it works great.