-
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
-
Titleless
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.
-
Senior Member
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
-
"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...
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|