src/util/flash/flash.js
function(_options){
            // init flash vars
            var _id = _options.id,
                _params = _options.params;
            if (!_params){
                _params = {};
                _options.params = _params;
            }
            var _vars = _params.flashvars||'';
            _vars += (!_vars?'':'&')+('id='+_id);
            // delegate mouse event bubble
            if (!_options.hidden&&(!!_options.target||
                 _h.__canFlashEventBubble(_params.wmode))){
                var _tid = _e._$id(_options.target)||
                           _e._$id(_options.parent);
                _cache[_id+'-tgt'] = _tid;
            }
            _params.flashvars = _vars;
            // check event callback
            _u._$loop(_options,function(_value,_key){
                if (_u._$isFunction(_value)&&_key!='onready'){
                    _cache[_id+'-'+_key] = _value;
                }
            });
        }
function(_options){
            // init flash vars
            var _id = _options.id,
                _params = _options.params;
            if (!_params){
                _params = {};
                _options.params = _params;
            }
            var _vars = _params.flashvars||'';
            _vars += (!_vars?'':'&')+('id='+_id);
            // delegate mouse event bubble
            if (!_options.hidden&&(!!_options.target||
                 _h.__canFlashEventBubble(_params.wmode))){
                var _tid = _e._$id(_options.target)||
                           _e._$id(_options.parent);
                _cache[_id+'-tgt'] = _tid;
            }
            _params.flashvars = _vars;
            // check event callback
            _u._$loop(_options,function(_value,_key){
                if (_u._$isFunction(_value)&&_key!='onready'){
                    _cache[_id+'-'+_key] = _value;
                }
            });
        }
function ( _options ) { // init flash vars var _id = _options . id , _params = _options . params ; if ( ! _params ) { _params = { } ; _options . params = _params ; } var _vars = _params . flashvars || '' ; _vars += ( ! _vars ? '' : '&' ) + ( 'id=' + _id ) ; // delegate mouse event bubble if ( ! _options . hidden && ( ! ! _options . target || _h . __canFlashEventBubble ( _params . wmode ) ) ) { var _tid = _e . _$id ( _options . target ) || _e . _$id ( _options . parent ) ; _cache [ _id + '-tgt' ] = _tid ; } _params . flashvars = _vars ; // check event callback _u . _$loop ( _options , function ( _value , _key ) { if ( _u . _$isFunction ( _value ) && _key != 'onready' ) { _cache [ _id + '-' + _key ] = _value ; } } ) ; }
init flash event
init flash event