Hi there learned chaps,

I've designed a site that will be content managed through Contribute 4. On
some of the pages I've got some small Flash applets which I'm feeding in
from asp variables. These flash applets are not editable regions, but when
my client goes in and adds anything in an editable region it seems to be
rewriting the flash script, and worse still it's buggering it up, even
though it should be locked code.

Here is was the code is like before it's touch with Contribute:

<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','250','heigh t','72','title','Stockacre
used <%= vname %>','src','flash/used-stock-link-smaller?vehicle=<%= vehcode
%>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType
%>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/used-stock-link-smaller?vehicle=<%=
vehcode %>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType %>' ); //end
AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="250" height="72" title="Stockacre used <%= vname %>">
<param name="movie"
value="flash/used-stock-link-smaller?vehicle=<%= vehcode %>&amp;vname=<%=
vname %>&amp;vbody=<%= vbody %>&amp;type=<%= sType %>" />
<param name="quality" value="high" />
<embed src="flash/used-stock-link-smaller?vehicle=<%= vehcode
%>&amp;vname=<%= vname %>&amp;vbody=<%= vbody %>&amp;type=<%= sType %>"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="250" height="72"></embed>
</object>
</noscript>

And this is it after:

<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','250','heigh t','72','title','Stockacre
used <MM:BeginLock unremovable type="MM_EDITTEXTONLY"
orig="%3C%25=%20vname%20%25%3E"><%= vname
%></script><MM:EndLock>','src','flash/used-stock-link-smaller?vehicle=<%=
vehcode %>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType
%>','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/used-stock-link-smaller?vehicle=<%=
vehcode %>&vname=<%= vname %>&vbody=<%= vbody %>&type=<%= sType %>' ); //end
AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="250" height="72" title="Stockacre used <%= vname %>">
<param name="movie"
value="flash/used-stock-link-smaller?vehicle=<%= vehcode %>&amp;vname=<%=
vname %>&amp;vbody=<%= vbody %>&amp;type=<%= sType %>" />
<param name="quality" value="high" />
<embed src="flash/used-stock-link-smaller?vehicle=<%= vehcode
%>&amp;vname=<%= vname %>&amp;vbody=<%= vbody %>&amp;type=<%= sType %>"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="250" height="72"></embed>
</object>
</noscript>

How can I stop this from happening?

Cheers,

ndyB