开发者

How to call a page inside a div with flash?

开发者 https://www.devze.com 2023-02-12 02:02 出处:网络
I need to call a page inside a div, but with flash! I have this script on my page: $(\'#bt_aoptica\').click(function () {

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

精彩评论

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