How to add hyperconnections to Flash files on webpages

Source: Internet
Author: User
When it comes to this problem, some people may say that it is not simple. Simply use the url method in flash's ActionScript to solve it. If our UI staff designs flash, however, the link corresponding to flash has not yet been determined or will be changed in the future. What should I do? What I need is to be able to modify the link corresponding to flash externally.
You just need to add the <a> </a> label to the external part of the object where flash is located to control it. Some people may think this way. The idea is correct, but it does not work. What should I do? Baidu first, haha. I really admire some people's brains. Here is a solution:
First, we must insert FLASH first. Because Flash is the highest level by default. Therefore,
I often see Flash blocking the drop-down menu.
Put the Flash file in a layer, set it to the bottom layer, and set FLASH to transparent.
<Div style = "z-index:-1"> <! -- 1. Set FLASH to the underlying layer -->
<Object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width = "200" height = "115">
<Param name = "movie" value = "media.swf">
<Param name = "quality" value = "high">
<Embed src = "media.swf" quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" type = "application/x-shockwave-flash" width = "200" height = "115"> </embed>
<Param name = "wmode" value = "transparent"> <! -- 2. You must set the FLASH to transparent -->
</Object> </div>
Next, add another layer on the FLASH layer,
Flash itself cannot directly add events such as onclick. So you can only use other things.
Add a transparent layer to FLASH,
<Div id = "huiLayer" style = "cursor: hand; position: absolute; left: 10px; top: 10px; width: 200px; height: 115px; z-index: 1; visibility: visible; "> <a href =" http://www.cnlk.com ">
</a> </div>
On the forum, some solutions are provided to add a transparent layer. However, if there is a transparent layer,
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.