How to add nodes to the tree component in runtime

Hi everyone!

Im stuck :’( i’ve made a tree component with content within it, but i want to give the user the option to add nodes when its published. could anyone help me with this please? its kinda urgent… waaaaa! please help!

p.s. im no expert in actionScript :m2: