skip to navigation
skip to content

tw.swfobject 0.2dev

ToscaWidget wrapper for swfobject

.. contents::

Detailed Documentation
**********************


tw.swfobject documentation
==============================

This Widget encapsulates the google code swfobject JavaScript library
`http://code.google.com/p/swfobject/`_ for embedding Shockwave Flash content in a standards-friendly manner.

The current swfobject version packaged with this widget is version 2.2
`http://swfobject.googlecode.com/files/swfobject_2_2.zip`_

Example:

From within your controller, simply instantiate a SwfObject and return this instance to be rendered with your template::

swfobject = SwfObject(swf = "/path/to/mycontent.swf", width = 640, height = 480, flashvars = {"myvar": 0})

From within your template, simply call the swfobject::

${swfobject()}

Contributors
************


Main developpers
================

* Patrick McKinnon <swfobject[at]txsv[dot]com<br>
Maintainer
==========

* Nicolas Laurance <nicolas[dot]laurance[at]gmail[dot]com>


Change history
**************

New in 0.2
==========

Update to swfobject 2.2

New in 0.1
==========

First Release  
File Type Py Version Uploaded on Size
tw.swfobject-0.2dev.tar.gz (md5) Source 2010-07-24 31KB