## Multimedia Objects

Multimedia objects, including applets, Flash, Real Media, and Windows Media objects can be inserted in the report areas listed in Component placement.

The following explains how to insert different multimedia object into a report as required:

### Inserting an Applet object

1. Click Insert > Multimedia Objects > Applet (or drag Applet from the Toolbox panel to the report) to display the Applet Parameter dialog. See the dialog.

2. Type the code for this applet in the Code field.
3. Set the plug-in page as required. By default, it is `http://java.sun.com/products/plugin/index.html#download`.
4. Specify the archive file (.zip or .jar) by clicking the Browse button.
5. Click OK in the dialog to insert the object in the required location.

When you use a Java technology-enabled web browser to view a report that contains an applet, the applet's code will be transferred to your system and executed by the web browser's Java Virtual Machine (JVM).

### Inserting a Flash object

1. Insert > Multimedia Objects > Flash (or drag Flash from the Toolbox panel to the report) to display the Flash Parameter dialog. See the dialog.

2. Click the Browse button to select a Flash file, or type the URL of a Flash file in the File Name/URL box.
3. Set the plug-in page as required. By default, it is `http://www.macromedia.com/go/getflashplayer`.
4. Specify the properties so as to control the options when playing the Flash file in JReport Web.
5. Click OK in the dialog to insert the object in the required location.

When you view the report result with a web browser in which the Flash Player plug-in has been installed, the media file will be played according to your settings.

### Inserting a Real Media object

1. Insert > Multimedia Objects > Real Media File (or drag Real Media File from the Toolbox panel to the report) to display the Real Player Parameter dialog. See the dialog.

2. Click the Browse button to select a Real media file, or type the URL of a media file in the File Name/URL box.
3. Set the plug-in page as required. By default, it is `http://www.real.com/`.
4. Specify the properties so as to control the options when playing the media file in JReport Web.
5. Click OK in the dialog to insert the object in the required location.

When you view the report result with a web browser in which the Real Player plug-in has been installed, the media file will be played according to your settings.

### Inserting a Windows Media object

1. Insert > Multimedia Objects > Windows Media File (or drag Windows Media File from the Toolbox panel to the report) to display the Windows Media Player Parameter dialog. See the dialog.

2. Click the Browse button to select a Windows media file, or type the URL of a media file in the File Name/URL box.
3. Set the plug-in page as required. By default, it is `http://www.microsoft.com/Windows/MediaPlayer/`.
4. Specify the properties so as to control the options when playing the media file in JReport Web.
5. Click OK in the dialog to insert the object in the required location.

When you view the report result with a web browser in which the Windows Media Player plug-in has been installed, the media file will be played according to your settings.

When a multimedia object has been inserted into a report, you can customize its appearance and behavior by setting properties in the Report Inspector, which can be saved as a CSS style for future use (for details, see Creating a CSS style).

See an example: The SampleComponents catalog, included with JReport Designer, contains reports that have examples of how each component type could be used in a report. For the label component example, open `<install_root>\Demo\Reports\SampleComponents\MultimediaObject.cls`.