Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > macromedia flash sitedesign > august 2003 >

macromedia flash sitedesign : Attaching an swf to html site



Ayman_AR
8/7/2003 7:28:35 PM
Good Evening everyone...

I have a flash file which is around 700K. I want to put it on my site. I have used the following method:

<object width="620" height="450">
<param name="movie" value="soccer.swf">
<embed src="images/soccer.swf" width="620" height="450">
</embed>
</object>

However, the flash file does not want to load. It is not even receiving anything (the computer). I even put a preloader, but it was useless. When I go to the /images/soccer.swf URL, it gives a message saying that the file requested exceeds 256K. I have went into many sites, and saw flash movies that were very large, and took a long time to download. Why isn't it working with me? Is there a different way to attach an swf file? Thank you for your help. Reply!!!!


One Louder
8/7/2003 7:55:33 PM
That is no where near enough information for the browser to figure out what to do with the file. It should look more like:

<object width="620" height="450" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >
<param name="movie" value="soccer.swf">
<embed src="images/soccer.swf" width="620" height="450" type="application/x-shockwave-flash">
</embed>
</object>

That's pretty much the bare minimum - the classid (MSIE) and type (everyone else) tell the browser what it is so it can launch the correct plugin.

There's more that should be there to helpt he browser find the plugin if it doesn't have it - I suggest you "publish" a movie from Flash with the HTML turned on, so you can see waht really ought to be there.


Ayman_AR
8/8/2003 4:23:26 AM
I have tried what you said, but still it is not working..
You may see the site, and hopefully may help me with this problem

it's http://flashat.netfirms.com

thank you!
waiting for your kind reply


Ayman_AR
8/8/2003 4:28:54 AM
Another thing...

When I run the site locally, as in testing the html page itself... the flash appears.. ALWAYS..

but I just don't understand why it does not want to load, on the internet, when connected.

I have mentioned before that when I try to go to the flash swf root file itself, (on the internet) it gives me a strange message saying that the file exceeds 256K.

I dont understand. How come other sites have large flash files?
Thank you


One Louder
8/8/2003 6:05:03 PM
It's not a Flash problem.

That graphic is being generated by your hosting firm - they apparently don't allow file downloads that exceed 256K.

In your hosting firm's Term Of Service for the Basic Hosting Plan:

2. Limitations. The NETFIRMS BASIC HOSTING PLAN? is subject to the following additional limitations:

a. File Size. Files larger than 256 kilobytes are not permitted on the NETFIRMS servers, with the exception of Computer Gateway Interface (CGI) scripts stored in USER's CGI Bin directory. Such CGI files may be up to 1 MB;


Smiter
8/11/2003 11:54:55 AM
Do you think it's a good idea to put a 700K flash file on your site (56K
modem)???


"Ayman_AR" <webforumsuser@macromedia.com> schreef in bericht
news:bgu993$j6r$1@forums.macromedia.com...
[quoted text, click to view]
anything (the computer). I even put a preloader, but it was useless. When I
go to the /images/soccer.swf URL, it gives a message saying that the file
requested exceeds 256K. I have went into many sites, and saw flash movies
that were very large, and took a long time to download. Why isn't it working
with me? Is there a different way to attach an swf file? Thank you for your
help. Reply!!!!
[quoted text, click to view]

AddThis Social Bookmark Button