Flash in ASP.NET 2.0

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

hey

ASP.NET 2.0

I'm trying to use a flash movie in a asp.net 2.0 web page (.aspx), but I'm
not sure what I'm doing here is correct. Because the page NEVER fully loads
when using the flash movie... the flash movie is only 22kb so it should take
that long time... something must be wrong here

Here is the markup of my web page:
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<embed src="~/Flash/config.swf" width="550" height="150"
type="application/x-shockwave-flash" wmode="transparent"></embed>
</div>
</form>
</body>
</html>

Any suggestions on what I'm doing wrong here?
 
It's the tilde in the URL ~. You'll need to write out the relative path in
order for it to work since the browser has no idea what the tilde is.
 
WOW, thank you very much


Mark Fitzpatrick said:
It's the tilde in the URL ~. You'll need to write out the relative path in
order for it to work since the browser has no idea what the tilde is.
 
try to write asp.net code in macromedia dreamweaver there is a options just u
click on flash activeX contols is there chose flash swf file then insert then
run the page...
 
Back
Top