PDA

View Full Version : Adding a .swf to a webpage


dr_bay
10-11-2005, 01:42 AM
I'm trying to add a .swf file to a webpage. I've never done it before and was just trying to figure out how to do it. Can I use Macromedia Flash to make a .swf file? If not, is there another program I should use? Is there anything special I need to use for html beside <embed>? I tried making a file but it wont load on my webpage. Any help would be greatly appreciated.

_Aerospace_Eng_
10-11-2005, 05:28 AM
Yes you can use Flash to make an swf. You will want to publish or export the movie. To put flash on a page you can use.
<object type="application/x-shockwave-flash" data="yourflash.swf" width="" height="">
<param name="movie" value="yourflash.swf">
</object>
Adjust the width and height as necessary.

dr_bay
10-11-2005, 05:08 PM
I got it to work! Thanks for your help!

devAngel
10-11-2005, 10:25 PM
yeah...if you want to make it easier (well to code) i usually use dreamweaver for thet;)

_Aerospace_Eng_
10-12-2005, 12:09 AM
yeah...if you want to make it easier (well to code) i usually use dreamweaver for thet;)
As do I but the Object code for flash that DW puts in is invalid so I created a snippet that uses the above code I posted when ever I need to add in flash.

laveeza
10-25-2005, 05:12 PM
Can I use Macromedia Flash to make a .swf file? If not, is there another program I should use?





imran hashmi
www.visiondtudio.co.uk 0044-7969012441

_Aerospace_Eng_
10-25-2005, 09:59 PM
Can I use Macromedia Flash to make a .swf file? If not, is there another program I should use?





imran hashmi
www.visiondtudio.co.uk 0044-7969012441
Yes that is Macromedia Flash's main purpose. To create .swf files. Once you make your file, use the publish or export commands from the file menu. If you are referring to Macromedia Flash Player then no you can't because Flash player is just that it plays .swf and other types of flash files.

aswin_teja
10-26-2005, 08:04 PM
:p if u think u are dumb with <object > code , just use the PUBLISH option under file menu .. there publish as " HTML + SWF " ( think u can find under publish options ) ... if u publish as HTML and SWF .. u get the embedded code in the html file ... so u dun need to pull yer heads fer dat :P .. u can adjust al the parameters ... if u got some soft like dreamweaver :thumbsup: :thumbsup: :thumbsup: :thumbsup: