PDA

View Full Version : Anything similar to Javascript's getElementById() ??


Srirangan
03-19-2008, 08:49 AM
Hi

I have an XML language file which contains labels for all my display objects. The encoding of the XML is such that display object IDs are used. Now is there any simple way to map the language file values to labels of the display objects?

I'm looking for something similar to Javascript's "getElementById()"
. Thanks. :D

ABM
03-19-2008, 02:47 PM
Hi Srirangan,

try the use the e4x notation, it will help you I think
check this link :
http://livedocs.adobe.com/flex/2/langref/XML.html#includeExamplesSummary

Hope it answers your question,
Regards,
Adil