Insert flash file correcty in ASP.NET masterpage

Many people have problems inserting flash files in masterpages . The following code is the correct way of inserting flash file in a mastepage . It will work in all situations


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="663" height="105" title="Serious Reading....">
<param name="movie" value='<%= Request.ApplicationPath + "main_anim.swf" %>'
<param name="quality" value="high" />
<embed src='<%= Request.ApplicationPath + "main_anim.swf" %>' pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="663" height="105"></embed>
</object>

No related posts.

7 Responses to “Insert flash file correcty in ASP.NET masterpage”

  1. anjan anil kumar on December 19th, 2008 at 2:10 am

    <param name=”movie” value=’’

    <embed src=’’ pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” width=”663″ height=”105″>

    while i’m working with this code i getting error ‘the embed element is not supporting’ so please solve my error.. thank you

  2. Thank you so much, i was struggling forever with this!!!!

  3. I am also getting the same error.

    Can someone help me with the exact code. i have the SWF file but how i can insert it in master page.

    Please HELP!

    Vishlesh

  4. The code above shows how I linked my SWF file with my ASP.NET master page. “../FlashMovies/Movie.swf”. It worked when I specified the path that way.

    Thank you

  5. The code above shows how I linked my SWF file with my ASP.NET master page. “../FlashMovies/Movie.swf”. It worked when I specified the path that way.

    Thank you

  6. The code above shows how I linked my SWF file with my ASP.NET master page. “../FlashMovies/Movie.swf”. It worked when I specified the path that way.

    Thank you

  7. how to impliment flash inmy asp.net

Leave a Reply