function swftools_init in SWF Tools 6.3
Same name and namespace in other branches
- 6 swftools.module \swftools_init()
- 6.2 swftools.module \swftools_init()
Implementation of hook_init().
File
- ./
swftools.module, line 121 - The primary component of SWF Tools that enables comprehensive media handling.
Code
function swftools_init() {
// Add JavaScript that allows other scripts to access movies from the DOM
drupal_add_js(drupal_get_path('module', 'swftools') . '/swftools.js');
// Add CSS to enable hiding of accessible controls
drupal_add_css(drupal_get_path('module', 'swftools') . '/swftools.css');
}