A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: How do I link a banner to a website?

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    23

    How do I link a banner to a website?

    I created this flash banner:
    http://www.geocities.com/imagocreati...er/Banner.html

    Now I need to link it to the website but I don't know how to do that. Last time I made a banner the person wanted a ClickTag from Google so I added the transparent box over the banner and copied the code that Google provided but this time it seems that all the person needs is a direct link to their website..

    Thanks!

  2. #2
    -_-
    Join Date
    Oct 2005
    Location
    US
    Posts
    1,694
    Make it a button, go to window>behaviours click the little + click web, and click gotoURL or something like that. Type it in, and you are good.

  3. #3
    Junior Member
    Join Date
    May 2007
    Posts
    23
    I can't find the behaviors window


  4. #4
    Member
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    32
    i'm not sure wether i understood you right, but if you want the whole swf to be the link then try <a href="http://url of your page" target="_blank"> here you have to embed your swf</a> in the html-editor in which you add the swf to the page.
    Remember: Cool is only three letters away from fool!

  5. #5
    Junior Member
    Join Date
    May 2007
    Posts
    2

    Would this apply to myspace?

    Im trying to put some swf files onto my myspace page, would the same code work?


    Thanks in advance.


    JaMbobAlOObaH

  6. #6
    Member
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    32
    i think it will work if you may use html-tags on your page
    Remember: Cool is only three letters away from fool!

  7. #7
    -_-
    Join Date
    Oct 2005
    Location
    US
    Posts
    1,694
    Hmm. Thats weird. I'm using mx2004, so it may be different.

    Try adding this code to the button:
    Code:
    on (release) {
    
    	//Goto Webpage Behavior
    	getURL("http://www.enteryourpage.com","_self");
    	//End Behavior
    
    }

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