473,946 Members | 1,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embedding flash object into a webpage

39 New Member
I have a flash movie I want to include it in the webpage. How this can be done.
Jun 3 '07 #1
7 3685
kestrel
1,071 Recognized Expert Top Contributor
search flash embed in google, you'll get what you want
Jun 4 '07 #2
steven
143 New Member
Use swfobject http://blog.deconcept. com/swfobject/

This will also help you avoid having to deal with the horrid mish-mash of object and embed that many articles recommend. You will also get around the IE "feature bug" where you are required to click on flash content to activate it before you can interact with it.

All it requires is the javascript being inluded in the head of your html document and a few lines of simple js code that is shown on the website.
Jun 4 '07 #3
kestrel
1,071 Recognized Expert Top Contributor
that will work, but it can get complicated and confusing sometimes.
<embed> and <object> is a more simplified version, using specified tags for attributes

here is an example
Expand|Select|Wrap|Line Numbers
  1. <object width="550" height="400">
  2. <param name="movie" value="somefilename.swf">
  3. <embed src="somefilename.swf" width="550" height="400">
  4. </embed>
  5. </object>
  6.  
Jun 5 '07 #4
nomad
664 Recognized Expert Contributor
that will work, but it can get complicated and confusing sometimes.
<embed> and <object> is a more simplified version, using specified tags for attributes

here is an example
Expand|Select|Wrap|Line Numbers
  1. <object width="550" height="400">
  2. <param name="movie" value="somefilename.swf">
  3. <embed src="somefilename.swf" width="550" height="400">
  4. </embed>
  5. </object>
  6.  
Also make sure when you upload your files that you have your .swf files in the same dir as you have stated in your code.
<embed src="somefilena me.swf" width="550" height="400">
ie somefilename.sw f would be in your root dir.

nomad
Jun 5 '07 #5
kestrel
1,071 Recognized Expert Top Contributor
Also make sure when you upload your files that you have your .swf files in the same dir as you have stated in your code.
<embed src="somefilena me.swf" width="550" height="400">
ie somefilename.sw f would be in your root dir.

nomad
You can upload it into a different directory, if you must. Many people create /images/ directories and keep all their media there, pictures, and flash files. All you have to do then is chance your src to src="images/file.swf"
Jun 8 '07 #6
nomad
664 Recognized Expert Contributor
You can upload it into a different directory, if you must. Many people create /images/ directories and keep all their media there, pictures, and flash files. All you have to do then is chance your src to src="images/file.swf"
Very True Kestrel, Most beginner don't understand that, so I made an example so that they upload the .swf file.

Lat.
nomad.
PS Kestrel what city do you live in. I also live in CA city La Habra.
Jun 8 '07 #7
kestrel
1,071 Recognized Expert Top Contributor
Very True Kestrel, Most beginner don't understand that, so I made an example so that they upload the .swf file.

Lat.
nomad.
PS Kestrel what city do you live in. I also live in CA city La Habra.
i try not to give out that info, but its SoCal
Jun 9 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4153
by: Darren | last post by:
Hi Groups, Simple Task: Embed flash/shockwave swf into an aspx page. Problem: Visual Studio does not recognize attributes: pluginspage, quality, or type. Generates msg: Could not find any attribute 'pluginspage' of element 'embed'.
3
6455
by: b_naick | last post by:
Is there a way to embed a powerpoint slideshow in a webpage? I have an application which requires a slideshow in one of the frames of the application. One option would be to get the users to save the PPT as HTML, grab the images files and upload them to my app. Then use Javascript to do the slideshow. However, it would be a 100 times easier for the users to simply upload a PPT or better PPS file. I can manage the upload of the file no
3
1663
by: Buggyman | last post by:
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. :)
3
13692
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
3004
by: fnustle | last post by:
I've embedded a flash file into an assembly: But when I try to reference it on a web page: <object codebase="http://download.macromedia.com/pub/shockwave/ cabs/flash/swflash.cab" height="100" width="100" classid="clsid:D27CDB6E- AE6D-11cf-96B8-444553540000">
1
5212
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into a div table and after I save it I noticed that the slideshow does not show up and the embed code I added is altered. Can anyone help me figure this out? The embed code that I'm talking about is three quarters down the code page under {PHOTOS},...
5
5441
by: Barrie Wilson | last post by:
anyone have any idea why I might be having an impossible time embedding a YouTube <objectin an .ASPX file: <object width="425" height="355"> <param name="movie" value="http://www.youtube.com/v/zAfQwDizpRo&rel=1"></param> <param name="wmode" value="transparent"></param> <embed src="http://www.youtube.com/v/zAfQwDizpRo&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425"
1
1579
by: Chris72205 | last post by:
How would I go about embeding a flash application into an HTML page? Note that I say flash application, it's not just the average .swf file. How do I embed that or is it possible? I am familiar with the whole "<object>" embedding as I use it to put alot of games (namely .swf) on my site. Would that be used here also? Thanks
0
10153
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11558
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11153
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11334
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10686
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9886
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8248
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4939
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.