Strict Standards: Only variables should be passed by reference in /home/abeall/public_html/fireworks/download.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at /home/abeall/public_html/fireworks/download.php:28) in /home/abeall/public_html/fireworks/download.php on line 44
//Changes the softness of all Live Effects on selected objects //Aaron Beall - http://abeall.com var sel = new Array().concat(fw.selection); if(sel.length <= 0){ alert('This command requires an active selection!'); }else{ var error = ""; do{ var amount = prompt(error+'Enter an amount from 0-30 to set all Live Filters Softness.\n\nRecognized Filters values include: Glow, Shadow, Bevel and Emboss Softness, and Gaussian Blur radius. (TIP: Bevel softness maximum is 10.)'); error = "You need to enter a valid number.\n\n"; } while(isNaN(Number(amount)) && amount!==null); if(amount!==null){ amount = Math.min(30,Math.max(0,parseInt(amount))); for(var i in sel){ if(!sel[i].effectList)continue; var effs = sel[i].effectList.effects; for(f in effs){ if(effs[f].EffectIsVisible){ var eff = {}; for(var p in effs[f]){ if(p!='javascriptString')eff[p] = effs[f][p]; } if(eff.AngleSoftness!=undefined)eff.AngleSoftness = (eff.name.indexOf("Glow")!=-1) ? amount : Math.min(amount,10); if(eff.MaskSoftness!=undefined)eff.MaskSoftness = (eff.name.indexOf("Glow")!=-1) ? amount : Math.min(amount,10); if(eff.ShadowBlur!=undefined)eff.ShadowBlur = amount; if(eff.gaussian_blur_radius!=undefined)eff.gaussian_blur_radius = amount; effs[f] = eff; } } } } }