Beginner's trouble - pure actionscript 3 swf and text scroll

I want to learn actionscript 3 (using Flashdevelop) and tried to create simple swf that displays scrolling text in browser. I managed so far only to display text. Scrolling appears diificult since i tried to move text on x axis inside for() loop and it only shows up on last x value. It scrolls first and then swf is displayed, when all scrolling is already done.

I’ve found some info telling me that i need additional frame to display scrolling text after swf loads (using flash editor). Also i tried use various events but none of them allowed me to show programmatically-scrolling text AFTER swf is displayed.

Is there a simple “hello world” text scrolling example/tutorial in pure action script, without any bells and whistles to burden a beginner ?