473,407 Members | 2,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Embedding a SWF file??

Hi,
I have been given a swf file to embed as a banner on our site...

Does anyone have any tips on how I do this??
--
*Many* thanks.
:)
Sep 21 '06 #1
3 1641
You need to include it in the html as an <objector/and <embedtag. Google
for "flash html", you will find plenty of examples.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Buggyman" <Bu******@discussions.microsoft.comwrote in message
news:18**********************************@microsof t.com...
Hi,
I have been given a swf file to embed as a banner on our site...

Does anyone have any tips on how I do this??
--
*Many* thanks.
:)

Sep 21 '06 #2
You will have to add an OBJECT tag in HTML code.

e.g.
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"name="myMovie" WIDTH="1004" HEIGHT="730" ALIGN="" id="rightclick" VIEWASTEXT <PARAM NAME=movie VALUE="AdSource\Flash\<Flash File Name with fileextension>" <PARAM NAME=quality VALUE=high <PARAM NAME=wmode VALUE=opaque <PARAM NAME=menu VALUE=false <EMBED src="AdSource\Flash\<Flash File Name with file extension>"quality=high wmode=opaque menu=false bgcolor=#99CC00 WIDTH=900"HEIGHT="600" NAME="myMovie" ALIGN="" TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"swliveconnect="true"></EMBED></OBJECT>You can modify parameters as per your requirement.ThanksHarshal Pachpande"Buggyman" <Bu******@discussions.microsoft.comwrote in messagenews:18**********************************@m icrosoft.com...Hi,I have been given a swf file to embed as a banner on our site...>Does anyone have any tips on how I do this??--*Many* thanks.:)

Sep 21 '06 #3
Hi!
Thanks for everyones swift responses!
I've now got the banner showing with the code below..

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="600" height="80" VIEWASTEXT>
<param name="movie" value="SWF_files/banner.swf">
<param name="quality" value="high">
<param name="menu" value="true">
<param name="play" value="true">
<param name="wmode" value="Window">
<param name="scale" value="ShowAll">
</object>

what do I need to add to it so that I give it a target/href and title
similar to a <Aattribute?

Thanks again.
--
Many thanks.
:)
"Eliyahu Goldin" wrote:
You need to include it in the html as an <objector/and <embedtag. Google
for "flash html", you will find plenty of examples.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Buggyman" <Bu******@discussions.microsoft.comwrote in message
news:18**********************************@microsof t.com...
Hi,
I have been given a swf file to embed as a banner on our site...

Does anyone have any tips on how I do this??
--
*Many* thanks.
:)


Sep 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Alicia Haumann | last post by:
I accidentally sent this to webmaster@python.org, so this could be a duplicate if "webmaster" forwards it to this list. :{ Hi, there. Thanks for any help that can be offered. I've been...
56
by: alan b | last post by:
I copied it and tried to edit the movie.htm below in the <PARAM NAME=*** location of the file where the videoclip is on my hard drive. It is already recorded by Windows Media Player. My version...
1
by: amit | last post by:
Hello, I am currently studying how to embedd python. I am developing a graphical C++ application. My goal is to embedd python script that will control some kind of animation. I have some...
1
by: Tommy Nordgren | last post by:
I want to write an application that embeds and extends (at least) the Python and Perl interpreters. Now i want to find as much as possible about the Python tools used for extending and embedding...
2
by: Lyn | last post by:
I am trying to embed a picture into a Bound Object Frame (Me!Photograph) with the following code which is based on MS article http://support.microsoft.com/?id=158941: strPathname =...
1
by: gavinpaterson | last post by:
Dear Pythoners, I am writing as I am having trouble embedding a Python program into a Win XP C++ console application. I have written a script file for importing and I am trying to use the...
0
by: Fozzie | last post by:
Hi, I have a problem which is quite circular, and hopefully either someone has encountered something similar or has a reason why this will not work. We have a COM library providing...
3
by: Ollie Riches | last post by:
How do I embed a *.flv file (Flash Video) into an aspx page similar to embedding windows media player active x control? Cheers Ollie Riches
3
by: Jim Hill | last post by:
Well, I've found about a hundred thousand web pages where people have had the same problem I have but nary a page with a solution that works for me. I want to do a simple embed, so I've followed...
0
by: Severian | last post by:
I am working on embedding Python 2.5 in my C++ application, and I have a few questions: 1) My application is multi-threaded; what problems should I be aware of if I create a separate interpreter...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.