HerbIgniter User Guide Version 1.7.2


Flash Helper

The Flash Helper file contains functions that assist in working with Flash SWF files.

Loading this Helper

This helper is loaded using the following code:

$this->load->helper('flash');

The following functions are available:

swf( object, w, h, wmode="transparent", flashvars="&auto_start=true&auto_play=true&initial_sound_volume=0.5&resizeMode=fillScreen" )

Returns an SWF object wrapper code that doesn't use swfobject.js

Example:

$page->append_body( swf( "../some.swf", 534, 380 ) );