Flash Buttons in ASP.NET...Please Help...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi People,

I need to add flash buttons to ASP.NET page. Problem is I have added them,
but I am not able to link events with those buttons, as with normal ASP.NET
buttons.

I am sure there is a way......

Will look forward for yiour earrly response...

Thanks,

I..A
 
you see i've got the following code..

<OBJECT id="btnLogin"
codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
height="22" width="100"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT
runat="server">
<PARAM NAME="_cx" VALUE="2646">
<PARAM NAME="_cy" VALUE="582">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="login.swf">
<PARAM NAME="Src" VALUE="login.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="-1">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<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="login.swf" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="100" height="22"> </embed>
</OBJECT>

I dont know how to link the event with this flash object..
 
Irfan said:
Hi People,

I need to add flash buttons to ASP.NET page. Problem is I have added
them, but I am not able to link events with those buttons, as with
normal ASP.NET buttons.

I am sure there is a way......
Why are you sure there is a way? is there any documentation for these
buttons indicating that they can raise server-side events in the same way
that intrinsic .Net controls do?

You will probably need to use javascript to submit your form.

Bob Barrows
 
Check the macromedia site or google for "FSCommand"

This is the flash mechanism for raising javascript events on the containing
page, here's a working example for which you can view the HTML source:

http://www.demis.nl/quakes

This only logs events to the status bar, but you can do loads of stuff with
javascript in ASP.NET, using client/server HTML controls, just add the
javascript in the designer and ASP.NET will "tolerate" most of it...

Bart

This is a piece of javascript
 
Back
Top