Ver Mensaje Individual
  #5  
Antiguo 08-03-2007
Roilo Roilo is offline
Miembro
 
Registrado: nov 2005
Ubicación: Mayarí, Cuba
Posts: 143
Reputación: 21
Roilo Va por buen camino
Les cuento los antecedentes....
Ayer estube buscando la forma de reproducir "películas" flash en aplicaciones Delphi y encontré "algo" que seguí con todos los pasos y a partir de ahí BOOMMM!!! comenzó el problema.
Ese algo que encontré :
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:
Qué habrá pasado que los .swf ya no se ven en mis páginas.

Última edición por Roilo fecha: 09-03-2007 a las 15:56:28.
Responder Con Cita