Click here to Skip to main content
Sign Up to vote bad
good
See more: C#3.0.NET3.5Flash
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 16 May '12 - 23:16


2 solutions

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[^]
  Permalink  
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.
  Permalink  
Comments
purvapatel - 11 Jun '12 - 4:18
http://www.codeproject.com/Questions/386554/Integrate-Flash-file-in-csharp-net#NewEntryGroup
Member 7777754 - 30 Aug '12 - 0:44
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:50
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 449
1 Mahesh Bailwal 373
2 Maciej Los 255
3 CPallini 175
4 Rohan Leuva 175
0 Sergey Alexandrovich Kryukov 9,287
1 OriginalGriff 7,204
2 CPallini 3,923
3 Rohan Leuva 3,211
4 Maciej Los 2,713


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 11 Jun 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid