User Guide

Example: Using the External API with an ActiveX container 515
The Introvert IM C# files can be found in the Samples/IntrovertIM_CSharp folder. The
application consists of the following files:
File Description
AppForm.cs The main application file with the C# Windows
Forms interface.
bin/Debug/IntrovertIMApp.swf The SWF file loaded by the application.
ExternalInterfaceProxy/
ExternalInterfaceProxy.cs
The class that serves as a wrapper around the
ActiveX control for External Interface
communication. It provides mechanisms for
calling and receiving calls from ActionScript.
ExternalInterfaceProxy/
ExternalInterfaceSerializer.cs
The class that performs the task of converting
Flash Player’s XML format messages to .NET
objects.
ExternalInterfaceProxy/
ExternalInterfaceEventArgs.cs
This file defines two C# types (classes): a
custom delegate, and an event arguments
class, which are used by the
ExternalInterfaceProxy class to notify a listener
of a function call from ActionScript.
ExternalInterfaceProxy/
ExternalInterfaceCall.cs
This class is a value object representing a
function call from ActionScript to the ActiveX
container, with properties for the function name
and parameters.
bin/Debug/IntrovertIMApp.swf The SWF file loaded by the application.
obj/AxInterop.ShockwaveFlashObjects.dll,
obj/Interop.ShockwaveFlashObjects.dll
Wrapper assemblies created by Visual Studio
.NET that are required to access the Flash
Player (Shockwave
® Flash) ActiveX control
from managed code.