| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hi,
I'm trying to come up with a way to include a .swf file in my ASP.Net application. I have a menu bar on the left, wich is made in ASP.Net, and on the right should my .swf files be loaded in. Depending on wich option in the menu you press different .swf files should get loaded in. I also need to pass different variables between my ASP.net page and my .swf files... Does anyone know a smart way on how to do this? //Inger |
|
#2
|
|||
|
|||
|
Hi Even I am trying for the samething!
Quote:
|
|
#3
|
||||
|
||||
|
I have no idea what you are talking about
Do you want an SWF to be the menu? Do you want an SWF to contain a menu generated by ASP.Net? Do you want the menu to load an SWF? |
|
#4
|
|||
|
|||
|
What are you using to build your flash objects? You can typically export your flash to an html file and then cut and paste the code directly into your aspx file. You can place the <object>.........</object> tags in an aspx file and it will work. Only include the information within the tags and you should be fine.
|
|
#5
|
|||
|
|||
|
SWF Files in ASP.NET
<form id="Form1" method="post" runat="server">
<!-- SWF in ASP.NET --> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="30" HEIGHT="56" id="myMovieName" VIEWASTEXT> <PARAM NAME=movie VALUE="swf_files/admin.swf"> <PARAM NAME=quality VALUE=autohigh> <PARAM NAME=bgcolor VALUE=black> <PARAM NAME=”menu” VALUE=”false” /> <PARAM NAME=FlashVars VALUE=”init=yes&check=true”> <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> or full <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> |
|
#6
|
|||
|
|||
|
Hi,
Usage of object tag leads to a problem in dotnet 2003 I requires that the object tag must be activated with a single click and only then the buttons created with flash gets activated Thus it requires double click each time. Can U help plz. Thanks in advance. |
|
#7
|
|||
|
|||
|
Error Message: Element "embed" is not supported.
My application (on Visual Studio 2005) appear this message, anyone have any idea?
|
|
#8
|
||||
|
||||
|
Quote:
it only let you know that you're using old HTML that may not be supported anymore by modern browsers. |
|
#9
|
|||
|
|||
|
Hi,
I'm trying to come up with a way to include a .swf file in my ASP.Net application. I have a menu bar on the left, wich is made in ASP.Net, and on the right should my .swf files be loaded in. Depending on wich option in the menu you press different .swf files should get loaded in. I also need to pass different variables between my ASP.net page and my .swf files... Does anyone know a smart way on how to do this? Narayan |
|
#10
|
||||
|
||||
|
the code posted in post #5 is the smartest way of doing this.
if you have any specific problem let us know, instead of acting like parrot and quoting the same words of other person. |
|
#11
|
|||
|
|||
|
hi everyone i m a new user and need your hlep
i want to make a web site in ASP.net with C# i have a flash movie and a flash file , i want to add this on my first page which just play movie or show flash file. pls anyone give me the complet code or solve this problem. thaks |
|
#12
|
||||
|
||||
|
ok, that's enough.
no point keeping this thread open to the same question over and over again. full code can be found at post #5 --thread closed. |
| Viewing: ASP Free Forums > Web Design > Multimedia > A .swf file inside an ASP.Net application |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|