Index: swftools.module
===================================================================
--- swftools.module
+++ swftools.module
@@ -24,7 +24,6 @@
 define('SWFTOOLS_CUSTOM', 'swftools_custom');               // An unknown media/file player.
 define('SWFTOOLS_NOJAVASCRIPT', 'swftools_nojavascript');   // This is an 'embed' method implemented by swftools.module itself.
 //define('SWFTOOLS_DEFAULT_BG', $GLOBALS['base_url'] .'/'. drupal_get_path('module', 'swftools') .'/shared/swftools-default.jpg');       // A generic image for use in certain contexts.
-define('SWFTOOLS_DEFAULT_BG', url(drupal_get_path('module', 'swftools') . '/shared/swftools-default.jpg', array('absolute' => TRUE)));   // A generic image for use in certain contexts.
 
 // Let other modules know SWF Tools is available
 define('SWFTOOLS_INSTALLED', TRUE);
@@ -42,6 +41,8 @@
  * swftools_init() is used to force embedding JavaScript on to all pages
  */
 function swftools_init() {
+  define('SWFTOOLS_DEFAULT_BG', url(drupal_get_path('module', 'swftools') . '/shared/swftools-default.jpg', array('absolute' => TRUE)));   // A generic image for use in certain contexts.
+
   if (variable_get('swftools_always_add_js', SWFTOOLS_ALWAYS_ADD_JS)) {
     swftools_push_js();
   }
