I am using a program that generates avatar flash. In my html I want to be able to position the flash on my page in one location and when the user clicks on some help options change the the flash with a new one. I call the sample code below anf the flash runs, I call it with a onclick with different file name and it works bu clears out my entire web page and displays in top left corner. I am not a flash user. I need to know how to display a flash object at one location and change it to another at the same location without it changing the rest of my page.
<script language=“javascript”>
AC_FL_RunContent(
‘codebase’, ‘http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0’,
‘width’, ‘128’,
‘height’, ‘160’,
‘src’, ‘FlashSwf’,
‘quality’, ‘high’,
‘pluginspage’, ‘http://www.macromedia.com/go/getflashplayer’,
‘align’, ‘middle’,
‘vspace’, ‘20’,
‘hspace’,‘100’,
‘play’, ‘true’,
‘loop’, ‘true’,
‘scale’, ‘noscale’,
‘wmode’, ‘window’,
‘devicefont’, ‘false’,
‘id’, ‘FlashSwf’,
‘bgcolor’, ‘#ffffff’,
‘name’, ‘FlashSwf’,
‘menu’, ‘true’,
‘allowFullScreen’, ‘false’,
‘allowScriptAccess’,‘sameDomain’,
‘movie’, ‘aaa_Data/FlashSwf’,
‘FlashVars’,‘StandByVideo=StandByVideoFlv&BrowseVideo=aaa’,
‘salign’, ‘lt’
); //end AC code
</script>