Hi.
Both JavaScript and Flash are capable of doing that.
Personally, I would go with JavaScript, because it doesn't require a 3'rd party plugin (the Flash player).
To do this with JavaScript, all you would have to do is set up your template in HTML, put input boxes somewhere (for the user to fill out), and have JavaScript mirror the changes to the input box on the template.
For example:
-
<script type="text/javascript">
-
function updateTemplate(pTarget, pNewValue) {
-
var targetElem = document.getElementById(pTarget);
-
if(targetElem == null) { return false; }
-
targetElem.innerHTML = pNewValue;
-
}
-
</script>
-
<div id="Template">
-
<span id="tpl_Name">John Doe</span><br />
-
<span id="tpl_Title">Janitor</span>
-
</div>
-
<div id="UserInput">
-
Name: <input type="text" onkeyup="updateTemplate('tpl_Name', this.value);" /><br />
-
Title: <input type="text" onkeyup="updateTemplate('tpl_Title', this.value);" /><br />
-
</div>
-
See what I mean?