• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Code Fix!

form_ac.createChild("form1_mc","form1", { label: "Name" });
form_ac.createChild("form2_mc","form2", { label: "Address" });
form_ac.createChild("form3_mc","form3", { label: "Email" });

// read data in from an accordion movie
ac_btn.onRelease = function ()
{
      nameTxt = form_ac.form1.name_txt.text;
      trace(nameTxt);
}

That's It?

Yep. That's it. You add movie clips to the accordion with the createChild() method. The syntax is


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint