IÒ‘m in trouble.
I have a swf that contain a photoplay of clip inside. At that rate, to open that swf in a way correct, setei in the Component Inspector of clip the ways where the photoplay and the SteelExternalPlayMute are. Only in accordance with the code down, when go , he takes the screen all
All of swf is into a DLL, above is the code that run on LoadExternalResource event.
If i try i run in IE itÒ‘s works fine, just in Delphi itÒ‘s crash.
Code: Select all
FlashPlayerControlLoadExternalResource(ASender: TObject;
begin
DLL := LoadLibrary(Pchar(NomeDLL));
ResourceStream := TResourceStream.Create(DLL, strURLTratada, 'LSH');
FlashPlayerControl.LoadMovieFromStream(0, ResourceStream);
ResourceStream.Free;
end;
Thanks