Any fine person that can help me with this code, the first one (1) does'nt seem to work when used in Myspace But the second (2) I copied from another flash site and implemented the flash from my site and it works fine, but don't wanna mess up the php code. 1) $swf_url=str_replace("/head.php?","/play.swf?",selfURL()); $embed='<embed src="'.$swf_url.'" quality="high" width="350" height="400" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'; echo "&embed=".rawurlencode($embed); 2)<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="350" width="400" data="http://www.mywebsite.com/singer/play.swf?code=12199555551476&autostart=true"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> </object>