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 size of all Live Effects on selected objects //Aaron Beall - 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-100 to set all Live Filters Width/Distance.\n\nRecognized Filters values include: Glow and Shadow Distance, Motion/Zoom Blur Distance, and Bevel Width. (TIP: Bevel/Glow max is 35.)'); error = "You need to enter a valid number.\n\n"; } while(isNaN(Number(amount)) && amount!==null); if(amount!==null){ amount = Math.min(100,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.BevelWidth!=undefined)eff.BevelWidth = Math.min(amount,35); if(eff.GlowWidth!=undefined)eff.GlowWidth = Math.min(amount,35); if(eff.motion_blur_distance!=undefined)eff.motion_blur_distance = amount; if(eff.zoom_blur_distance!=undefined)eff.zoom_blur_distance = amount; if(eff.ShadowDistance!=undefined)eff.ShadowDistance = amount; if(eff.distance!=undefined)eff.distance = amount; effs[f] = eff; } } } } }