Hey shaolin, the better way doing this is using the swfobject script which is much easier to implement and has better integration with javascript/ajax interaction with flash.
~nitin On Jul 24, 12:38 am, shaf <shaolinfin...@gmail.com> wrote: > Hi Guys > > I have some JS that flash cs4 generated when I published my swf. I am > trying to do some AJAX and download the SWF and then insert it into > the page's DIV tag. How can I do this. Code below: > > AC_FL_RunContent( > 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/ > swflash.cab#version=10,0,0,0', > 'width', '873', > 'height', '247', > 'src', 'banner', > 'quality', 'high', > 'pluginspage', 'http://www.adobe.com/go/getflashplayer', > 'play', 'true', > 'loop', 'false', > 'scale', 'showall', > 'wmode', 'transparent', > 'devicefont', 'false', > 'id', 'banner', > 'name', 'banner', > 'menu', 'false', > 'allowFullScreen', 'false', > 'allowScriptAccess','sameDomain', > 'movie', 'banner' > ); //end AC code