473,322 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Flash in ASP.NET 2.0

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?
Nov 9 '06 #1
3 1348
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.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:e9**************@TK2MSFTNGP03.phx.gbl...
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?

Nov 9 '06 #2
WOW, thank you very much
"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:OL**************@TK2MSFTNGP03.phx.gbl...
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.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:e9**************@TK2MSFTNGP03.phx.gbl...
>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?


Nov 10 '06 #3
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...

"Jeff" wrote:
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?
Nov 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
8
by: Ben Bartsch | last post by:
Looking for opinions on the use of Flash with ASP.NET. Has anyone here seen or conducted any implementations of Flash that are actually useful or otherwise complement ASP.NET?
4
by: vivek | last post by:
I am new to flash and want someone to guide me, Is it possible to create a UI entirely in Flash and that will inetract with C# components (backend) and these components will in return interact...
1
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie:...
115
by: post2google | last post by:
I was thinking about where to go for lunch the other day, so I went to hardees.com to see what the menu looked like these days. What comes up is a big note that my flash version is not new enough...
10
by: Steve Cook | last post by:
Hi, I have an upload application written in PHP and Flash. The PHP page gets the file information via $_POST. Moreover, the user never actually visits the PHP page, rather Flash sends the...
8
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web...
1
by: critchey1 | last post by:
Hey everyone, i've been playing around with trying to get some scripts to work with detecting whether flash player is installed on your computer or not. I found a flash detection kit on the adobe...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.