I create a new snipped with autoslides name, in the next I create a new template with this code:
<div id="container"><a href="
http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this rotator.</div>
<script type="text/javascript" src="assets/templates/Group/plugins/main_banner/swfobject.js"></script>
<script type="text/javascript">
var so = new SWFObject(’assets/templates/Group/plugins/main_banner/imagerotator.swf’,’rotator’,’933’,’300’,’7’);
so.addParam("allowscriptaccess","always");
so.addParam("wmode","transparent");
so.addVariable(’height’,’300’);
so.addVariable(’width’,’933’);
so.addVariable(’file’,’assets/templates/Group/plugins/main_banner/teste.xml’);
so.addVariable(’rotatetime’,’3’);
so.addVariable(’kenburns’,’true’);
so.write(’container’);
</script>
In the file teste.xml it’s this code line:
[[autoslides? &dir=`assets/templates/Group/main_banner` &extensions=`jpg,png,gif`]]