?
Solved

Problems with embedding SWF in ASP.Net

Posted on 2008-10-21
4
Medium Priority
?
1,648 Views
Last Modified: 2012-08-13
I am trying to embed an swf file into my asp.net splash page below:

http://www.metritech.com/splash.aspx

and I put the swf file in a zip here:

http://www.metritech.com/met_splash.zip

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.
0
Comment
Question by:Curtis_Shirley
[X]
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
4 Comments
 
LVL 16

Accepted Solution

by:
Gyanendra Singh earned 2000 total points
ID: 22778865
refer sample code
<form id="Form1" method="post" runat="server">
<!-- from ASP.net -a -->
<OBJECT id="myMovieName" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,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="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="AutoHigh">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<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="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
</form>

Open in new window

0
 
LVL 16

Expert Comment

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

<embed src="yourSWF.swf" />
0

Featured Post

Industry Leaders: 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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

801 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