View Full Version : Embedding a .fla file

05-14-2008, 06:20 PM
Hey! I have a .fla file and I have this code:

<embed src="images/logo.fla" type="application/x-shockwave-flash" ></embed></object>

My .fla file just appears as a white box and doesn't work.
Any ideas?


05-14-2008, 07:26 PM
You need to export the movie (file>export) and embed the .swf file NOT the .fla file. Also if this isn't going on myspace or a site that only allows limited html then I suggest you use SWFObject 2.0 (http://code.google.com/p/swfobject/) to put your flash on your page.

05-14-2008, 08:08 PM
How can I include the .swf file in my CSS, because I have too may pages to modify the code on :(

05-14-2008, 08:30 PM
You don't. CSS controls the style of the page it doesn't include content. Find a program that does a mass find and replace.

05-14-2008, 08:32 PM
Ok, Ill use Divs :D

05-14-2008, 10:28 PM
How do you think divs are going to help you in this situation?

05-14-2008, 11:31 PM
maybe he is going to include the .swf into the div, not sure though.

05-15-2008, 07:58 AM
I meant floating and aligning =] and yes, the .swf embedding will be in the div.