Lonz's 网络文档集

flash中调用js

flash部分
on(release)
{
_root.getURL("test1.asp","yemian"); //不知道是否可以
_root.getURL("javascript:_go('test1.asp')","_self"); //这个应该是可以的,页面中有对应的js函数_go()
}

 

html部分
<script>
function _go(src)
{
yemian.location = src;
}
</script>
<iframe width=100% frameborder=0 height=300 src='test.asp' scrolling="no" name="yemian"></iframe>


posted on 2006-05-26 16:13  Lonz's 网络文档集  阅读(711)  评论(0编辑  收藏  举报

导航