Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : Targetting an element inside of an accordian pane



adireddy
4/14/2004 1:11:42 PM
I think you can use getChildAt(index) property of the accordion component to access any child of it.

myAccordion.getChildAt(index);

Paul Whitham
4/14/2004 11:50:02 PM
Does anyone know what the correct syntax is to target an element inside of
an accordian pane?

I have a forms base application and prior to loading the accordian I was
able to target a Rich Text Entry component on a form called "Desc" with the
following code

_root.application.Desc.RTE_details.setRichText("This is a test");


But now that the form is called as a child of an accordian sitting on its
own form the targeting is not working. The form that the accordian is on is
named "accordian" and the instance is called "myAccordion" and within this
the form that I am trying to reach has been given a Childname of "DescForm"




--
regards

Paul Whitham
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia/
Certified Dreamweaver MX2004 Professional


AddThis Social Bookmark Button