Class Index | File Index

Classes


Class SntEmbed


Defined in: SntEmbed.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
SntEmbed(id, movie, flashvars, params, attributes)
Create a new Sonettic-Cinema embed object.
Method Summary
Method Attributes Method Name and Description
 
render(SntEmbedEngine)
render all embed data to flash object
 
Merge attributes
 
set an callback function to execute after flash object initialize
 
Merge flashvars
 
setParams(params)
Merge parameters
 
setSize(width, height)
set container size
Class Detail
SntEmbed(id, movie, flashvars, params, attributes)
Create a new Sonettic-Cinema embed object. This object for dynamically choice between swfobject and pure html code for generation adobe flash object code
Parameters:
id
movie
flashvars
params
attributes
Method Detail
render(SntEmbedEngine)
render all embed data to flash object
Parameters:
SntEmbedEngine
object
Returns:
boolean

setAttributes(attrs)
Merge attributes
Parameters:
attrs
List of attributes

setCallback(fn)
set an callback function to execute after flash object initialize
Parameters:
fn
callback function instance
Returns:
void

setFlashvars(fv)
Merge flashvars
Parameters:
fv
Array with new flashvars

setParams(params)
Merge parameters
Parameters:
params

setSize(width, height)
set container size
Parameters:
width
width of the video container
height
of the video container

© 2009 Sonettic
Documentation generated by JsDoc Toolkit 2.1.1 on Thu Apr 09 2009 15:51:03 GMT+0300 (EEST)