swfobject

SwfObject Widget
3 followers

This extension is a widget to automate the process of use SwfObject in your application.

COMPATIBLE WITH "EXTENSION-DOWNLOAD" COMMAND :)

Resources

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/extensions

Usage

Change Log

February 2, 2010

  • Initial release.

Total 2 comments

#695 report it
jerry2801 at 2010/03/16 10:54pm
flashvars problem~
$this->widget('ext.swfobject.ESwfObject',array(
    'swfFile'=>Html::mediaUrl('_resources/open-flash-chart.swf'),
    'width'=>600,
    'height'=>250,
    'flashvars'=>array(
        'data-file'=>$this->createUrl('',array('part'=>1)),
    ),
)); ?>

if will generate:

var flashvars_20101703104330 = {
 data-file : "/webmonitor/statistic/article1?part=1"
}

"data-file" will take mistake~

#696 report it
jerry2801 at 2010/03/16 10:53pm
flashvars problem~

[php] $this->widget('ext.swfobject.ESwfObject',array( 'swfFile'=>Html::mediaUrl('_resources/open-flash-chart.swf'), 'width'=>600, 'height'=>250, 'flashvars'=>array( 'data-file'=>$this->createUrl('',array('part'=>1)), ), )); ?>

if will generate:
[javascript]
var flashvars_20101703104330 = {
 data-file : "/webmonitor/statistic/article1?part=1"
} 

"data-file" will take mistake~

Leave a comment

Please to leave your comment.

Create extension
  • License: Other Open Source License
  • Developed by: prchakal
  • Category: User Interface
  • Votes: +2
  • Downloaded: 523 times
  • Created on: Feb 2, 2010
  • Last updated: Feb 5, 2010