Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#3.0 .NET3.5 Flash
I am using 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.

Posted 17-May-12 0:16am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.
purvapatel at 11-Jun-12 4:18am
Member 7777754 at 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 at 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)

Advertise | Privacy | Mobile
Web01 | 2.8.150129.1 | Last Updated 11 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100