Problems with embedding SWF in ASP.Net

Posted on 2008-10-21
Last Modified: 2012-08-13
I am trying to embed an swf file into my splash page below:

and I put the swf file in a zip here:

I am currently trying to use Flash Control but have tried standard object tags with no luck. It simply does nothing with a white screen. I'm not sure what I'm missing and the SWF plays in the flash player fine by itself.
Question by:Curtis_Shirley
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 16

Accepted Solution

Gyanendra Singh earned 500 total points
ID: 22778865
refer sample code
<form id="Form1" method="post" runat="server">
<!-- from -a -->
<OBJECT id="myMovieName" codeBase=",0,40,0"
height="56" width="30" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="794">
<PARAM NAME="_cy" VALUE="1482">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="swf_files/admin.swf">
<PARAM NAME="Src" VALUE="swf_files/admin.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="AutoHigh">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="AllowScriptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<EMBED src="swf_files/admin.swf" FlashVars="init=yes&check=true" quality="high" bgcolor="#FFFFFF"
WIDTH="30" HEIGHT="56" NAME="myMovieName" TYPE="application/x-shockwave-flash" PLUGINSPAGE="">

Open in new window

LVL 16

Expert Comment

by:Gyanendra Singh
ID: 22778881
or in one line use this

<embed src="yourSWF.swf" />

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question