Let’s say I have this function
function Do(x:String){}
How can I make so that each time this function is called, it will add a form into a hbox, and that form will have 2 buttons yes and no and put x into the text of a label.
When the user is going to click on Yes I need to trace(x) and remove the Form from the hbox
use a lot of addChild methods. This should get you started:
//create your yes and no functions
This is off the top of my head, so some of it may need to be worked a little to function properly