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
// Fireworks JavaScript Command // Fireworks/Configuration/Commands/ // Aaron Beall // Version 1.1 var dom = fw.getDocumentDOM(); var parentLayerNum = dom.getParentLayerNum(dom.currentLayerNum); if(parentLayerNum != -1){ var layerName = dom.layers[dom.currentLayerNum].name; var elems = dom.layers[parentLayerNum].frames[dom.currentFrameNum].elemsandsublayers; for(var e in elems){ if(elems[e] == '[object Layer]' && elems[e].name == layerName) break; } dom.selectAllOnLayer(dom.currentLayerNum, false, false); var oldLayerNum = dom.currentLayerNum; dom.moveSelectionToLayer(parentLayerNum, false, "none", Number(e)); dom.deleteLayer(oldLayerNum); }else alert("Unable to complete your request; no Sublayers selected.");