A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] Not loading right value from XML

  1. #1
    Senior Member
    Join Date
    Mar 2008
    Posts
    168

    resolved [RESOLVED] Not loading right value from XML

    I have a quiz that loads questions, answers and a wrong answer response from an XML file.

    Everything is working fine except when it loads the text for the "wrongresponse" variable it always loads the last item value regardless of the question. It skips right to the last Item element everytime.
    Last edited by ADVaughn; 05-18-2012 at 01:28 PM.

  2. #2
    Senior Member
    Join Date
    Mar 2008
    Posts
    168
    The AS above is on frame 1 maintimeline, I call the "wrongresponse" variable on frame 23 using;
    Actionscript Code:
    wrongresponse=wrongresponse;

    There is a dynamic text field on that frame that uses that variable

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