|
Quick links:
F-IN-BOX Delphi Edition Help >> TFlashPlayerControl / TTransparentFlashPlayerControl >> Globals SetGlobalOnLoadExternalResourceHandler
Syntax
Remark
From version 3.1 the argument URL has been changed to WideString (in previous versions the type was AnsiString / string).
Description
You can intercept and provide content of external resource a flash movie are loading. For instance, Flash Video.
To play Flash Video from stream you should create flash movie that loads Flash Video from "private" URL (http://FLV/FlashVideo.flv). Flash Movie uses the following code to load Flash Video (put this in under a button in your Swf Flash Movie):
When Flash tries to load Flash Video from http://FLV/FlashVideo.flv, TFlashPlayerControl provides content of FLV. Use global procedure SetGlobalOnLoadExternalResourceHandler to set handle the external resources and provide them to Flash. See the code:
Copyright © 2004 - 2008 Softanics. All rights reserved. Delphi is a trademark of Borland Software Corporation. Macromedia and Shockwave Flash are trademarks of Macromedia, Inc. |