I have associated a button with a movie clip which scales a field relative to the y coords of the mouse on press. (see below) It works great and makes for a nice drag-scaled textwindow background. The problem comes when I try to use the field as a mask. It just doesn't work, which is making my scalable text field essentially a small textfield within a scalable background. No good. check it out...
button (within mc"drgbtn"
on (press) {
_root.txtswch.txt.sclswch.gotoAndStop(2);
}
on (release, releaseOutside) {
_root.txtswch.txt.sclswch.gotoAndStop(1);
}
mc "sclswch" frame (2)
onClipEvent (mouseMove) {
_root.drgbtn._y = (_root._ymouse - 78);
updateAfterEvent;
-root. field._height = (_root._ymouse + 140)
}
anybody know an easier way of doing this? I have wasted way too much time already and am starting to have difficulty sleeping at night.
gracias
bugg
button (within mc"drgbtn"
on (press) {
_root.txtswch.txt.sclswch.gotoAndStop(2);
}
on (release, releaseOutside) {
_root.txtswch.txt.sclswch.gotoAndStop(1);
}
mc "sclswch" frame (2)
onClipEvent (mouseMove) {
_root.drgbtn._y = (_root._ymouse - 78);
updateAfterEvent;
-root. field._height = (_root._ymouse + 140)
}
anybody know an easier way of doing this? I have wasted way too much time already and am starting to have difficulty sleeping at night.
gracias
bugg