FlashのイベントからThickboxを使うには
Flash(swf)のイベントからthickbox.jsを使って前面にレイヤーを表示するにはthickbox.jsのtb_showを叩けばよろし。
ExternalInterfaceを使えば以下のような感じ。
import flash.external.ExternalInterface
this.js_btn.onRelease = function(){
ExternalInterface.call("tb_show", "テスト1","in_test.html?height=200&width=350");
}
this.js3_btn.onRelease = function(){
ExternalInterface.call("tb_show","テスト3", "1.jpg?height=500&width=660");
}
getURLなら
this.js2_btn.onRelease = function(){
getURL("javascript:tb_show('テスト2','in_test.html?height=200&width=350')")
}
ちなみにhtmlレイヤーが出てるときに背面のswfが表示されないがwmodeをtransparentの設定にして透過状態にすると表示された。
thickbox.jsのtb_showメソッドの第三引数は何に使うのか今のところわかってなかったりします(^^;