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
}
精彩评论