Flash Embedding Sample Code

Add Flash functionality to a web page by using an ASP.Net Server control that encapsulates the Flash HTML syntax and include SWFObject scripts.
Follow This Link for a Live Demo
<%@ Page Title="Aviation Web Development :: Flash Demo" Language="vb" AutoEventWireup="false" MasterPageFile="~/awd.master" CodeBehind="flash.aspx.vb" Inherits="www.aviationwebdesign.co.uk.flash1" %>
<%@ Register Assembly="AWDServerControls" Namespace="AWDServerControls" TagPrefix="awdControls" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>Flash Embedding Demonstration</h1>
<div style="text-align:center">
    <awdControls:Flash ID="Flash1" runat="server" swf="/flash/myPrintLink.swf" width="640" Height="480" allowFullScreen="true"/>
    <a href="/flash/myPrintLink.swf" target="_blank">Full Screen</a>
Public Partial Class flash1
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

End Class