Home > SWFSize

SWFSize

SWFSize is a project mainly written in JAVASCRIPT and ACTIONSCRIPT, it's free.

SWFSize is a small (really small) library for Adobe Flash technology that works in collaboration with SWFObject and provides control over the swf's container metrics.

=== project === [home] http://chargedweb.com/swfsize/ [git] https://github.com/jloa/SWFSize [packs] http://sourceforge.net/projects/swfsize/

=== licence === CC 3.0 @ http://creativecommons.org/licenses/by-sa/3.0/

=== structure === [as3 docs] ./docs/ [as3 source] ./src/ [js source] ./lib/js/swfsize.js [example] ./lib/index.html

=== note === If u have any suggestions, plz send them to me @ jloa[at]chargedweb.com / subj:swfsize Much appreciated.

[v.1.4.1]

  • SWF_ID is now passed automatically [thx to Kalani aka kapaakea] [v.1.4.0]
  • event broadcast removed from setSWFWidth(), setSWFHeight() methods [thx 2 Umano Teodori] [v.1.3]
  • ie 6, 7 scroll bug fixed [thx to Reed Bertolette] [v.1.2]
  • engine switched singleton -> class; now you can manage more than 1 embedded swf at a time! [thx David Aguilar for the suggestion] [v.1.1]
  • improved performance
  • method setWidth() renamed to setSWFWidth()
  • method setHeight() renamed to setSWFHeight() [v.1.0]
  • added setWidth() method
  • added setHeight() method
  • added getWidth() method
  • added getHeight() method
  • added getWindowWidth() method
  • added getWindowHeight() method
  • added getLeftX() method
  • added getRightX() method
  • added getTopY() method
  • added getBottomY() method
  • added setScrollX() method
  • added getScrollX() method
  • added setScrollY() method
  • added getScrollY() method
Previous:Hello-World