Example Code

Play Macromedia Flash Files in LabVIEW

Code and Documents

Attachment

This VI prompts the user for an FLV file before the VI can be ran. Once the appropriate file is selected, the programcan be ran and the window size can be changed with 2 numeric sliders. Though the program asks for FLV files, it will also accept csw files if manually directed to. The start, back, and stop buttons all correspond to the flash video/game, but are not always supported by the creator. However, the far right stop button is for the VI.

Chris Van Horn
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Bill Nye
Member
Member
on

I just tested this on a windows machine which already has the flash player installed. This is a great feature. I selected and ran a .swf file (created by flash) inside labview.

I'd like to include a variation of this in my stand alone build applications, tutorials could be included, etc, but since the host machine plug in collection is unknown, does this program have a way to handle a host machine without the flash player installed?

It would be even better if there is a way to communicate back and forth from the swf file to labview, since it would be much easier to design nice gui interfaces in flash. Does anyone know if that is possible? To pass variables back and forth for example?

MorganS
NI Employee (retired)
on

Tested this example - it did work with Shockwave (.swf) files for me, but not .flv's.

Contributors