Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
File 如何在html中编写一个,由flash按钮调用?_File_Hyperlink_Flash Cs3 - Fatal编程技术网

File 如何在html中编写一个,由flash按钮调用?

File 如何在html中编写一个,由flash按钮调用?,file,hyperlink,flash-cs3,File,Hyperlink,Flash Cs3,我是编程新手,正在尝试使用flash按钮打开链接。我将.swf文件嵌入到html中,并用a href标记将其包围,如下所示: <a href="http://www.yahoo.com/submit.php?url="> <object width="550" height="400"> <param name="movie" value="somefilename.swf"> <embed src="file:///c:/users/joe/deskt

我是编程新手,正在尝试使用flash按钮打开链接。我将.swf文件嵌入到html中,并用a href标记将其包围,如下所示:

<a href="http://www.yahoo.com/submit.php?url=">
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="file:///c:/users/joe/desktop/projects/oRBsun.swf" width="550" height="400">
</embed>
</object>
</a>

容易,但不起作用。那么…我该如何为看似简单的任务编写脚本呢?

您不能在HTML中的swf文件周围使用标记。 如果您使用的是ActionScript 2.0,那么可以在Flash中使用getURL函数。 右键单击在Flash中创建的按钮,然后单击操作。 在这里可以找到getURL函数