TextInput data trace

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

  1. #1

    Default TextInput data trace

    I followed a very good tutorial here:
    [url]http://www.adobe.com/devnet/flash/articles/xmlconnector.html[/url]
    where xml text data is dynamically bound to TextInput and TextArea
    components. The problem I'm having: How can I access the displayed data? If I
    try to e.g. trace (tiCost.text); nothing is displayed.

    earl919 Guest

  2. Similar Questions and Discussions

    1. Using both TAB or ENTER key with textinput fields?
      Peter, Thanx, the code was very helpful. But I would like to know how to move between date fields and radio buttons using the Enter key. thanx
    2. Focusing a TextInput control
      Solved this issue: Had to use callLater(), to focus the component during the next event loop. Stefan http://www.justRIA.com/
    3. textInput validation question
      when i set a text back to empty ie: myText.text="" it is validating and causing the red outline and message box to appear. i have forms that...
    4. TextInput
      How can I detect when the escape key is pressed while a TextInput is focussed to allow the user to cancel changes made to the TextInput.text? It...
    5. Button and TextInput
      Hi everyone, I developing a small component in MX 2004, which contains only one button. The concept is, whenever I click the button I should...
  3. #2

    Default Re: TextInput data trace

    If you add the following to frame 1 of your actionScript you can trace it all -
    but I haven't figured it out for individual nodes - (am trying to recreate the
    tutorial using actionscript so I can access the data!):
    var tripslistener:Object = new Object();
    tripslistener.result = function(evt:Object) {
    trace(xcTrips.results);
    };

    xcTrips.addEventListener("result",tripslistener);



    absurd29 Guest

  4. #3

    Default Re: TextInput data trace

    Thanks, absurd, yes this works.
    I found another good tutorial which gives all the answers - assigning variables to the nodes:
    [url]http://visualintensity.com/flash-tutorials/mx2004/xmlconnector/[/url]
    earl919 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