如何使用flash调用div内的页面?

时间:2011-02-18 10:54:47

标签: jquery flash actionscript-2

我需要在div中调用一个页面,但是使用flash!

我的页面上有这个脚本:

$('#bt_aoptica').click(function () {
        $('#my_site_content').load("aoptica.html");
        $("#menu ul li a").not(this).removeClass("currentMenu");
        $(this).toggleClass("currentMenu");         
});

这与我的菜单完美配合!

我如何用actionscript 2来调用它???

泰!

1 个答案:

答案 0 :(得分:1)

我认为这就是你要找的东西,但如果没有的话:)对不起

http://codingrecipes.com/calling-a-javascript-function-from-actionscript-3-flash

<强> AS2

getURL('javascript:fromFlash();')

<强> JS

function fromFlash(){
   // put ur javascript/jquery instructions here
}
相关问题