Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default Flash to ASPX

    Hello All,

    I want to send one variable from my flash to an aspx page, which should
    fetch the value and insert it into a database. However, this all should
    happen in the background. I have used loadvars in flash and am doing
    following:

    var my_lv:LoadVars=new LoadVars();
    my_lv.test=5;
    function sendValue() {
    my_lv.test+=1;
    my_lv.sendAndLoad('simple.aspx',"",'POST');
    }

    I have a button in flash, which has:

    on (release) {
    sendValue();
    }

    now, is this correct because my programmer says, he is not able to receive
    the variable? Please correct me, wher am I wrong?

    Regards,

    Parag


    Parag Shah Guest

  2. Similar Questions and Discussions

    1. user input in flash with aspx server
      Hi so far I've created a flash file with user input with fields such as name and email. But now I need to find a way to script the input fields so...
    2. passing a token from pageA.aspx to pageB.aspx
      I am trying to get pageA.aspx gridView to pass a key (say deptID) to pageB.aspx which will use the value passed as a filter in it's own griView...
    3. Problems, Flash and .aspx
      HI everyone, i have a problem loading external data from a txt file correctly into a swf file. I created a falsh video that loads dynamic text...
    4. Flash and .NET .aspx issues
      I've got a flash app that takes a web cam picture (and posts the image's pixel data to a .aspx page via the LoadVars object). The problem I'm...
    5. Accessing a aspx page using HttpWebRequest from another aspx page on the same webapp
      Did you have any luck on this as I have the same problem. Maybe you can help me out of you solved your problem.
  3. #2

    Default Re: Flash to ASPX

    You are using the incorrect syntax for
    ..[url]http://livedocs.macromedia.com/flash/8/main/00002336.html[/url].

    var result_lv:LoadVars = new LoadVars();
    result_lv.onLoad = function(success:Boolean) {
    if (success) {
    trace(result_lv.varNameFromServerIfAny);
    } else {
    trace( "Error connecting to server.");
    }
    };
    var send_lv:LoadVars = new LoadVars();
    send_lv..test+=1
    send_lv.sendAndLoad("http://www.yourdomain.com/simple.aspx'", result_lv,
    "POST");

    MotionMaker Guest

  4. #3

    Default Re: Flash to ASPX

    MotionMaker What would be the corresponding ASP? Would like to see the simple.aspx page if possible... Thanks!
    swasgrafx Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139