i know but im real stuck
ive got a flash header and i want to post login details to a cert asp.net script ??? but how is it done ?????
for the fla please reply with email address
Printable View
i know but im real stuck
ive got a flash header and i want to post login details to a cert asp.net script ??? but how is it done ?????
for the fla please reply with email address
[actionscript]
var a = "";
var b = -1;
var c = a;
LoadVariables("themVars.aspx")
[/actionscript]
or something pretty close to that.Code:private void Page_Load(object sender, System.EventArgs e)
{
Response.Write("a=\"see\";");
Response.Write("b=3;");
}
in flash mx there is a load variables object.
thanks for the help but im not sure if i understand the logic to this...
Will i see it posting to my .net page ???
or will it just execute it in the background?
no web page is display. it's all in flash
Hi Magiaus
ive just been reading this http://www.oreillynet.com/pub/a/java...olinmoock.html
it says to place the function in time line im like HURH, WHAT, WHERE
Dude please help me this is taking ages
this is Flash MX and ASP.Net C#
real simple.
the important part every var should be written &varname=var value
http://actionscript.org
hope that helps
hey Magiaus
i dont follow it seems you example and link was for loading vars in to flash
what im trying to do is submit a username and password to my backend script and then process the login totally in the back not giving anything back to the flash
example
page a contains a flash file and with in that fla is txtUsername & txtPassword box + a submit button
user enters crap and on submit page a posts to page b an aspx vb.net script checks login if ok then redirects to secured page if not ok then in the html they have to log in again.
Simple form processing really
if you have msn add me and ill send you the fla ?
[email protected]
cheers buddy
change load to send
and pass a complete query string var.aspx?a=fasdfasdfasdf&b=jhgfjfjhgfj
then in the aspx use Request["a"]/Request("b")
Dim s As String = Request("a")
string s = Request["a"]
using the querystring isnt a stong way to pass login details
id perfer posting them
http://actionscript.org/tutorials/be...rs/index.shtml
sorry.
try an ssl. and pray no determined mind starts sniffing packets. 128 bit encryption can be broken just like any other it just takes time.
Here is an idea also. encrypt the data in flash and decrypt it in asp.net. but i could decompile your flash movie or your dll. And there are ways to get both.
Back in nt server 4.0 you could type http://www.site.com/start%20del%20C:\*.*%20/S
and you know what it did? it started deleting files. wow. and you know that's not the correct command for any fool running nt4 pre service pak 2 i think check back issues of 2600 for a full account.
nice, So basically theres no way to just post the data from the fla to a script .?
getUrl has a post method, whats that all about
Sorry i know jack about actionscript
YO Magiaus
How about this
call the script and do checks on the user name and password if seccess then user response.redirect("loggedin.aspx")
that way it wont go back to the flash ??
Will this work if so dude can you help me with the flash as i cant get it to work
Explain it to me one more time. Do a 1,2,3 List of steps your taking or need to take and I'll tell what I think the right solution is. And I'll point you in the right direction on the actionscript.