PDA

View Full Version : how i can add a flash into my aspx page in visual web developer?


derinweb
09-07-2006, 03:05 AM
hello

how can i add a flash into my aspx page in visual web developer when i try it it does not work,
if you can send me the code how to doing it ,

with regards
derin

wisemx
09-07-2006, 08:53 AM
I use the Publish Settings in version 7.2 and then open and edit the .NET page in VS 2005.
A working example is shown below, created with Flash 7.2 and then edited in VS 2005:

<code>



<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">


<head>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


<title>Flash .NET example</title>


</head>


[b]


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="188" height="31">


<param name="movie" value="FlashExample.swf" />


<param name="quality" value="high" />


<param name="bgcolor" value="#FFFFFF" />


<embed src="FlashExample.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="188" height="31" bgcolor="#FFFFFF"></embed>


</object>


</body>


</html>


</code>

derinweb
09-10-2006, 06:04 AM
sorry , but when i run the page it will work correctly but for the another time it does not remaining and when i upload it to my hosting it does not remaining , what is the fault?

with regards

wisemx
09-10-2006, 07:02 AM
If you want...Upload the files and I'll try to get it working for you:
http://www.sdknuts.com/fileup/
All the best,
Mark

P.S. If you do, please create a ZIP or RAR package with a text file that has an e-mail address I can send the files back to.

derinweb
09-10-2006, 07:18 AM
thanks very much , it is very great , thanks again

wisemx
09-13-2006, 12:23 AM
Hello Derin,
I made the necessary corrections and mailed the files to your gmail account.
The only problems I could see were the actual paths and filenames.
Should be working fine now.
Salute,
Mark Wisecarver

derinweb
09-13-2006, 03:15 AM
hello mark:
thanks for your e-mail but maybe it does not received , you can send it again to this e-mail
info@kurdpedia.com
thanks mark

wisemx
09-13-2006, 03:27 AM
The one I sent to your gmail account did fail, a few minutes ago I forwarded it to your info account.
All the best,
Mark

derinweb
09-13-2006, 05:17 AM
thanks wisemx i sent the files to you if you can solve the problem ,and this is my website
http://www.kurdpedia.com

you can contact me there
with regards
derin

derinweb
09-13-2006, 05:53 AM
thanks very much mark :
it is working now you can see it here :
http://www.kurdpedia.com/default.aspx
thanks for your help .

All the best
derin

wisemx
09-13-2006, 06:06 AM
Glad to help. http://community.discountasp.net/emoticons/wink.gif

derinweb
10-04-2006, 07:09 AM
hello mark

thanks for your help , but in this syntax deos notwork onlinein a folder it is only work in the root directory , if you can send me the information how to make it work in the folder pages

thanks again for your help
derin

wisemx
10-04-2006, 09:57 AM
Paths are pretty straightforward if you're using Visual Studio 2005.
This is true for Macromedia Studio.

With your IDE open drag/move the files you want to change.
The IDE should update the paths for you.

Visual Studio also allows you to drag/drop from the Solution window.