Leosquarez – Website Design and Development

Website Design and Development

Add a link in your flash banner or files:

  • Convert your object in a button
  • Go to the action script editor
  • paste the code
    on (release) {
    getURL(”your-link”,”your-target”,”GET”);
    }

on your-link you can add a full path like:

http://www.leosquarez.com/leosquarez-service/

or a simple:

/leosquarez-service/

if you are in the same domain.

on your-target you can specify:

  • “_self” – Targets the window that the movie is in (MORE COMMON)
  • “_new” – Opens url in a new window
  • “_top” – Only useful in a framset, targets the top frameset
  • “_parent” – Targets parent window in a framset

So a examples could be:

on (release) {
getURL(”my-page.php”,”_self”,”GET”);
}

Popularity: 2% [?]

Posted by leosquarez On October - 29 - 2009 Flash Web Development

2 Responses to “Add a link on flash file or banner”

  1. Kian Thorpe says:

    I usually agree with your article content, but in this case I am sorry to say that I do not share your views….

  2. leosquarez says:

    Maybe this is not the best way to add a link on flash but it is one of them…
    If you want post a better one I’ll publish and I allow you to add a link to your website.. good deal??

Leave a Reply

Subscribe here

VIDEO

TAG CLOUD