Content Elements: object

object specifies an external object.

An external object, such as a SWF file, may be loaded by setting the source attribute. An external object may be either a SWF file or an image file in PNG, JPG, or GIF format.

Attributes

name Description Example
source Specifies the absolute URL to the external object.

<object source="http://example.com/logo.swf"/>

Example

<?xml version="1.0"?>
<viewer xmlns="http://issuu.com/viewer/1.0" backgroundColor="#111111">
 
 <object source="http://example.com/graphics/logo.swf"/>
 
 ...
 
</viewer>

In the example above, the SWF file logo.swf is loaded as an external object.

The object element supports all the common attributes, except the background attributes.

 

Contents