hello guys!
i wonder if somebody knows how to trigger thickbox from onRelease() event in flash.
is that possible?
hello guys!
i wonder if somebody knows how to trigger thickbox from onRelease() event in flash.
is that possible?
You can use the ActionScript3 ExternalInterface class to call a JavaScript function on your HTML page like this:
ExternalInterface.call("your_javascript_function()");
Your JavaScript calls, must be in quotes.
I haven't used ThickBox, but I am sure you use JavaScript to interact with it.
EDIT*
Just looked at the Thickbox API and i think your JavaScript call will look something like this:
tb_show("","mycontent.html?height=500&width=400","");
Got that code from here. I think the tricky thing will be overlaying HTML content on-top of Flash content. There are a few forum posts about this around. I will edit my answer if I come across one with a good solution.