public function SWFObject::width in SWF Embed 6
Same name and namespace in other branches
- 7 swfembed.module \SWFObject::width()
 
Set the width of this swf object.
If not specified, the system will try to determine the width of the file if it can.
Parameters
$width: The width in pixels of the file.
Return value
The called object.
File
- ./
swfembed.module, line 225  - The main file for swfembed.
 
Class
- SWFObject
 - Generic data object for describing an SWF configuration.
 
Code
public function width($width) {
  $this->dimensions['width'] = $width;
  return $this;
}