Skip to main content
Participant
September 22, 2006
Answered

accordian elements

  • September 22, 2006
  • 1 reply
  • 149 views
I am trying to create a Flash form application using an accordian to hold the fields. The problem is I can't seem to load information into, or modify, elements within the accordian's children. Anyone know how this is done?
This topic has been closed for replies.
Correct answer fman05
The problem what tha I had the accordian in its own screen, so my script wouldn't work. If anyone is interested...... To access an element of an accordian child's element, the following script will load the text of a dynamic text element (test_dt), located in a child (local) of an accordian (my_acc) into a variable s1.

var s1:String = my_acc.local.test_dt.text;

1 reply

fman05AuthorCorrect answer
Participant
September 22, 2006
The problem what tha I had the accordian in its own screen, so my script wouldn't work. If anyone is interested...... To access an element of an accordian child's element, the following script will load the text of a dynamic text element (test_dt), located in a child (local) of an accordian (my_acc) into a variable s1.

var s1:String = my_acc.local.test_dt.text;