====== About the script ====== * Purpose : This script will toggle one of my animation scripts * Author : [[https://plus.google.com/+LukasMorawietz|LM13]] * Current Version : 2.2 * Link: ... * **//Deprecated//** ====== Changelog ====== * Version 2.1 (19/5/2014): standardized for all animations * Version 2.2 (26/6/2014): added rotation ====== Compatible scripts ====== * [[script_animation_bulldoze|Scrollanimation "Bulldoze"]] (below Version 3) * [[script_animation_flip|Scrollanimation "Flip"]] (below Version 3) * [[script_animation_shrink|Scrollanimation "Shrink"]] (only Version 1) * [[script_animation_zigzag|Scrollanimation "Zigzag"]] (only Version 1) * [[script_animation_inAndOut|Scrollanimation "In and out"]] (only Version 1) * [[script_animation_turn|Scrollanimation "Turn"]] (only Version 1) * There may be more, but these ones are proved this Script is at EOL ====== Script Code ====== //config var mainScriptsName= "Animation"; //endconfig var d=LL.getEvent().getContainer(); var box=d.getBoundingBox(); var cont=JSON.parse(d.getTag()||"null"); if(cont==null) cont=new Object(); cont.minx=box.getLeft(); cont.maxx=box.getRight(); cont.miny=box.getTop(); cont.maxy=box.getBottom(); var items=d.getItems(); LL.runScript(mainScriptsName,null); var dwidth=d.getWidth(); var dheight=d.getHeight(); if(cont.setup!=true) { for(x=0;x