module FN::SWF::Node::Flash
Public Instance Methods
visit(struct, debug = false)
click to toggle source
# File lib/fn/swf/node/flash.rb, line 12 def visit(struct, debug = false) w = self[:width] h = self[:height] size = "#{w}x#{h}" struct.<< %[.flash bbox="#{size}" compress version=6] do struct.<< %[.box bkg width=#{w} height=#{h} color=white fill] visit_children(struct, debug) end end