Hello Narayana,

There are no kings on this list so feel free to ask a question.

I have had contact with someone at Adobe about an upcoming portal so some of "issues" people have will go away hopefully.

In ActionScript 2.0, I don't have a file open but just from memory, you access the actual attribute by it's name instead of using a . specifier.

So, if you have a folder that is as such,

<folder id="1">Narayana</folder>

Then you reference it when parsing it as,

theFolder (this would be Narayana if theFolder is an instance)

-or-

theFolder.id (this would be the "1")

Of course there may be others who can answer also, but that's just a quick help.

I'm a beginner in FDT Enterprise 3.0 which is awesome when used with the Open Source Flex SDK.

I have Flex Builder 3.0 Pro with ILOG, which is nice, but I feel the FDT and Open SDK route is safer given recent events.

But I'm not a beginner in Flash CS3 and all it's predecessors.

I kindly ask that nobody but Narayana or anyone who has anything but something positive and constructive to say to not respond with a flame thrower.

There are a few Narayana who will look down on your questions and waste more time complaining against you from a distance (which is cowardly; they wouldn't do it on the street).

You needn't bow down to them.

You've just right to this list as anyone and it seems one focused in on your word "beginner" instead of spending the same energy with a quick and easy and helpful response.

Just persist peacefully in asking questions and if someone say your "Spamming the list" this is just a habit some of the "Kings" have in responding, because they are legends in their own mind.

Forward, Focused thought.

-r


On Sep 9, 2008, at 3:53 AM, narayana wrote:

Hi Friends

am beginer in flex. please help me . i think here all are exports. my
problem is am reading xml file in flex program. am reading xml file is
node only. if its attribute how i can read?

i will show example xml file with node

<TrustedCatreres>

<Contact>
<FirstName >The Corner Deli</FirstName>

<Email>[EMAIL PROTECTED]</Email>    
<PhoneNumber >(650) 000-1212</PhoneNumber>
<PostalAddress >1234 Stevens Creek Blvd, Cupertino, CA
</PostalAddress>
<LastName ></LastName>
</Contact>

<Contact>
<FirstName >Good Earth</FirstName>

<Email>[EMAIL PROTECTED]</Email>
<PhoneNumber >(408) 555-0000</PhoneNumber>
<PostalAddress >567 Homestead Ave, Cupertino, CA
</PostalAddress>
<LastName ></LastName>
</Contact>



</TrustedCatreres>

this file i can read in flex program.

if xml has attribute below shown example

<folderList>
<folder state="" label="Today todo list" isBranch="true" >
<folder cat="Travel" state="High" duedate="3/09/2008"
isBranch="false" label="book tickets" />
<folder cat="Social" state="Low" duedate="4/09/2008"
isBranch="false" label="Meeting at 7pm" />
<folder state="" isBranch="true" label="Home " >
<folder cat="Home" state="High" duedate="3/09/2008"
isBranch="false" label="Pay power bill" />
<folder cat="Home" state="High" duedate="3/09/2008"
isBranch="false" label="Pay rent" />
<folder cat="Home" state="Low" duedate="3/09/2008"
isBranch="false" label="Call parents" />
<folder cat="Home" state="Low" duedate="3/09/2008"
isBranch="false" label="Attend John birthday party" />
<folder cat="Home" state="Medium" duedate="3/09/2008"
isBranch="false" label="Special Updates" />
<folder cat="Home" state="high" isBranch="false" label="get
Dr. appointment" />
</folder>
<folder state="" isBranch="true" label="Office " >
<folder cat="Off" state="High" isBranch="false"
label="Meeting at 5pm" />
<folder cat="Off" state="Low" isBranch="false"
label="Complete document and send to client" />
<folder cat="Off" state="Low" isBranch="false"
label="Interviews and Transcripts" />
<folder cat="Off" state="High" isBranch="false" label="Set
Deployment machine" />
<folder cat="Off" state="High" isBranch="false" label="send
status reports" />
</folder>
</folder> 
</folderList>


how can i read that xml atributes please help me.........am requsting
all of my friends...




Reply via email to