Skip to content

Using Flash Objects (SWF) in Compiled Applications

Adobe Flash® was a file format used for rich Web content over the Internet using Adobe® Flash Player. ExeOutput for PHP applications can still display Flash content (in SWF format) on some conditions.

Warning

Adobe Flash is discontinued and thus you should use HTML5 instead. We do not provide any technical support nor liability for Flash content. ExeOutput for PHP is not able to play Flash content alone, since no Flash player is embedded. Users who want to play Flash inside their PHP app can follow the instructions below.

Two possibilities for playing Flash content are available: the Flash Player emulator Ruffle or using an old Chromium version that still handles the legacy Flash Player.

Using Ruffle

You can use the Flash Player emulator named Ruffle.

Ruffle runs natively in Chromium through the use of WebAssembly and, thus, it also works in ExeOutput apps. Just download it, read the documentation to add the required script to your webpages and Ruffle will run your Flash content.

Tip

See working samples in the Flash topic of the General Demonstration.

Note

Ruffle is still under construction, so all Flash movies may not work (especially Flash movies requiring ActionScript 3).

Using an old Chromium version

The Chromium Embedded Framework used by ExeOutput for PHP can still play Flash if you choose CEF version 87 as the rendering engine and if a special build of the Flash Player named Pepper Flash is available.

Thus, there is an external requirement: the Pepper Flash DLL file must be placed in the same folder as your application EXE file, and it must be redistributed to your end users. ExeOutput for PHP does not provide you nor your customers with this Pepper Flash DLL file for legal reasons.

The DLL file begins with pepflashplayer32. For instance, place the Peper Flash DLL pepflashplayer32_32_0_0_238.dll into the EXE folder and the Chromium engine will recognize it to play Flash files.

Finally, use the standard EMBED HTML tag to display Flash movies. Example:

<embed align=""
   type="application/x-shockwave-flash"
   name="myMovieName2"
   bgcolor="#FFFFFF"
   quality="high"
   src="assets/ball.swf"
   height="400" width="160"
   href="assets/ball.swf"/>