Example from macromedia not working

I was reading the following article from macromedia website and for my surprise, the following piece of code provided in the article produced no results, but I could not see any problem with it. Does anyone have a clue?

Thanks a lot,
HEMOglobina

var text_fmt:TextFormat = new TextFormat();
text_fmt.font = "Arial-10";
text_fmt.size = 10;

createTextField("my_txt", 10, 20, 20, 320, 240);
my_txt.autoSize = "left";
my_txt.embedFonts = true;
my_txt.selectable = false;
my_txt.setNewTextFormat(text_fmt);
my_txt.multiline = true;
my_txt.wordWrap = true;

var lorem_lv:LoadVars = new LoadVars();
lorem_lv.onData = function(src:String) {
    if (src != undefined) {
        my_txt.text = src;
    } else {
        my_txt.text = "unable to load text file.";
    }
};
lorem_lv.load("http://www.helpexamples.com/flash/lorem.txt");

normal_mc.onRelease = function() {
    my_txt.antiAliasType = "normal";
};
advanced_mc.onRelease = function() {
    my_txt.antiAliasType = "advanced";
};