Si te defiendes con el inglés, aquí tienes como hacerlo funcionar, yo he hecho la prueba y funciona.
Cita:
To make use of SWF files in your Delphi application you should have the swf plugin
installed then follow these steps:
Um SWF-Dateien in einer Delphi-Applikation gebrauchen zu können, muss das SWF-Plugin
installiert sein.
{English}
In the Delphi IDE
- click on "Component", "Import ActiveX Control"
- chose "Shockwave Flash" and click on "install".
Now you have a TShockwaveFlash component in your IDE on the ActiveX
tabsheet.
Place the TShockwaveFlash Component onto your form, resize it as needed but for now do not assign a movie to it.
You will need to register the ocx file if it is not installed on the target computer. So you should have a resource file with
- the swflash.ocx and your Flash ( *.swf) file.
- Copy swflash.ocx (from i.e. windows\system32\macromed\flash) and
your custom swf file to your project path.
- Create a textfile with a code like this:
SHOCKWAVEFILE RCDATA yourfile.swf
SHOCKWAVEOCX RCDATA swflash.ocx
(Where yourfile.swf is your swf-file)
- Save this file as flash.rc
- Goto Commandline, change to your project dir and enter the line:
"Brcc32 -r flash.rc"
- Now you have your new resource as flash.res file
{Deutsch}
In der Delphi IDE:
|
Un Saludo.