Results 1 to 15 of 15

Thread: i know this is the wrong place (flash actionscript)

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    i know this is the wrong place (flash actionscript)

    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
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  2. #2
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    [actionscript]
    var a = "";
    var b = -1;
    var c = a;
    LoadVariables("themVars.aspx")
    [/actionscript]

    Code:
    private void Page_Load(object sender, System.EventArgs e)
    {
        Response.Write("a=\"see\";");
        Response.Write("b=3;");
    }
    or something pretty close to that.
    in flash mx there is a load variables object.
    Magiaus

    If I helped give me some points.

  3. #3

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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?
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  4. #4
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    no web page is display. it's all in flash
    Magiaus

    If I helped give me some points.

  5. #5

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  6. #6
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    okay

    this is Flash MX and ASP.Net C#

    real simple.

    the important part every var should be written &varname=var value

    http://actionscript.org
    Attached Files Attached Files
    Magiaus

    If I helped give me some points.

  7. #7
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    hope that helps
    Magiaus

    If I helped give me some points.

  8. #8

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  9. #9
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    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"]
    Magiaus

    If I helped give me some points.

  10. #10

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    using the querystring isnt a stong way to pass login details
    id perfer posting them
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  11. #11
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    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.
    Magiaus

    If I helped give me some points.

  12. #12

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    nice, So basically theres no way to just post the data from the fla to a script .?
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  13. #13

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    getUrl has a post method, whats that all about

    Sorry i know jack about actionscript
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  14. #14

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    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
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  15. #15
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267
    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.
    Magiaus

    If I helped give me some points.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width