MovieClip.prototype.box = function (x1, y1, x2, y2, col, alpha, cut) { this.beginFill (col, alpha); this.moveTo (x1, y1); this.lineTo (x1, y2); this.lineTo (x2, y2); this.lineTo (x2, y1); if (cut != undefined) { this.moveTo (cut.X, cut.Y); this.lineTo (cut.X, cut.Y2); this.lineTo (cut.X2, cut.Y2); this.lineTo (cut.X2, cut.Y); } this.endFill (); }; MovieClip.prototype.tekst_func = function (depth, naam, Content, x, y, width, height, format, Type, extra) { this.createTextField (naam, depth, x, y, width, height); this [naam].type = Type; this [naam].selectable = false; if (Type == "input") this [naam].selectable = true; if (extra.multiline) this [naam].multiline = true; if (extra.autoSize) this [naam].autoSize = true; if (extra.border) this [naam].border = extra.border; if (extra.background) this [naam].background = extra.background; if (extra.embedFonts == "true") { this [naam].embedFonts = true; } this [naam].html = true; this [naam].mouseWheelEnabled = true this [naam].htmlText = Content; this [naam].numDig = this [naam].text.substr (start).length; this [naam].setTextFormat (format); this [naam].wordWrap = true; };