Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I link a flash banner to a URL

Status
Not open for further replies.

ShawnsWorld

Technical User
Jan 27, 2003
4
US
I have a flash banner I made ......how dio I make the banner a link to the site I biult it for .......can anyone help?????
 
Invisible button over it. With a getURL!

Invisible button: A button that only has a filled rectangle set in the "Hit" state. All other states clear. Size of the banner. Then:

on (release){
getURL(" "_blank");
}

"_self" rather than "_blank", if you want it to open in the same browser window as the banner. Regards,

oldman3.gif
 
I am not that advanced with flash......where do i find this invisible button?,.....i turned my banner into an intro movie....how do I create a link on the enter button I added.
I really need step by step instructions, please.

All help is greatly appreciated....thanks
 
If you've converted your banner and added a button, then simply right-click the button and select Actions.

Insert the following script:
Code:
on (release){
   getURL("[URL unfurl="true"]http://www.yoursite.com/index.html",[/URL] "_blank");
}
Regards,

oldman3.gif
 
You have to create the invisible button yourself.
1) Go to Insert, then New Symbol
2) Select Button, and give it a name
3) The button creation window opens
4) The window will have 4 frames already labeled
Up Over Down Hit
5) These represent the states of the button with respect to the mouse.
6) oldnewbie is telling you to create a keyframe in the "HIT" state of the button. To create a keyframe right click your mouse while it is over the "HIT" Frame, and select "Insert Keyframe".
7) Now you need to draw a rectangle on the screen the size of your banner. You can make it any color you want.
8) After drawing a rectangle select it with your mouse, then go to the "MIXER" pallete which will be right next to the "SWATCHES" pallette.
9) Select "ALPHA" from the mixer pallette, and give it an alpha value of "0".
10) Now go back to your main movie and open the library.
11) Drag out the button which you just created and put it over your banner.
12) Now right click the invisible button and select "ACTIONS", and give it the actions oldnewbie showed you.
 
If you only put the rectangle in the "hit" state, no need to alpha it to 0%. The hit state is not visible in the published movie, even at 100%! Regards,

oldman3.gif
 
ok guys, first I thank you...everything went as planned,..except after I right click the invisible button and select "ACTIONS", and give it the actions oldnewbie showed me. Do I need to hit apply or something to make the button work?.....after giving it the action and url...I saved my movie.....exported it to desktop, played my movie and no link on my button?......I am so close.......ugh!
 
Can you post your .fla? Or provide a link to download it from your site where you would have to upload it of course. Regards,

oldman3.gif
 
Mail away but zip it up if you can. E-mail-> hit my handle! Regards,

oldman3.gif
 
Ok guys im at the point where i have the script entered and the button is all done, but when i publish it, and click it, nothing happens
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top