A Flash Developer Resource Site

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2012

    XML attributes - FLASH

    im a new member here..
    i have a problem with XML on flash..

    in my case, i want to access the attributes value of my XML..

    this xml has the same structure with my xml..
    <nodeQuestion id_question="1" question="What is the first letter of alphabet?">
      <answer status="true">A</answer> 
      <answer status="false">B</answer> 
      <answer status="false">C</answer> 
      <answer status="false">D</answer> 
    <nodeQuestion id_question="2" question="What is the first letter of alphabet?">
      <answer status="false">A</answer> 
      <answer status="true">B</answer> 
      <answer status="false">C</answer> 
      <answer status="false">D</answer> 
    i have made 2 array based on that XML, named question_array and answer_array which follow question_array

    how can i access the "status" attribute from asnwer_array????

    my answer_array is consist of the nodeValue of the answernode..

    should i make another array that consist of the answernode?

    anybody can help me please?
    thx before..

  2. #2
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    AS2 or AS3?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.