Hi everyone, I have a flash game site. It has a lot of flash games in my server. But i have a problem. about *.swf and *.dir games. When i use this code, *.swf games works fine. But *.dir games doesn't work. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="<?php echo($objw); ?>" height="<?php echo($objh); ?>"><param name="movie" value="<?php echo($objsrc); ?>" /><param name="quality" value="high" /><embed src="<?php echo($objsrc); ?>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="<?php echo($objw); ?>" height="<?php echo($objh); ?>"></embed></object> PHP: When i use this code, *.dir games works fine. But *.swf games doesn't work. <object id=FlashGame classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,0,0,0" width="<?php echo($objw); ?>" height="<?php echo($objh); ?>"><param name="src" value="<?php echo($objsrc); ?>" /><param name=swStretchStyle value=fill /><embed src="<?php echo($objsrc); ?>" pluginspage="http://www.macromedia.com/shockwave/download/" width="<?php echo($objw); ?>" height="<?php echo($objh); ?>"></embed></object> PHP: How can i use together these codes on same page? Thanks!
Hi, I think you're reusing the same variables such as $objw. You'll need to assign two seperate sets of variables, one holding .swf values and one .dir. Jay