Re: Shadowbox and flash
After 3 hours of research I found the way!
just add to the index page:
function abrirSB(type, title, url)
{
Shadowbox.init({skipSetup: true});
Shadowbox.open({type: type, title: title, content: url});
};
and into flash file:
getURL("javascript:abrirSB('img', 'Title', 'image.jpg');", "_self");
First value 'img' can be: "swf", "flv", "qt" (QuickTime), "wmp" (Windows Media
Player), "iframe", oR "html".
IT'S WORK!
Bye
|