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

  1. #1

    Default Get values from URL

    Hi,

    I am trying to develop a flash map where i need to show a value from the
    current url into the text field in flash. The problem is I need only some
    values from the url to be displayed in different text boxes.

    Say the url is
    [url]http://ayushjain.in/staticDefault.aspx?northamerica=168&southamerica=1 &europe=10[/url]
    &africa=0

    I want to display the value of "northamerica", "eurpoe" & "africa" in the text
    boxes.

    This should be done as soon as the swf loads in the html page.

    Looking forward for help.

    Thanks,
    Ayush


    Ayush.Jain Guest

  2. Similar Questions and Discussions

    1. read row values from datagrid and populate in new datagrid values from connected
      Hello, i am new in asp.net and i am having a question: I am having a datagrid_1 in which i am showing the context of PatientDetails table....
    2. ASP getting values
      Hi, Lets say I connected to an Access database and created an sql and then created a drop down list. <% strSQL = "SELECT...
    3. how to get URL values into swf - pls help me
      <PARAM NAME="movie" VALUE="Game.swf?action="<%Response.Write(sAction);%>" <PARAM NAME="quality" VALUE="high"> <PARAM NAME="bgcolor" VALUE="#FFFFFF"...
    4. Why don?t the location values in the Sprite Overlay agree with the values
      I would expect the left,top,right bottom values for a sprite that appear underneath it on the stage when you click on it to agree with the l,t,r,b...
    5. Adding custom values and database values to DropDwonList
      The other way is to create a DataTable, put the --None-- as the first Row, then read the datareader into the DataTable, and append the --other-- at...
  3. #2

    Default Re: Get values from URL

    Assuming AS3, I can think of two ways:

    1. Use the ExternalInterface class to retrieve that information from the
    html document. Will require writing some javascript. See the example in
    Flash help.

    2. Append the query string to the flash url in the object/embed tag(s) -- or
    use the FlashVars parameter, and then retrieve the values using
    LoaderInfo.parameters (see Help). You can do this on the client side using
    javascript -- or since your document is .aspx, on the server side when you
    build the page/response.



    Raymond Basque 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