SetGlobalOnLoadExternalResourceHandlerAsync

Syntax

Delphi

TFlashPlayerControlOnGlobalLoadExternalResourceAsync = procedure(const Path: WideString; out Stream: TStream) of object;
 
procedure SetGlobalOnLoadExternalResourceHandlerAsync(Handler: TFlashPlayerControlOnGlobalLoadExternalResourceAsync);

C++Builder

typedef void __fastcall (__closure *TFlashPlayerControlOnGlobalLoadExternalResourceAsync)(
   const System::WideString Path, 
   /* out */ Classes::TStream* &Stream);
 
void __fastcall SetGlobalOnLoadExternalResourceHandlerAsync(TFlashPlayerControlOnGlobalLoadExternalResourceAsync Handler);

Description

The SetGlobalOnLoadExternalResourceHandlerAsync procedure registers a global handler that is called when Flash requests external content such as FLV video using a full path (for example, "C:/videos/movie.flv").