//--------------------------------------------------- // AUTHOR: PAUL ASPDEN // DATE: 31/05/2006 // DESCRIPTION: ALL GLOBAL FUNCTIONS //--------------------------------------------------- //--------------------------------------------------- // SET TEXT BOX // SETS UP A TEXT BOX // // n = textbox name // tCon = text content // w = width // h = height // bCol = background Color // tCol = text Color // //--------------------------------------------------- _global.fncSetTextPostNote = function(tCon, object) { object = eval(object); var textFmt:TextFormat = new TextFormat(); textFmt.font = "fntPostNote"; textFmt.color = 0x333333; textFmt.size = 30; object.antiAliasType = "advanced"; object.wordWrap = true; object.multiline = true; object.html = true; object.embedFonts = true; object.htmlText = tCon; object._rotation = 0; object.setTextFormat(textFmt); };