A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Clickable Banner

  1. #1
    Senior Member
    Join Date
    Aug 2000
    Posts
    343
    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

  2. #2
    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.

  3. #3
    Wizard of preloaders
    Great master of web searches

    Join Date
    Sep 2000
    Posts
    687
    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...

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    40
    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.

  5. #5
    Senior Member
    Join Date
    Jun 2001
    Posts
    267
    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.

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    40

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center