-
[F8] Scrolling in a form
Hi, so I have a form similar to the one on Kirupa. I can scroll perfectly well on it using a pair of buttons with the following code attached to them:
on(press){
form.msg.scroll--;
}
and, on the other one:
on(press){
form.msg.scroll++;
}
Now I made some nice movie clips that I would rather use than the buttons. I attached this code to one:
on(release){
_root.form.msg.scroll++;
}
and, on the other one:
on(release){
_root.form.msg.scroll--;
}
however, when the instance behavior for the mc's is set to "movie clip" this code doesn't work. On the first press the form scrolls one line, then the cursor inside the form disappears and no more scrolling occurs.
Any suggestions?
-
I think it's better if you post your .fla.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|