var format:TextFormat = new TextFormat(); format.url = "http://www.adobe.com"; textfield.setTextFormat(format);