Dynamic text... not that noobish though :D

ok, At the moment im using code like this:

homebtn.onRelease = function() {
    header = "Home";
    text = "This is some random dummy text";


but that is getting text from AS, what I would like to know

how would i make header equal to header in the text

I know you would use variableload

but how would I specify to the the Work page header or Home page header etc, without renaming any of the textfields vars?

im keeping to the bare minimum of 1 frame on 3 layers without the transition…

is this possible

to make it easier, something like this but in flash

$var1 = $var2;