IPrxFlash

Assembly: Report;

Namespace: Prognoz.Platform.Interop.Report;

Description

The IPrxFlash interface contains properties and methods that are used to work with Flash objects of a regular report.

Inheritance Hierarchy

IPrxFlash

Comments

Each Flash object uses an SWF movie that can use various methods of sending data to the container (HTML page or program that started the movie: fscommand function or ExternalInterface function.

The fscommand function provides data exchange between an SWF movie and its container. The JavaScript function returns a string value.  

The ExternalInterface class was introduced in Flash Player 8; functionally it is similar to the fscommand method, but it is more flexible and up-to-date. ExternalInterface is an external API interface that provides direct relationship between ActionScript and Flash Player container. The JavaScript function may return value of any type (number, string, array, object, and so on) and these values are passed to Flash unchanged. Adobe company recommends using ExternalInterface to set relationships between JavaScript-ActionScript components. ExternalInterface also provides better functionality to interact between ActionScript and applications containing ActiveX elements.

If the SWF movie uses fscommand, you can determine FSCommandAction handler for the Flash object.

If the SWF movie uses ExternalInterface, you can determine the FlashCallAction handler for the Flash object.

Use the DoFSCommandAction and DoFlashCallAction methods for software emulation of an action.

NOTE. It does not support a Flash object consisting of one frame on displaying in the report view mode, on report export and in the web application.

Properties

  Property name Brief description
ExportCondition The ExportCondition property determines a condition of exporting Flash objects.
ExportConditionParams The ExportConditionParams property determines parameters of Flash object export.
FlashCallAction The FlashCallAction property determines a handler of FlashCall events for a Flash movie.
FSCommandAction The FSCommandAction property determines a handler of FSCommand events for a Flash movie.
ShockWaveFlash The ShockWaveFlash property uses properties and methods of the IShockWaveFlash  interface to work with a Flash object.

Methods

  Method name Brief description
DoFlashCallAction The DoFlashCallAction method generates the ExternalInterface event for a Flash movie.
DoFSCommandAction The DoFSCommandAction method generates the FSCommand event for a Flash movie.
LoadFromFile The LoadFromFile method loads a Flash object from a file.

See also:

Report Assembly Interfaces