trying to make a label maker. And I have an onscreen keyboard that allows me to enter text. wondering how I can copy it and put it in a prinintg animation. Still new to as3
if you want to use text (entered into a textfield) elsewhere in your app when the textfield no longer exists, assign the textfield's text property to a variable (when the textfield exists). you can then use that variable even when the textfield (and its text) no longer exist.
How would I go about displaying the varible in the textbox in another movieclip.
printedTxt = MovieClip(parent).savedTxt;
not seeming to work. I have my savedTxt in the movieclip before this.
if your code is on the parent timeline of the movieclip, the movieclip's reference is mc and the textfield's reference in mc is savedTxt, use:
var printedTxt:String = mc.savedTxt.text;