QueryString with Flex

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default QueryString with Flex

    Hi, all...

    I am try get querystring parameters of the one url (such as 'home.mxml?teste=1'), but I don't had succes...

    Somedy can help me? What I should to do?!

    Thanks,
    Evandro
    evandroaraujo Guest

  2. Similar Questions and Discussions

    1. QueryString Parameters
      I am having a problem with one of the Dreamweaver embeded Server Behaviors. I have a search form that I input data into and then through the...
    2. ASP validation of Querystring
      I am trying to filter the querystring from a e-commerce transaction. When I add this code my page crashes. What I am I missing? <% IF...
    3. URL (Querystring) Encode
      Hi, I am working with VB. Does anyone know how to encode a set or querystrings using vb? For example: Unencoded:...
    4. Encryption for QueryString
      hi guyz. I want to put encryption for every querystring for my web application. for that right now i m using a custom function. can any body...
    5. Crypto and querystring
      Hello i'm looking for a sample encrypt and decrypt in asp.net who can be easily pass in url with querystring like : id=MLKJQSDF245KMDQLSFJ ...
  3. #2

    Default Re: QueryString with Flex

    Hi, All...

    I researched in the web and found the solution to my problem.

    The following example defines the name and hometown variables and binds them
    to the text of TextInput controls:




    <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" >
    <mx:Script><![CDATA[
    var name: String = "None"; // Set default value if none is passed.
    var hometown: String = "None"; // Set default value if none is passed.
    ]]></mx:Script>
    <mx:TextInput text="Name: {name}" />
    <mx:TextInput text="Hometown: {hometown}" />
    </mx:Application>

    When a user requests this application with name and hometown parameters
    defined, Flex displays them in the TextInput controls. The following URL passes
    the name Reiner and the hometown Berlin to the Flex application:

    [url]http://localhost:8100/flex/myApp.mxml?name=Reiner&hometown=Berlin[/url]

    evandroaraujo 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