by JCodes
22. November 2009 10:38
Many times asp.net developers need to use flash as a part of their web projects.The handling of those jumk looking flash embed codes becomes awkward so i decided to package those codes in to our own server controls.
Its extremely easy to use my server controls so you may give it a try...
Step 1. Download the asp.net Swf Server control for displaying flash file from here JCodesSwfControl.dll (7.50 kb)
Step 2. Drop this dll in your Bin folder of the asp.net application.
Step 3. On your asp.net Page below
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="myfolders.aspx.cs" Inherits="myfolders" %>
// my asp.net swf control declaration
<%@ Register Assembly="JCodesSwfControl" Namespace="JCodesSwfControl" TagPrefix="cc1" %>
step4) Now drop this piece of tags where you need to display a flash file
<cc1:JcodesSWFControl ID="JcodesSWFControl1" runat="server" SWFPath="~/joke.swf" />
A Good thing with this control is that you can select and change the properties from properties box for Height , Width , SWFPath (dialog box support for file choosing)
Lemme know how you like it !!!