PDA

View Full Version : HTML Changing Flash and positioning



protees
May 12th, 2010, 02:34 PM
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>

mrE
May 13th, 2010, 10:32 AM
I think I understand your problem - but before I offer any suggestions which might confuse you, it would be best to see an example of your issue. I'd prefer to give you better help so that I don't confuse you if I am not understanding the issue properly.

protees
May 24th, 2010, 12:48 PM
I really need a java script that can call the example a gave that will play the 'aaa_Data/FlashSwf' or other ones I have in a set place on my web page like in a layer in my html

mrE
May 26th, 2010, 01:10 PM
I really need a java script that can call the example a gave that will play the 'aaa_Data/FlashSwf' or other ones I have in a set place on my web page like in a layer in my html

can you send a link to your example?