From Fullscreen Flash - HTML call doesn't work (but IMG does)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

From Fullscreen Flash - HTML call doesn't work (but IMG does)

LeSpa
Hi guys,
here is the problem on which I've been stuck for quite a while now...
Shadowbox is called via getURL from Flash. Works well with IMG but gets stuck on the black screen with HTML. Here is my code :


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<link rel="stylesheet" type="text/css" href="shadowbox.css" />


<script type="text/javascript" src="scripts/swfobject.js"></script><script type="text/javascript" src="shadowbox.js"></script><script type="text/javascript"> Shadowbox.init(); var openShadowbox = function(content, player, title){ Shadowbox.open({ content: content, player: player, title: title, height: 600, width: 1000 }); }; </script>

The Flash object :
<script type="text/javascript"> // <![CDATA[ var so = new SWFObject("swf/Diamee_V3.swf", "Diamee_V3", "100%", "100%", "8", "#000000"); so.addParam("scale", "noscale"); so.addParam("allowFullScreen", "true"); so.addParam("allowScriptAccess", "always"); so.addParam("wmode", "transparent"); so.write("flashcontent"); // ]]> </script>
The code in Flash (AS2) :

bp_contact.onRelease=function() {
        getURL("javascript:openShadowbox('test.html','html','Title');", "_self");
}

And here is the demo page : http://www.diamee.com/V2/ >> Buttons on the right

Anyone has a hint or a solution?
Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: From Fullscreen Flash - HTML call doesn't work (but IMG does)

jenspider
i got the same problem, it seems to be a proble in the java function I don't
Reply | Threaded
Open this post in threaded view
|

Re: From Fullscreen Flash - HTML call doesn't work (but IMG does)

DgAPc
In reply to this post by LeSpa
i've seen html has problems in 3.0.2. try typing iframe instead of html for the player type.