Load different areas of text file with AS3

I’ve been looking for a tutorial that loads different variables in a text file to different textfield/textbox in flash using AS3. So my text file would look like this:

myVariable1=<p class=‘header’>Headline1</p><br>Subtext content 1
myVariable2=<p class=‘header’>Headline2</p><br>Subtext content 2
myVariable3=<p class=‘header’>Headline2</p><br>Subtext content 3

And “myVariable1” would load in textbox “myText_txt_1” in flash and “myVariable2” would load in textbox “myText_txt_2” and so on…

I think this is possible in AS2 but is this even possible in AS3?

:lol:Thanks for the help!