473,671 Members | 2,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flash Buttons in ASP.NET...Pleas e Help...

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
Nov 19 '05 #1
4 1353
Try using HTML
<input type=button>
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #2
you see i've got the following code..

<OBJECT id="btnLogin"
codeBase="http://download.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=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.sw f">
<PARAM NAME="Src" VALUE="login.sw f">
<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="AllowScri ptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll" >
<PARAM NAME="DeviceFon t" VALUE="0">
<PARAM NAME="EmbedMovi e" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData " VALUE="">
<PARAM NAME="SeamlessT abbing" VALUE="1">
<embed src="login.swf" quality="high"
pluginspage="ht tp://www.macromedia. com/shockwave/download/index.cgi?P1_Pr od_Version=Shoc kwaveFlash"
type="applicati on/x-shockwave-flash" width="100" height="22"> </embed>
</OBJECT>

I dont know how to link the event with this flash object..
Nov 19 '05 #3
Irfan Akram wrote:
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
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Nov 19 '05 #4
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
"Irfan Akram" <Ir********@dis cussions.micros oft.com> wrote in message
news:AD******** *************** ***********@mic rosoft.com...
you see i've got the following code..

<OBJECT id="btnLogin"
codeBase="http://download.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=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.sw f">
<PARAM NAME="Src" VALUE="login.sw f">
<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="AllowScri ptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll" >
<PARAM NAME="DeviceFon t" VALUE="0">
<PARAM NAME="EmbedMovi e" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData " VALUE="">
<PARAM NAME="SeamlessT abbing" VALUE="1">
<embed src="login.swf" quality="high"
pluginspage="ht tp://www.macromedia. com/shockwave/download/index.cgi?P1_Pr od_Version=Shoc kwaveFlash"
type="applicati on/x-shockwave-flash" width="100" height="22"> </embed>
</OBJECT>

I dont know how to link the event with this flash object..

Nov 19 '05 #5

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

Similar topics

18
12676
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes state, the HTML page URL would change from default.html to default.html#stateA. example: http://pearstudios.com/javascript/locationHashAndFlash.html This has worked perfectly within HTML and javascript alone, however, when connecting Flash and...
0
1377
by: Vladi | last post by:
Hello everybody, I have a asp.net 1.1 page which has the following controls: 4 Images whose src points to an image.aspx file which returns a different jpg from a DB 1 flash object on top of those which contains buttons with links embedded in them to another pages (each having the same layout, identical to the page I'm talking about). The transfer is realised with some url_get method in the flash. I don't know because I didn't make it and...
1
1388
by: Shun | last post by:
Hello , I am Designing an website using ASP.Net. I have designed the HTML template using Dreamweaver 8, in that i have used the Media flash buttons. now i have converted the Html page to ASP.net page. now my problem is with the media flash buttons which i have used on the template can't view in the ASP.Net page. but it is working in the browser. so please help me. Thanx in advance
1
1245
by: Shun | last post by:
Hello , I am Designing an website using ASP.Net. I have designed the HTML template using Dreamweaver 8, in that i have used the Media flash buttons. now i have converted the Html page to ASP.net page. now my problem is with the media flash buttons which i have used on the template can't view in the ASP.Net page. but it is working in the browser. so please help me. Thanx in advance
2
2124
by: jasone | last post by:
hello all, im having a problem with navigating from a flash page to a html page. The flash section is uploaded on a server along with the html pages, but they cant find each other so i think the script i am using is wrong. the website address is www.flowertime.org.uk you use the buttons on the right hand side to navigate to different sections of the web page, but it is going from flash (.swf) to an html page. please find the snippets...
5
11980
by: mutlyp | last post by:
I have an web application, for a menu to go to page to page wit in the web app I am using flash buttons. The problem is that the first time I click on the flash button everything works fine the page load fires and the web page is displayed. But then if I close that page and then click on the same button the page load does NOT fire and I get the original web page back again. If I do this in Fire Fox it works but not in IE. If I put a simple...
1
1081
by: sagittario | last post by:
Hi all , i am really hoping some1 could help me with this.. i have attached a flash swf as the header inside my ajax code. this flash swf contains the buttons inside it. so i need an action script for my flash to make these buttons active on all the .asp files. does any one know the action script needed for linking the buttons to my .asp ?? Many thanks
1
1517
by: sagittario | last post by:
Hi all , i am really hoping some1 could help me with this.. i have attached a flash swf as the header inside my ajax code. this flash swf contains the buttons inside it. so i need an action script for my flash to make these buttons active on all the .asp files. does any one know the action script needed for linking the buttons to my .asp ?? Many thanks
24
3611
by: GloStix | last post by:
I'm trying to center this banner, it's in a div that has the same width so it's not exactly "centering" but it's screwed up, It works in safari but in Firefox it's messed up. I uploaded a Video to show what I'm talking about. http://screencast.com/t/i5SLg3cAczH (*WARNING, TAKES A WHILE TO LOAD*) *HTML* <html> <head> <title>James Mann - Portfolio</title>
0
8393
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8598
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8670
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7437
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6229
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4407
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2812
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1809
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.