I have this dynamic news updater that I need to be AS3. Any ideas?

Code:
function loadMyText(evt)
{
    var _loc2 = new LoadVars();
    _loc2.load("content.html");
    _loc2.onLoad = function (success)
    {
        if (success)
        {
            my_txt.text = this.content;
            my_title.text = this.title;
        }
        else
        {
            trace ("Could not load text file.");
        } // end else if
    };
} // End of the function
this.createClassObject(mx.controls.UIScrollBar, "my_sb", 20);
my_sb.setScrollTarget(my_txt);
my_sb.setSize(16, my_txt._height);
my_sb.move(my_txt._x + my_txt._width + 5, my_txt._y);
loadMyText();
var flash_css = new TextField.StyleSheet();
flash_css.load("styles.css");
my_txt.styleSheet = flash_css;