I'm sitting here, working on my first homepage build
with Flash and I've got a problem that's drivin' me nuts!
I've got an animation, within it theres a dynamic textfield called
"text_box" - with actionscript text is being loaded into the fieldvariables
and with a nice script I can "flip through pages" within the textfield.
Of course, this script is not my invention, I'm not good at scripting,
instead I'm using the free scrollbar from this site:
You can download the fla for the scrollbar from there.
Now here's my prob:
You can "flip thorugh the pages" with a button, the script
used is mainly:
// Actions to occur when button is released
_parent.text_num = (++_parent.text_num == 5 ? 1 : _parent.text_num);
_parent.text_box.scroll = 1;
_parent.text_box = _parent["text_box"+_parent.text_num];
But now I dont want to define the text within the "pages" through
vars, like it's in the scrollbar script;
one way to find a path is to use the "insert a target path" button on the actions editor (bottom right corner circle with cross inside).
if you have a movieclip on root with instance name "mc" then to access it you can use:
and if you have a movieclip inside _root.mc with instance name "mc1" then to access it you can use:
and if you have a textbox inside _root.mc.mc1 with instance name "txt" then to put text into it (in MX) you can use:
or for HTML you can use: