Very often we need to preload some assets even before page is displayed and any user code is executed.
Probably it`s good idea to implement data-assets attribute for FlashJS script tag like data-main in RequireJS.
It will calculate current scale based on window size and load initial assets.