You are here

public function SWFObject::width in SWF Embed 7

Same name and namespace in other branches
  1. 6 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 240
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;
}