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 // Links all masks in the current frame of the current page // Install by copying to Fireworks/Configuration/Commands/ // Run in Fireworks via the Commands menu // Aaron Beall - http://abeall.com var dom = fw.getDocumentDOM(); var sel = [].concat(fw.selection); function LinkAllMasks() { for(var l in dom.layers){ if(dom.layers[l].layerType == 'web') continue; for(var f in dom.layers[l].frames){ for(var e in dom.layers[l].frames[f].elements) if(dom.layers[l].frames[f].elements[e].mask) dom.layers[l].frames[f].elements[e].mask.linked = true; } } return true; } LinkAllMasks();