gracias por sus respuestas. deseo mostrar una galería usando el lightbox para las imágenes, y a su vez, el swfobject a full page pero no funciona mostrar el .jpg en modal.
tengo en el html:
Código :
<html> <head> <title>Site</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="lightbox.js"></script> <script type="text/javascript" src="images/swfobject.js"></script> <script language="JavaScript"> <!-- window.moveTo(0,0) window.resizeTo(screen.width,screen.height); function popup(url,name,width,height,features) { var top=(screen.height-height)/2; var left=(screen.width-width)/2; window.open(url,name,"top="+top+",left="+left+",width="+width+",height="+height+","+features); } //--> </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#EBAD14"> <center> <div id="flashcontent"> <p> </p> <p> </p> <p align="center" class="style1"><span class="style2"><strong>Welcome to the Site.</strong><br /> We have detected that you do not have the Flash 8 player installed.<br /> Please</span> <a href="http://www.adobe.com/go/getflashplayer" target="_blank">Click Here</a><span class="style2"> to download the Flash plugin.</span></p> </div> <script type="text/javascript"> var so = new SWFObject("index01.swf", "flavio", "100%", "100", "8", "#EBAD14"); so.addParam("scale", "noscale"); so.addParam("salign", "T"); so.addVariable("maxfilesize", "500000"); so.addParam("allowfullscreen","false"); so.addVariable("wmode", "transparent"); so.addVariable("allowscriptaccess", "always"); so.write("flashcontent"); </script> </center> </body> </html>
luego en el botón del flash:
Código :
on(release) { getURL("javascript:flashLightbox('images/arboldecorales.jpg','flavio');"); }
pero no carga la imagen con el efecto modal.
probé con el clásico código y si me funciona:
Código :
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="945" height="810" id="main" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="index01.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="transparent" /> <embed src="index01.swf" quality="high" bgcolor="#ffffff" width="945" height="810" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
pero deseo mostrar la peli a full page. Parece ser el problema de comunicación entrel el .swf y javascript, pero no doy con el código.
toda ayuda será muy agradecida.
saludos,
miguel