Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
stumped : dataholder - > label

stumped : dataholder - > label

2004-02-19       - By Steven L. Sacks

 Back
I 'm having an issue figuring out why I can 't bind my data to a label in
MX2k4.

<?xml version= "1.0 " encoding= "ISO-8859-1 " standalone= "yes " ? >
<scores >
<league categoryId= "5 " name= "NFL "/ >
</scores >

That 's the XML that is loaded into an XML Connector component (Xc).

I have a dataholder component that is bound to Xc:results:scores (Dh).

I have a label component that I 'm trying to bind to the data holder and
return the attribute "name ".

On the label component, I go to the Bindings panel, add a binding to the
Dh which looks like this Dh:data

However, I can 't seem to path to the attribute "name ". I turn on "Use
Path Expression " and type in league/@(protected)

This puts "null " into the label component.

What am I doing wrong? I 've tried tons of different stuff and I can 't
find thing one on this in the MX2k4 help files.

TIA,
Steven


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104757
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)