The 'repeats.flash.src' value needs to exist as just a filename (i.e. button1.swf) without the path. At the moment, the flash isn't displaying in test because the value of repeats.flash.src is /home/images/button1.swf.
Can you help re-write the Perl coding we've used to ensure that the value of repeats.flash.src is manipulated using the appropriate regex expression.?
[html]
sub stripExtn {
my $flashsrc=iwpt_dcr_value('repeats.flash.src');
$flashsrc=~ s/(\/+)\.*/\1/;
return $flashSrc;
}
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','width','{iw_value name='repeats.flash.width'/}','height','{iw_value name='repeats.flash.height'/}','src','{iw_value name="(stripExtn(iwpt_dcr_value('repeats.flash.src')))"/}','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','{iw_value name="(stripExtn(iwpt_dcr_value('repeats.flash.src')))"/}' ); //end AC code
</script>
[/html]