A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: banner

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Posts
    2

    banner

    i want to add a href to my banner from outside. how can i do that.i found that code from one source on the net..

    <EMBED SRC="http://www.lallaa.com/banner/M.swf?clickTAG=http://www.shallalla.net" WIDTH="120" HEIGHT="60" PLAY="true" LOOP="true" QUALITY="high" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

    can anyone tell me how it's done.. i mean the "?clickTAG=" part

  2. #2
    The only way I am aware of this being doen is by actually creating a transparent button within the flash movie itself, pointing that to your URL. You may also be able to do it with JS, but I don't know JS so I am not sure.
    John Starkey: So what if I have had sexual relations with Saddam.

    Looking for a webhost, paid, free, or dedicated? Check out this thread, to get my reviews.

  3. #3
    Senior Member MG315's Avatar
    Join Date
    Nov 2002
    Location
    Houston, TX
    Posts
    526
    ya i think the only way to do it is to do it in flash. a friend made me a flash thing for my site and i wanted it linked somewhere. i couldnt find any way to get it to link there and then i asked him and he did it in flash. so i think the only way to do it is in flash
    Bill Erickson: resume | portfolio
    1 | 2 | 3 | 4
    Great Designs for $100

  4. #4
    Junior Member
    Join Date
    Nov 2002
    Posts
    2
    "by actually creating a transparent button within the flash movie itself, pointing that to your URL" - how can i do that.. the problem is that the link is held in a mysql database. and may be different from time to time.. so how can i make the target listen to ?clickTAG...

  5. #5
    Junior Member
    Join Date
    Nov 2000
    Posts
    12
    Just add this to your button:


    ===================
    on (release) {
    if (clickTAG.substr(0,5) == "http:") {
    getURL(clickTAG);
    }
    }

    ===================


    Then the code you have above should work. Anytime you cahnge the URL in the EMBED SRC area, it should go to that location.

    Hope this 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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center