开发者

How to call a page inside a div with flash?

I need to call a page inside a div, but with flash!

I have this script on my page:

$('#bt_aoptica').click(function () {
        $('#my_site_content').load("aoptica.html");开发者_高级运维
        $("#menu ul li a").not(this).removeClass("currentMenu");
        $(this).toggleClass("currentMenu");         
});

and this works perfectly with my menu!

How i call this with actionscript 2??

Ty!


i think this is what you are looking for but if not :) sorry

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

AS2

getURL('javascript:fromFlash();')

JS

function fromFlash(){
   // put ur javascript/jquery instructions here
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜