Wednesday, August 11, 2010

How can I embed a SWF file into an asp page?

I am in college working on a project. Our team is trying to be original in the way we present out project. How does someone embed a swf file (Flash movie) into a web page, asp if it matters?How can I embed a SWF file into an asp page?
No, it doesn't matter if it's asp, same html code





The simplest way is this:





%26lt;object type=';application/x-shockwave-flash'; width=';400'; height=';300'; data=';flash.swf';%26gt;


%26lt;param name=';movie'; value=';flash.swf';%26gt;


%26lt;param name=';quality'; value=';high';%26gt;


%26lt;param name=';bgcolor'; value=';#000000';%26gt;


%26lt;/object%26gt;





While you don't really need the bgcolor and quality setting, supported by both IE and FF.





If you need something more sophisticated, use googliHow can I embed a SWF file into an asp page?
It doesn't matter.





http://cit.ucsf.edu/embedmedia/step2.php鈥?/a>
It's exactly the same as you would embed a Flash in an HTML page.

No comments:

Post a Comment