EchoFool Posted February 23, 2009 Share Posted February 23, 2009 I have php page which i want to put a flash menu but it won't work yet in a folder on my desktop when i click the html file it worked. I upload the folder to my localhost and try it and it comes out blank! Makes no sense! This is what i have in the php file: <div id="midheader"> <?php include("menu/mymenu.html"); //this is valid and is working i have tested that ?> </div> In mymenu.html i have: <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="873" height="66" id="CU" align="middle"> <param name="movie" value="mymenu.swf"/> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="transparent"/> <embed src="mymenu.swf" quality="high" bgcolor="#ffffff" width="873" height="66" wmode=transparent name="CU" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> The menu folder which the flash script is in ... contains the following files: mymenu.swf mymenu.xml roundedbutton.png It just displays a thick blank <DIV> on my html page and shows no flash playing.... my page source shows this: <div id="midheader"> <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="873" height="66" id="CU" align="middle"> <param name="movie" value="mymenu.swf"/> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="salign" value="lt" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="transparent"/> <embed src="mymenu.swf" quality="high" bgcolor="#ffffff" width="873" height="66" wmode=transparent name="CU" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object> </div> If i right click in the div it shows the options for flash...so it is "technically" there but not showing graphically.. which is what i don't understand.... is there something im missing? Hope you can help me. Link to comment https://forums.phpfreaks.com/topic/146537-flash-wont-load/ Share on other sites More sharing options...
ricmetal Posted February 24, 2009 Share Posted February 24, 2009 havent worked with flash for some time to know whats wrong nor am i going to open flash and test but i can give you a few reall basic pointers. are u using internet explorer? try firefox is the flash playing on load, (like, no stop();, or anything? maybe you need nother file, the one that loads flash if u dont have it installed ...refresh the browser start from scratch...put the swf on a html page and see if it works, if it does, go from there. get youself another swf and use it in the php u get the picture Link to comment https://forums.phpfreaks.com/topic/146537-flash-wont-load/#findComment-770652 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.