NameSilo

Flash Help (purrty please)!

Spaceship Spaceship
Watch
Impact
200
I made a small flash movie that's about 450kb. I've embedded it to a site's page with 'embed object' code but it refuses to load! :-/ It only appears as this white rectangle.

It comes out alright when I test it on my computer, but it doesn't load when I upload it to my webhost's server. I've used Flash before on other sites (same server) but I think they were all smaller than 450kb. Could the problem be due to the size of the file?

If the size of the file could be the problem here, how do I decrease the size of the file?

Thanks! :blink:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
a sample code
Code:
<noscript>
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="500" height="72" id="mp3player5a" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="false" />
	<param name="movie" value="mp3player5a.swf" />
	<param name="quality" value="high" />
	<param name="bgcolor" value="#000000" />
<embed src="mp3player5a.swf" quality="high" bgcolor="#000000" width="500" height="72" name="mp3player5a" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" [b]add auto_play="true" autoplay="yes" autoplay="true" /[/b]>
	</object>
</noscript>

the one's in bold are needed.
 
0
•••
Thanks a lot Weblord. I tried that code earlier though, it's still not working. :(
 
0
•••
if its big and your connection isn't the best, it may just be that its still downloading the flash file. how long are you giving it before determining that it "doesn't work"? be sure that you actually uploaded the .swf file and are referencing it correctly with the right path (lol i've messed those up before).

also, if you're somewhat advanced at flash, try adding a preloader (google flash preloader tutorial) because if it takes that long for it to load for you, other people will probably experience the same thign. you dont want them to think that th eflash is broken like you did.
 
0
•••
what is the link to the page?
 
0
•••
ye, whats the link mate?

you can PM it to me if you like.

I might be able to help
 
0
•••
I use this on my Website - It works Flawless. Edit it at your ease with your own settings.

Code:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1024','height','768','src','Underconstruction','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#000000','movie','Underconstruction' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1024" height="768">
  <param name="movie" value="Underconstruction.swf">
  <param name="quality" value="high"><param name="BGCOLOR" value="#000000">
  <embed src="Underconstruction.swf" width="1024" height="768" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
</object>
</noscript>
 
0
•••
You could also try using Flash's "Publish for Web" option (so that it saves the swf as well as an html file with the proper code), check if it works locally, and then put it online and see if it works. If it works, then just copy and paste that code and hopefulyl it'll work. i know that when you publish with flash it'll make some javascript file for internet explorer.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back