Add a hyperlink to a Flash file. You just want to directly set a hyperlink outside the object. After trying it, you will find that this is not the case. Today, you need to add a hyperlink to a Flash file on the star candle network, I just wanted to directly set a hyperlink outside the object. After trying it, I found that this was not the case. I asked Baidu for help and solved the problem. The record is as follows:
Cause:Flash is the highest level by default. Therefore, I often encounter a situation where Flash blocks the drop-down menu and overwrites other elements.
Solution:
Step 1: perform the following steps:
1. Put the Flash file in a layer, set it to the bottom layer, and set FLASH to transparent.
The Code is as follows:
Codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
Width = "948" height = "93" id = "flashlogo">
Type = "application/x-shockwave-flash" pluginspage = "http://www.macromedia.com/go/getflashplayer">
2. add another layer to the FLASH layer. Flash itself cannot directly add events such as onclick.. Therefore, you can only add a transparent layer to FLASH with the help of other things:
The Code is as follows:
Note:Transpandemo.gif is transparent, otherwise it will cover the bottom Flash;
3. the IE browser can do the above step. Firefox also needs the following step.
Add
The Code is as follows:
Wmode = "transparent"
The complete code is as follows:
The Code is as follows:
Solution 2: I did not try it online, as shown below:
In Flash, external scripts are called through FSCommand. The method is simple, practical, and controllable. For specific usage, search for the FSCommand key on the Internet.