Hi,
First off I'm more of a C++ programmer and so I'm wrapping my head around Flash's framework.
What I'm attempting to achieve here is have certain 'stuff' happen when I roll-over a button which is nested in the parent. However, Flash is claiming that it's the wrong root of passage by not actually working. The roll-over works, as I've done tests in the _root of the page; but when I'm type casting to the a child it claims it's wrong. Any help would be appreciated.
Here's an image to illustrate that everything is okay.
Here is my code.
Code:
_root.menucontainer.class_box.sm_classImage.menuclassone.onRollOver = function() {
createTextField("dynamic_txt", 1, 10, 10, 150, 30);
dynamic_txt.text = "Here's some text";
dynamic_txt.textColor = 0x00cc00;
dynamic_txt.border = true;
};