Does anyone know how to control Multiple Text Fields with one Scrollbar in Flash?
V.
Does anyone know how to control Multiple Text Fields with one Scrollbar in Flash?
V.
Hi,
First, this forum is small enough that there is no need to post the same question in multiple forums. As for scrolling multiple text fields with one scroller, it depends on how you want it to work. Are you trying to scroll all the textfields at the same time or scroll them independently depending on which field the user is in? If your using a component, it only allows you to target one individual textfield. If you create your own scroller, you should be able to declare multiple textfields as targets and use the getFocus method to tell the scroller which textfield to scroll. Maybe something like....
if(Selection.getFocus("_root.myTextfield") {
target = _root.myTextfield;
}else if (Selection.getFocus("_root.myTextfield2") {
target = _root.myTextfield2;
}
Just thinking out loud. I have not tested this.
Hope it helps
NTD
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks