SWFObject Control for Microsoft.Net
C# JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Properties
Res
Arjones.Controls.csproj
Arjones.Controls.csproj.user
Arjones.Controls.suo
README
SWFObject.cs

README

Quick usage:

* Compile project.

* Add on your web.config file:

<system.web>
	<pages>
		<controls>
			<add tagPrefix="arj" namespace="Arjones.Controls" assembly="Arjones.Controls"/>
                        ...
                        ...
		</controls>
                ...
                ...
	</pages>
</system.web>

* On your .ASPX page includes control:

<body>
    <form id="form1" runat="server">
    <div>
        <arj:SWFObject ID="Flash1" runat="server" Width="900" Height="200" FlashUrl="Calendar.swf" AlternateContent="Calendar Goes Here" />
    </div>
    </form>
</body>

* On your .ASPX.CS you can handle set FlashVars:

    protected void Page_Load(object sender, EventArgs e)
    {
        Flash1.FlashVars.Add("MyName", "Gustavo");
    }