Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 6th, 2006, 3:49 AM   #1
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 159
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
trying to put a swf file on a webpage.

i have got a banner for a website. i am trying to figure out how to put it on there.

the banner is 6.2mb

here is the banner www.freewebs.com/warthogchevy69/banner.swf

and here is the website www.freewebs.com/warthogchevy69/


if someone can help me plz do.
__________________
Demon101 Production's

Code Forums
demon101 is offline   Reply With Quote
Old Jun 6th, 2006, 9:12 AM   #2
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
Quote:
Originally Posted by demon101
i have got a banner for a website. i am trying to figure out how to put it on there.

the banner is 6.2mb

here is the banner www.freewebs.com/warthogchevy69/banner.swf

and here is the website www.freewebs.com/warthogchevy69/


if someone can help me plz do.

put this in your HTML code:

<embed src="http://www.freewebs.com/warthogchevy69/banner.swf">

you also have the option of using height= and width= in that tag as well if you want.
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Jun 6th, 2006, 7:12 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
The correct HTML is the <object> tag. I believe the <embed> tag was created by Netscape developers before the standard, but don't quote me on that. It's suggested that you provide both, but no one uses Netscape any more, so you only really need the <object> tag. The W3C seem to think so, anyway.

<object width="{width}" height="{height}">
    <param name="movie" value="{filename}.swf">
</object>
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jun 7th, 2006, 7:57 PM   #4
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 159
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
i am going to be using the banner as the title on my site.

it is a flash thing not a move.
__________________
Demon101 Production's

Code Forums
demon101 is offline   Reply With Quote
Old Jun 7th, 2006, 8:23 PM   #5
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,034
Rep Power: 5 lectricpharaoh will become famous soon enough
Don't you think 6.2 megs is a little bit excessive for a bloody banner? Even if people have broadband, that still will take a few seconds, and if your site ever gets busy, it'll get even slower. Not to mention, every time someone clicks 'refresh', it'll re-download the bloody thing, and you might run into bandwidth limits (not sure if those free ones have such limits, but I imagine so).
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jun 14th, 2006, 10:20 AM   #6
Uday
Programmer
 
Join Date: Oct 2005
Location: India
Posts: 30
Rep Power: 0 Uday is on a distinguished road
Quote:
Don't you think 6.2 megs is a little bit excessive for a bloody banner? Even if people have broadband, that still will take a few seconds, and if your site ever gets busy, it'll get even slower. Not to mention, every time someone clicks 'refresh', it'll re-download the bloody thing, and you might run into bandwidth limits (not sure if those free ones have such limits, but I imagine so).
Exactly.

Putting such large animations (6.2MB) :eek: Makes the website slower and it is against good website designing rules. It is possible but it will take a lot of bandwidth and most of the users will just close since the page will take a lot of time to load and those who visited will never visit again. This fails the main objective of a good website. If it is so necessary to show it to the user then provide a link on the main page. Those who are interested will watch others won't. Problem solved.
Uday is offline   Reply With Quote
Old Jun 14th, 2006, 11:01 AM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Oh my poor Bell 103 modem....
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 14th, 2006, 11:21 AM   #8
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
Quote:
Originally Posted by Ooble
The correct HTML is the <object> tag. I believe the <embed> tag was created by Netscape developers before the standard, but don't quote me on that. It's suggested that you provide both, but no one uses Netscape any more, so you only really need the <object> tag. The W3C seem to think so, anyway.
the reason i use embed is because that is what flash itself puts in the html code when you use the publish function within the studio.
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Jan 22nd, 2008, 6:17 PM   #9
Fall Back Son
Professional Programmer
 
Join Date: Oct 2006
Posts: 257
Rep Power: 2 Fall Back Son is on a distinguished road
Re: trying to put a swf file on a webpage.

I found this thread in search, but I'm not sure how it relates to my problem. The code didn't work for me. I want to put up a banner also, a banner which is already the right size and everything. . it's built into the link. I want to do this in Javascript, which I understand is embedded in html. (Another question: Can I use both html and Javascript inbetween the tags for the start & end of the javascript. <script type=javascript> ? )
Fall Back Son is offline   Reply With Quote
Old Jan 23rd, 2008, 8:05 PM   #10
crawforddavid2006
Expert Programmer
 
crawforddavid2006's Avatar
 
Join Date: Apr 2005
Location: Not sure yet
Posts: 582
Rep Power: 0 crawforddavid2006 is an unknown quantity at this point
Send a message via AIM to crawforddavid2006 Send a message via MSN to crawforddavid2006
Re: trying to put a swf file on a webpage.

Quote:
Originally Posted by DaWei View Post
Oh my poor Bell 103 modem....

ROFL, but you do have a point, web sites should be user friendly, and not all users have DSL, or high speed internet of any kind
__________________
Quote:
Originally Posted by DaWei View Post
Well, it's better than Pen Islands url....;)

crawforddavid2006 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:34 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC