Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 16th, 2005, 11:24 AM
Authorized User
 
Join Date: Jan 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Flash AdRotator

hi out there, i'm facing now the adrotator handicap of displaying only gif not swf. anynone has the c# code to create an user control which inherits from adrotator that support swf?
thanks everybody!!!!
 
Old February 17th, 2005, 10:49 AM
Authorized User
 
Join Date: Jun 2004
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to hlchuah77
Default

In fact, I was going mad with this problem before, and even until now I still not able to embed .swf file in aspnet page successfully. I think this is one of the drawback of aspnet.

Go to http://p2p.wrox.com/topic.asp?TOPIC_ID=23529

There was some discussion about the same topics before.

 
Old February 17th, 2005, 07:22 PM
Registered User
 
Join Date: Feb 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've got the swf file displayed within a table cell. I'm not changing it by rotating but it is playing on my site.
Change the xxxxxxxx to your flash file name. The embed tag is used by Netscape, and the Object tag by IE.


<TD id="TD1" style="HEIGHT: 114px" vAlign="top">
<OBJECT CodeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height="114" width="250" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
                                <PARAM NAME="_cx" VALUE="6615">
                                <PARAM NAME="_cy" VALUE="3016">
                                <PARAM NAME="FlashVars" VALUE="">
                                <PARAM NAME="Movie" VALUE="xxxxxxxxxx.swf">
                                <PARAM NAME="Src" VALUE="xxxxxxxxxx.swf">
                                <PARAM NAME="WMode" VALUE="Window">
                                <PARAM NAME="Play" VALUE="-1">
                                <PARAM NAME="Loop" VALUE="-1">
                                <PARAM NAME="Quality" VALUE="High">
                                <PARAM NAME="SAlign" VALUE="">
                                <PARAM NAME="Menu" VALUE="-1">
                                <PARAM NAME="Base" VALUE="">
                                <PARAM NAME="AllowScriptAccess" VALUE="always">
                                <PARAM NAME="Scale" VALUE="ShowAll">
                                <PARAM NAME="DeviceFont" VALUE="0">
                                <PARAM NAME="EmbedMovie" VALUE="0">
                                <PARAM NAME="BGColor" VALUE="">
                                <PARAM NAME="SWRemote" VALUE="">
                                <PARAM NAME="MovieData" VALUE="">
                                <embed src="xxxxxxxxxxx.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
                                    type="application/x-shockwave-flash" width="250" height="114">
</embed>
</OBJECT>
</TD>

 
Old February 18th, 2005, 08:38 AM
Authorized User
 
Join Date: Jan 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks, i'll try this, and put some logic to simulate a rotator and i think it could work.






Similar Threads
Thread Thread Starter Forum Replies Last Post
AdRotator Problem deejayclutch ASP.NET 1.0 and 1.1 Basics 2 August 21st, 2004 08:45 PM
Adrotator problem 2 bodhibrata General .NET 1 August 3rd, 2004 03:19 AM
AdRotator problem bodhibrata General .NET 1 August 3rd, 2004 02:16 AM
Adrotator tonyo Classic ASP Components 1 February 28th, 2004 09:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.