BackPrevious Page Next PageNext

Multimedia Objects

Inserting an applet object

Inserting a flash object

Inserting a RealMedia object

Inserting a Windows Media object

Multimedia objects, including Applet, Flash, RealMedia, and Windows Media objects can be inserted in the report areas listed in Component Placement.

Multimedia objects are not supported in library components, and Applet is not supported in page reports that are created using business views.

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

Inserting an applet object

  1. Position the mouse pointer at the destination where you want to insert the object.
  2. Do any of the following:

    The Applet Parameter dialog appears.

    Applet Parameter dialog

  3. Type the code for this applet in the Code field.
  4. In the Plug-in Page field, set the URL of the plug-in page. By default, it is http://java.sun.com/products/plugin/index.html#download.
  5. Click the Browse button next to the Archive field to specify the archive file (.zip or .jar).
  6. 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. Position the mouse pointer at the destination where you want to insert the object.
  2. Do any of the following:

    The Flash Parameter dialog appears.

    Flash Parameter dialog

  3. Click the Browse button to select a flash file, or type the URL of a flash file in the File Name/URL field.
  4. In the Plug-in Page field, set the URL of the plug-in page. By default, it is http://www.macromedia.com/go/getflashplayer.
  5. Specify the properties so as to control the options when playing the flash file in Page Report Studio or Web Report Studio.
  6. 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 RealMedia object

  1. Position the mouse pointer at the destination where you want to insert the object.
  2. Do any of the following:

    The RealPlayer Parameter dialog appears.

    RealPlayer Parameter dialog

  3. Click the Browse button to select a RealMedia file, or type the URL of a RealMedia file in the File Name/URL field.
  4. In the Plug-in Page field, set the URL of the plug-in page. By default, it is http://www.real.com/.
  5. Specify the properties so as to control the options when playing the media file in Page Report Studio or Web Report Studio.
  6. 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 RealPlayer plug-in has been installed, the media file will be played according to your settings.

Inserting a Windows Media object

  1. Position the mouse pointer at the destination where you want to insert the object.
  2. Do any of the following:

    The Windows Media Player Parameter dialog appears.

    Windows Media Player Parameter dialog

  3. Click the Browse button to select a Windows Media file, or type the URL of a Windows Media file in the File Name/URL field.
  4. In the Plug-in Page field, set the URL of the plug-in page. By default, it is http://www.microsoft.com/Windows/MediaPlayer/.
  5. Specify the properties so as to control the options when playing the media file in Page Report Studio or Web Report Studio.
  6. 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Ā further edit it if required (to do this, right-click the object and select Edit WebOLEObject from the shortcut menu).

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.

BackPrevious Page Next PageNext