This project is read-only.

flash banner

Topics: User Forum
Jun 29, 2010 at 4:56 PM
Edited Jul 11, 2010 at 5:20 PM

I have a question i have my own little flash banner and i would like to know if its possible to insert it instead of the picture

Jul 11, 2010 at 10:06 AM

of course ,where u wana insert it?

Jul 11, 2010 at 5:21 PM

in the header of the theme

Jul 11, 2010 at 7:53 PM

This is quite easy to do - put it in the skin of the theme - see http://www.balfourlaw.co.uk for an example.

Jul 11, 2010 at 8:37 PM
Edited Jul 11, 2010 at 8:43 PM

sorry im new to aspx, should i add the code in here

Jul 11, 2010 at 8:53 PM

Here's how I did it:

I put the .swf file in the root directory of the website.

<%@ Register TagPrefix="cc1" Namespace="MyWebPagesStarterKit.Controls" %>
<%@ Register TagPrefix="RJS" Namespace="RJS.Web.WebControl" Assembly="RJS.Web.WebControl.PopCalendar" %>
<%@ Register TagPrefix="cc3" Namespace="MyWebPagesStarterKit.Providers" %>
<cc1:TemplatedContent runat="server" SkinID="Top">
    <ContentTemplate>
        <div align="center">
            <div id="head">
                <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="930" HEIGHT="100" id="Balfourlaw" ALIGN="">
                  <PARAM NAME=movie VALUE="Balfourlaw.swf">
                  <PARAM NAME=loop VALUE=false>
                  <PARAM NAME=quality VALUE=high>
                  <PARAM NAME=bgcolor VALUE=#FFFFFF>
                  <param NAME="wmode" VALUE="transparent">
                  <EMBED src="Balfourlaw.swf" loop=false quality=high bgcolor=#FFFFFF  WIDTH="930" HEIGHT="100" NAME="Balfourlaw" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
                 </OBJECT>
                <div id="utilities"><cc1:LoginStatus runat="Server" id="LoginStatus1" />&nbsp;&nbsp;&nbsp;<cc1:SearchLink runat="Server" id="SearchLink1" /></div>
            </div>
            <table cellpadding="0" cellspacing="0" border="0" id="mainTable">
                <tr>
                    <td id="footer" colspan="3"></td>
                </tr>
                <tr>
                  <td id="left">
                    <div id="navigation">
                      <asp:Menu ID="Menu1"
                                    runat="server"
                                    DataSourceID="menuDataSource"
                                    DynamicHorizontalOffset="0"
                                    DynamicVerticalOffset="0"
                                    StaticEnableDefaultPopOutImage="false"
                                    DynamicEnableDefaultPopOutImage="false"
                                    ItemWrap="true"
                                    StaticTopSeparatorImageUrl="_images/nav_line.gif"
                                    DynamicBottomSeparatorImageUrl="_images/nav_line.gif"
                                    SkipLinkText=""
                                >
                                    <StaticMenuItemStyle CssClass="nav" Width="180px" />
                                    <StaticSelectedStyle CssClass="nav_selected" />
                                    <DynamicMenuItemStyle CssClass="sublevel" Width="180px" />
                                    <DynamicSelectedStyle CssClass="sublevel_selected" />
                                    <DynamicMenuStyle CssClass="sublevel" />
                                </asp:Menu>
                                <!-- MWPSKex.#003 -->
                                <cc3:CustomSiteMapDataSource runat="server" ID="menuDataSource" ShowStartingNode="false" />
                            </div>
                           <cc1:SidebarControl runat="server" ID="SidebarControl1"/>


                  </td>
                  <td id="separator"></td>
                  <td id="right">
                    <div id="contentContainer">
    </ContentTemplate>
</cc1:TemplatedContent>

...

Jul 11, 2010 at 9:13 PM

thank you i got it to works

Jul 11, 2010 at 9:30 PM

Here’s the first part of the skin file for http://www.balfourlaw.co.uk so that you can see how I did it:

The .swf file is located in the root directory of the website.

<%@ Register TagPrefix="cc1" Namespace="MyWebPagesStarterKit.Controls" %>

<%@ Register TagPrefix="RJS" Namespace="RJS.Web.WebControl" Assembly="RJS.Web.WebControl.PopCalendar" %>

<%@ Register TagPrefix="cc3" Namespace="MyWebPagesStarterKit.Providers" %>

<cc1:TemplatedContent runat="server" SkinID="Top">

    <ContentTemplate>

       

           

           

               

                   

               

               

                 

                 

                 

                   

                           <cc1:SidebarControl runat="server" ID="SidebarControl1"/>