1) Script Title: Dynamic Ajax Content
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem:
Hi All!
first my website in trouble is here http://centenariobologna.xplace.it/prova/index.html
if u r going under the menu voice "PREMI IN PALIO" u can see there is a swf movie to run, but its not visible!
I'm running swfobject 2.0 to show the swf from the external page
The code in the external page isHTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="ajaxfiles/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("content", "9.0.0"); </script> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div style="z-index:2;border:2px solid; "> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="708" height="307" id="content"> <param name="movie" value="http://centenariobologna.xplace.it/prova/premi.swf" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="premi.swf" width="708" height="307"> <!--<![endif]--> <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> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> </body>
and the code on my as3 button is
HTML Code:function gotoEsterno2(event:MouseEvent):void { var targetURL:URLRequest = new URLRequest("javascript:ajaxpage('ajaxfiles/external3.htm', 'content'); loadObjs('swfobject.js')"); navigateToURL(targetURL,"_parent"); } menu2.addEventListener(MouseEvent.CLICK, gotoEsterno2);
Any idea why i cannot see the swf movie from the external.html??
it drive me crazy and i also been watched the whole forum with no luck!!
thank to anybody can help me!!



Reply With Quote
Bookmarks