Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scaleable mask???

Status
Not open for further replies.

bugg

Programmer
Jun 20, 2001
62
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top