Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I am using C#.net 3.0 to Create an application.
I need to add an Flash file to my form and control its Frame(s) via my c# coding. Such as time between frames or jump to xyz frame.

File type such as .swf or .flv. I am using Interop to display it in my application.

I googled many Querys but couldnt find helpful information.


Please let me know if you have any solution or any idea to implement such type.


Prathamesh
Posted

Prathamesh,

Most people trying to do this do so with the flash player active x. Although a few are commenting that F-IN-BOX extends this with extra features.

This article covers the basics of the active-x

Displaying Flash content in a C# WinForms application[^]

This is the page for playing flash with F-IN-BOX and in .Net

F-IN-BOX[^]
 
Share this answer
 
To embed a flash file in C# Windows .Net Application we can use Shockwave Flash Object ActiveX Control.

Follow the Steps to embed flash file:

Step 1: In Tool box right click and select the menu “Choose Items”.

Step 2: From Choose Toolbox Items window select “Com component” tab.

Step 3: Scroll down and make sure “Shockwave Flash Object” is ticked and click ok. The Shockwave Flash Object will now appear in the toolbox.

Step 4: Simply click and drag the Shockwave Flash Object to window Form.

Step 5: Add the Code “Form Load”.

axShockwaveFlash1.LoadMovie(0, Application.StartupPath + “flash.swf”);


These steps embed the flash file and loads “flash.swf” in the application path when window loads.
 
Share this answer
 
Comments
purvapatel 11-Jun-12 4:18am    
http://www.codeproject.com/Questions/386554/Integrate-Flash-file-in-csharp-net#NewEntryGroup
Member 7777754 30-Aug-12 0:44am    
The above code is all about loading an swf file. what if after loading the file I need to control it by my c# code. I want to move an instrument clusters needle by the values dat i send through c# in windows form appplication. This instrument cluster will be made in flash.
please help
purvapatel 30-Aug-12 5:50am    
Can i see your code or Snapshots what are you ask i don't understand properly

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900