F-IN-BOX Delphi Edition Help >> TFlashPlayerControl / TTransparentFlashPlayerControl >> Events >> Extensions



[ 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);


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

More about TFlashPlayerControl
Copyright © Softanics. All rights reserved
F-IN-BOX is a registered trademark of Softanics|Delphi is a trademark of Borland Software Corporation|Macromedia and Shockwave Flash are trademarks of Adobe, Inc.