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
// Original command by, used with permission // Modification by Aaron Beall for the Path panel var f = new Object(); f.main = function(){ var input, _xscale, _yscale; do{ input = prompt('Scale Width, Height (in percent):', fw.ScaleSelectedPoints_input || "100,100"); if(input == null) return; }while(!validateInput()); function validateInput(){ var vals = String(input).split(","); _xscale = Number(vals[0]); _yscale = vals.length > 1 ? Number(vals[1]) : _xscale; if(isNaN(_xscale) || isNaN(_yscale)) return alert("Invalid input; enter numbers only."); return true; } fw.ScaleSelectedPoints_input = _xscale + "," + _yscale; _xscale = (_xscale||100)/100; _yscale = (_yscale||100)/100; var si, ci, ni; var sn, cn, nn; var n, _x, _y; var selNodes = new Array(); sn = fw.selection.length; for (si=0; si