This is a multi-part message in MIME format.
--Boundary_(ID_TaMUu/zbTID5/JQVqjwcSA)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
I guess you misunderstood.
When you creating HTML page from the FLASH it also create some client-side
script.
It usually JScript combined with some VBScript.
Can you send whole page starting <HTML> and ending </HTML> tags
since this page should include some code that will be called once you press
your button.
Oleg.
-----Original Message-----
From: Claudio Pallone [mailto:pallone@l...]
Sent: March 02, 2002 7:04 PM
To: JavaScript HowTo
Subject: [javascript_howto] RE: FLASH BUTTON
Hi Oleg,
Many thanks for your help.
Here is the code generated by Flash
This is the Flash code that dreamweaver creates:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.ca
b#version=4,0,2,0" width="100" height="20" id="submit2">
<param name="BASE" value=".">
<param name=movie value="button2.swf">
<param name=quality value=high>
<param name="BGCOLOR" value="#FFFFFF">
<embed src="button2.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_P
rod_
Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100"
height="20" bgcolor="#FFFFFF" base=".">
</embed>
</object> </td>
------
Subject: RE: FLASH BUTTON
From: Oleg Kapeljushnik <c-oleg.kapeljushnik@w...>
Date: Fri, 01 Mar 2002 08:51:08 -0500
X-Message-Number: 3
FLASH BUTTONAs far as I know when you create some Flash code it also
create
some JavaScript code that called whenever you press this button.
So check you Webpage cause you should find some Flash generated code.
Inside of this code you can submit your form manually. Like
Login.submit();
Hope it will work for you if not post you whole page may be then we
could
help you.
Oleg.
---
From: Pallone, Claudio [KMR-SPC] [mailto:Claudio.Pallone@k...]
Sent: March 01, 2002 7:42 AM
To: JavaScript HowTo
Subject: [javascript_howto] FLASH BUTTON
Importance: High
Hi,
I have login form with a submit button like this:
<form id="Login" method="post" runat="server">
------
------
----
<td align="center">
<input id="Submit1" type="submit" value="Login" runat="server"
name="Submit1" style="font-size: 8pt; font-family: Tahoma; color: Black;
background-color: #f0f0e0;">
</td>
</tr>
<tr>
<td align="center"><asp:customvalidator id="LoginValCust"
runat="server"
ErrorMessage="Invalid Login"
OnServerValidate="LoginServerValidate"></asp:customvalidator>
</td>
</tr>
/table>
</form>
Instead of using this button (submit button) I would like to use a
flash
button that I built using Dreamweaver. However I do not know where and
how
to put the id="Submit1" type="submit" value="Login" runat="server"
name="Submit1" when using the flash button. Please note that the button
does
not link to any page. It just uses the runat="server" command.
This is the Flash code that dreamweaver creates:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.ca
b#version=4,0,2,0" width="100" height="20" id="submit2">
<param name="BASE" value=".">
<param name=movie value="button2.swf">
<param name=quality value=high>
<param name="BGCOLOR" value="#FFFFFF">
<embed src="button2.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_P
rod_
Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100"
height="20" bgcolor="#FFFFFF" base=".">
</embed>
</object> </td>
$subst('Email.Unsub').