Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    478
    Thanks
    3
    Thanked 0 Times in 0 Posts

    on click anywhere within flash takes visitor to URL

    i have tried to add an action to a background but this did not work it just opens the URL on load of the flash movie.

    how do i get it to open only if clicked on the flash movie.

  • #2
    New Coder
    Join Date
    Oct 2009
    Posts
    23
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hello,

    You will have to modify this within your Flash creator software. Open your file with whatever software you used to create your project and add the link here. Then re-save your file and now the link should work. Other wise, you are going to have to add a link to the .swf file.

    Hope this helps!!!
    CoffeeCup.com

  • #3
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    I am assuming your using flash and AS2.
    Create a button that fills your stage are.
    Give it an instance name "butLink"
    then on the key frame where the button is put the code below. Replace "theURL" with your url.


    butLink.onRelease =function(){
    getURL("http://www.theURL.com", "_blank")
    }


    hope it helps


  •  

    Posting Permissions

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