Re: [Flashcoders] Passing Text From Flash To ASP

2007-06-27 Thread Johannes Nel

if its a post a request.form or if its a get a request.querystring

On 6/27/07, vivek [EMAIL PROTECTED] wrote:


Hi,



I was doing some RD on sending data from flash to Access database. Got
one
example on the net, i tried modifying it and it worked. Now the problem is
I
can't pass the text field values of flash to asp.



If I do it statically it works.



set objrecord=objconn.execute(insert into mydbdata(firstName,lastName)
values('john','Miranda')) //ASP code



What should be done to replace 'john' and 'Miranda' with actual values
from
flash text fields?







Thanks  Regards,

Vivek Gaikwad

Flash Accessibility Developer







___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Passing Text From Flash To ASP

2007-06-27 Thread Dave Burnett



set objrecord=objconn.execute(insert into mydbdata(firstName,lastName)
values('john','Miranda')) //ASP code



What should be done to replace 'john' and 'Miranda' with actual values from
flash text fields?



It depends on how the vars are sent from Flash.

If sent via a GET (i.e. the vars form part of the asp target page URL, as a 
querystring, then the asp uses:


Request.Querystring(some_value_name)

If the data is sent in the form of a POST request, then the asp is:

Request.Form(some_value_name)

HTH

_
Need a break? Find your escape route with Live Search Maps. 
http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20Parkcp=33.832922~-117.915659style=rlvl=13tilt=-90dir=0alt=-1000scene=1118863encType=1FORM=MGAC01


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Passing Text From Flash To ASP

2007-06-27 Thread vivek
Hi,


'This is the ASP code.

%
Set objconn=server.createobject(adodb.connection)
objconn.open provider=microsoft.jet.oledb.4.0; data source= 
server.mappath(names.mdb)
set objrecord=server.createobject(adodb.recordset)

set objrecord=objconn.execute(insert into mydbdata(firstName)
values('record'))
%

//This is the Flash code

on (release)
 {
loadVariablesNum(data.asp?Record= add a, 0);
}


Thanks...

-Original Message-
From: Johannes Nel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 27, 2007 8:01 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Passing Text From Flash To ASP

if its a post a request.form or if its a get a request.querystring

On 6/27/07, vivek [EMAIL PROTECTED] wrote:

 Hi,



 I was doing some RD on sending data from flash to Access database. Got
 one
 example on the net, i tried modifying it and it worked. Now the problem is
 I
 can't pass the text field values of flash to asp.



 If I do it statically it works.



 set objrecord=objconn.execute(insert into mydbdata(firstName,lastName)
 values('john','Miranda')) //ASP code



 What should be done to replace 'john' and 'Miranda' with actual values
 from
 flash text fields?







 Thanks  Regards,

 Vivek Gaikwad

 Flash Accessibility Developer







 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




-- 
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Passing Text From Flash To ASP

2007-06-27 Thread Dave Burnett

set objrecord=objconn.execute(insert into mydbdata(firstName)
values('  Request.QueryString(record)  ')


_
PC Magazine’s 2007 editors’ choice for best Web mail—award-winning Windows 
Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_pcmag_0507


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com