Jump to content


ronweb's Content

There have been 1 items by ronweb (Search limited from 17/10/2020)


Ordernar por                Order  

#993090 Flash Vs. Greybox

Posted by ronweb on 28/01/2010, 18:45 in Adobe Flash e ActionScript

Olá!,

Já passei horas e mais horas tentando de resolver um problemão entre Flash (As2) e a Greybox.

A "iframe" (uma webcam) chamada por um botão flash apaga totalmente o movieclip (wmode = transparent),
exemplo : http://www.ronstclair.com/btgb.html

Mas tudo funciona 100% quando a "iframe" é chamada por uma imagem/botão,
exemplo : http://www.ronstclair.com/btgbimg.html

Onde errei !??? , obrigadão pelo help e abraços.

As2 do botão :

on (release)
{
getURL("javascript:openBox('http://www.bruxelles.be/webcamgrandplace/webcamproxy2.swf')", "_self");
}

-------------------------------------------------------------------------------------------------------------------------

Htlm :


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Greybox  -  Swf</title>

<link rel="shortcut icon" href="http://www.ronstclair.com/dardar.ico" type="image/x-icon" />

<script type="text/javascript" src="swfobject.js">
</script>

<style type="text/css">
/*<![CDATA[*/
body { background-color:#FF6600; 
}
-->
/*]]>*/
</style>


<style type="text/css">
/*<![CDATA[*/
<!--
#btgb{
position:absolute;
left: 50%; 
top: 50%;
margin-top:-240px; 
margin-left:-320px;
}
-->
/*]]>*/
</style>


<!-- GREYBOX

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->

<script type="text/javascript">
var GB_ROOT_DIR = "http://www.ronstclair.com/gb/";
</script>
<script type="text/javascript" src="gb/AJS.js"></script>
<script type="text/javascript" src="gb/AJS_fx.js"></script>
<script type="text/javascript" src="gb/gb_scripts.js"></script>
<link href="gb/gb_styles.css" rel="stylesheet" type="text/css" media="all" />


<script type="text/javascript">
function openBox() {
GB_showCenter('DarDar','http://www.bruxelles.be/webcamgrandplace/webcamproxy2.swf',286,382);

}

</script>

</head>



<body>

<!-- FLASH

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->

<div>	
<object id="btgb" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="480">
<param name="movie" value="btgb.swf" />
<param name="quality" value="best" />
<param name="wmode" value="transparent" />
<param name="allowscriptaccess" value="always" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="btgb.swf" width="640" height="480">
<param name="quality" value="best" />
<param name="wmode" value="transparent" />
<param name="allowscriptaccess" value="always" />
<!--<![endif]-->

<div>
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>

</body>

</html>




IPB Skin By Virteq