Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / June 2008



Tip: Looking for answers? Try searching our database.

TextInput data trace

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
earl919 - 16 Jun 2008 14:27 GMT
I followed a very good tutorial here:
http://www.adobe.com/devnet/flash/articles/xmlconnector.html
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.
absurd29 - 16 Jun 2008 17:47 GMT
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);
earl919 - 16 Jun 2008 19:47 GMT
Thanks, absurd, yes this works.
I found another good tutorial which gives all the answers - assigning variables to the nodes:
http://visualintensity.com/flash-tutorials/mx2004/xmlconnector/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.