Flash banner advert with html link

本小妞迷上赌 提交于 2020-01-06 06:57:08

问题


I'm working on a website which has advert banners which link to external pages.

I've recently added the ability to have flash banners, but am stuck on how to make the banners link without editing the flash file.

The idea is that clients wanting to advertise on the site send a flash advert which is then linked to their site through the CMS, however unless the client embeds the link into the flash file, or add a flashvar parameter which can then pull in the info from the database, the flash banner doesn't link as it's seems not to link being surrounded by an <a> tag.

This is probably a well known thing, but this is my first time doing flash adverts, so I'm coming to it from a completely novice position.

What's the best solution? Is this something than anyone creating a flash advert would know about and instinctively do or will it need to be instructed to the client before hand, or is there a way to get it to be a link through html?

Cheer


回答1:


What you're looking for is called a clicktag. It's a script inside the flashfile that looks for an address as a GET parameter to the flash file and adds a link to this address. See here for a tutorial on how to implement a clicktag in flash.

This is something anyone who makes flash adverts is used to.



来源:https://stackoverflow.com/questions/1660996/flash-banner-advert-with-html-link

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!