Skip to content

Using Flash Objects (SWF) in Compiled Applications

Adobe Flash® was a popular format for delivering rich Web content over the Internet through the Adobe® Flash Player. ExeOutput for PHP applications can still display Flash content (in SWF format) under certain conditions.

Warning

Adobe Flash is discontinued, and it is recommended to use HTML5 instead. We do not provide technical support or assume liability for Flash content. ExeOutput for PHP does not include a Flash player; however, users who wish to play Flash content within their PHP app can follow the instructions below.

Two methods are available for playing Flash content: using the Flash Player emulator Ruffle or employing an old version of Chromium that still supports the legacy Flash Player.

Using Ruffle

You can use the Flash Player emulator named Ruffle.

Ruffle is a Flash Player emulator that runs natively in Chromium via WebAssembly, making it compatible with ExeOutput apps. Download Ruffle, follow the documentation to integrate the required script into your webpages, and Ruffle will enable your Flash content.

Tip

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

Note

Ruffle is still in development; not all Flash movies may work, especially those requiring ActionScript 3.

Using an old Chromium version

The Chromium Embedded Framework (CEF) used by ExeOutput for PHP can still play Flash content if you choose CEF version 87 as the rendering engine and if the Pepper Flash player is available.

An external requirement exists: 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 the Pepper Flash DLL file due to 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"/>