This project is read-only.

ASP.Net Flash Web Control - version

Rating:        Based on 1 rating
Reviewed:  0 reviews
Downloads: 4962
Released: Mar 4, 2009
Updated: Mar 4, 2009 by rmgalante
Dev status: Stable Help Icon

Recommended Download

Example GC Flash Control Sample
example, 45K, uploaded Mar 4, 2009 - 4962 downloads

Release Notes

The GC .Net Flash Control supports the following features.

1. Play SWF files
2. Drag and Drop the GC Flash Control from toolbox to Web Form
3. Flash detection
4. Flash minimum version detection
5. Flash express install - this is optional
6. Supports the AS3 External Interface
7. More than one .Net Flash Web Control on the web form (new in version
8. AbsolutePath property to specify where the flash and javascript files reside (new in version
9. DivId property to specify a div tag id, where the web control will inject its javascript (new in version

I have attached a zip file to this release, which is named This file contains the sample that I used to validate the web control. It contains the following items.

Bin\GCFlashControl.dll - this is the web control
1_buttons.swf - this flash movie is loaded by the control
AC_OETags.js - from the adobe detection kit with some minor modifications for the new div tag logic
Default.aspx - the test web form
Default.aspx.vb - the test web form's code file
playerProductInstall.swf - from the adobe detection kit
web.config - standard web config file

Create a virtual directory on your machine called TestFlashControl. Copy the contents of the zip file to that directory. Run the web form, Default.aspx. You will see the demo flash sample on your screen.

If you load Visual Studio 2005 or Visual Studio 2008, you can add the GC Flash Control, GCFlashControl.dll, to your toolbox and drag and drop it on your web forms. When you drop the web control on your form, you will see the following markup.

<gcfl:GCFlashControl id="GCFlashControl1" runat="server" Width=1 Height=1 SwfMovie=movie MajorVersion=6 MinorVersion=0 RequiredRevision=65>

Now you can configure the attributes as desired. At a minimum you will need to add the following attributes: Width, Height, MajorVersion, MinorVersion, RequiredRevision, and SwfMovie.

The .Net Flash Control is a templated control and has two optional templates. They are shown below.

No Flash Template: <br />
You need flash to run this application.
<a href="">Get Flash</a>
<br />
No Script Template: <br />
Alternate HTML content should be placed here. <br />
This content requires the Adobe Flash Player.
<a href="">Get Flash</a>

You insert these templates between the web control's tags (see the gcfl:GCFlashControl markup above). These templates are optional. If you add more than one web control to your page, only one of the controls has to specify these templates. The first control that specifies a "NoFlashTemplate" and a "NoScriptTemplate" will be the source for the details in your web form.

The GC .Net Flash Control supports the following properties. Bold items indicate the default values.

AbsolutePath - if you add this attribute, it must be a full path, such as /TestFlashControl/Swf. It's a path, not a filespec.
Align - middle, left, right, top, bottom
AllowFullScreen - false, true
AllowScriptAccess - sameDomain, never, always
CodeBase -,0,124,0
DeviceFont - false, true
DivId - specifies the id of the div tag where javascript is injected so you can place your flash control where you want to on the page
EnableExpressInstall - false, true
Loop - false, true
MajorVersion - 6
MinorVersion - 0
Menu - false, true
Play - false, true
PlugInsPage -
Quality - low, medium, high, autoLow, autoHigh, best
RequiredRevision - 65
SAlign - middle, left, right, top, bottom, topLeft, topRight, bottomLeft, bottomRight
Scale - showAll, noBorder, exactFit, noScale
SwfMovie - your movie
WindowMode - window, direct, gpu, transparent, opaque

Reviews for this release