|
Quick links:
F-IN-BOX Delphi Edition Help >> TFlashPlayerControl / TTransparentFlashPlayerControl >> Events >> Extensions OnLoadExternalResourceEx
Syntax
[ Delphi ]
TFlashPlayerControlOnLoadExternalResourceEx = procedure(ASender: TObject; const URL: WideString; Stream: TStream; out bHandled: Boolean) of object; OnLoadExternalResourceEx: TFlashPlayerControlOnLoadExternalResourceEx; [ Builder C++ ]
typedef bool *BooleanRef;
typedef void __fastcall (__closure *TFlashPlayerControlOnLoadExternalResourceEx)
(System::TObject* ASender,
const WideString URL,
Classes::TStream* Stream,
BooleanRef bHandled);
Description
The event is called only for movies loaded from a TStream. For other cases, please use:
SetGlobalOnLoadExternalResourceHandlerEx
The event is called each time with flash loads some resource using relative path, e.g. "/images/image.jpg".
Instead of OnLoadExternalResource, with OnLoadExternalResourceEx you can set bHandled to true, create a thread that writes all data to passed TStream Stream.
See more here Features
Copyright © 2004 - 2008 Softanics. All rights reserved. Delphi is a trademark of Borland Software Corporation. Macromedia and Shockwave Flash are trademarks of Macromedia, Inc. |