5
Contributors
7
Replies
8
Views
9 Years
Discussion Span
Last Post by ebabes
0

you can achieve that with single lines of html code :
<embed src="foo.swf" />
you can embed any object using embed tag.

0

Thanks buddy! How about if I wish to specify the size of the object?

0

you can specify those settings via tag attributes. like <embed width="59px" and so forth. if you use visual studio, the intellisense will propose you the attribute options when you push the space button after typing the tag.

0

This is valid XHTML code for inserting swf.

<object type="application/x-shockwave-flash" data="SWFPath" width="SWFWidth" height="SWFHeight">
<param name="movie" value="SWFPath" />
</object>

0

You can place a label control at the positon displaying swf info. Just set label caption with the swf tag. This way is simple but useful when you want to display swf samples for products for movie trailers on ecommerce webistes.

0
<OBJECT id="banner" style="WIDTH: 696px; HEIGHT: 192px" codeBase="images/banner.swf" code="images/banner.swf" VIEWASTEXT>
<PARAM NAME="movie" VALUE="images/banner.swf">
<embed src="images/banner.swf" width="696" height="192"> </embed>
</OBJECT>

change the required attributes like source ,width ,height ,,etc
hope ths wil help u,,
reply if it does

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.