Mike Chambers
Macromedia Flash Community Manager
Embedding Macromedia Flash Player in a C# Application to Display Stock Information
Note: The Stock History sample application mentioned in this article was part of DevNet Resource Kit (DRK) Volume 4, which was available exclusively to DevNet Professional and DevNet Essentials subscribers. The DevNet Subscriptions program has been discontinued and DRK Volume 4 is no longer available. This article is for legacy purposes only.
Stock History is a sample Windows application that displays and charts historical stock price information (see Figure 1). Written in C#, it uses the Microsoft .NET Framework and demonstrates how to embed the Macromedia Flash Player ActiveX control within Windows applications. In this application, Macromedia Flash Player charts the stock prices.
Figure 1. Stock History sample application screen
Table of Contents
- Getting Started with the Stock History Sample Application
- Embedding and Communicating with the Macromedia Flash Player ActiveX Control in Windows Applications Written in C#
More Resources
This article shows you how to embed the Macromedia Flash Player ActiveX control within a Windows C# application and pass in complex data types from C# to the Macromedia Flash movie. However, this is only a small subset of the functionality possible.
While there are not currently many resources for embedding the Macromedia Flash Player ActiveX control within Windows applications, the following resources can be useful:
- Scripting with Macromedia Flash (TechNote 9196)
- Scripting with Flash Player and ActiveX (TechNote 12059)
- Macromedia Flash Slide Show (sample application)
- Macromedia Flash and VB: A Potent Combination (PDF-format white paper from Mindfire Solutions)
About the author
Mike Chambers has been creating applications using primarily Macromedia Flash, Generator, and Java for the past three years. He also has experience working with ASP, JSP, PHP, and ColdFusion. Recently, he has been working with Macromedia Flash and embedded devices and contributing to the "Macromedia Flash Pocket PC Player Authoring Kit." He is co-author of "Flash Enabled" and "Generator and Flash Demystified." Mike received his Masters in International Economics and European Studies from the John Hopkins School of Advanced International Studies (SAIS) in 1998.
Submit feedback on our tutorials, articles, and sample applications.