10/03: Launch ThickBox from Flash movie with AS3
Launch ThickBox from Flash movie with AS3:
I tried many sites to find a solution to launch the ThickBox with some movies and images inside an html page from a flash file but there was no success, after some trials, here is what I found as solution:
1 - in your flash FLA ActionsScript on the frame write this script:
import flash.external.ExternalInterface;
function b1() {
ExternalInterface.call("tb_show","Your Title of the page","yourpagepath? &keepThis=true&TB_iframe=true&height=400&width=650",false);
}
2 - in your link or button ActionsScript write this script:
on (release) {
b1();
}
3 - in your HTML make sure that the wmode of any flash under the ThickBox is transparent.
I tried many sites to find a solution to launch the ThickBox with some movies and images inside an html page from a flash file but there was no success, after some trials, here is what I found as solution:
1 - in your flash FLA ActionsScript on the frame write this script:
import flash.external.ExternalInterface;
function b1() {
ExternalInterface.call("tb_show","Your Title of the page","yourpagepath? &keepThis=true&TB_iframe=true&height=400&width=650",false);
}
2 - in your link or button ActionsScript write this script:
on (release) {
b1();
}
3 - in your HTML make sure that the wmode of any flash under the ThickBox is transparent.