This is a discussion on JavaScript to include flash file in asp.net within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, JavaScript to include flash content in asp.net.......
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, JavaScript to include flash content in asp.net.... |
| Sponsored Links |
| |||
| hi, I found the way to include flash file in asp.net.We can do this by <embed>,<object>tag also.But it s not suitable in some cases.So we can go for creating flashObject through Js and include the file inside Div. <script type="text/javascript" src="flashobject.js"></script> <div id="flashcontent"> This text is replaced by the Flash movie. </div> <script type="text/javascript"> var fo = new FlashObject("movie.swf", "mymovie", "200", "100", "7", "#336699"); fo.write("flashcontent"); </script> In the Above script, movie.swf-->Flash file to be played mymovie--->Id for SWF 200-------->Width 100-------->Height 7---------->Version #336699--->BgColor fo.write("flashcontent");--->flashcontent is the div id.Using fo we are writing the flash file with above mentioned properties inside a div |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Javascript and Flash | Anand | Flash Actionscript Programming | 4 | 03-15-2008 03:22 AM |
| How to refresh an include js file every 10 seconds? | kingmaker | HTML, CSS and Javascript Coding Techniques | 1 | 11-28-2007 11:12 PM |
| Can I include JavaScript code from external JS files, rather than embedding all my sc | Pvinothkumar | HTML, CSS and Javascript Coding Techniques | 0 | 09-13-2007 04:49 AM |
| How to include file from different server | Arun | PHP Programming | 1 | 07-12-2007 05:04 AM |
| Flash file uploader | aramesh | Flash Actionscript Programming | 6 | 03-28-2007 06:10 AM |