Copy link to clipboard
Copied
I just want a button to scroll up and down the content of my textfield. Have no idea how to start.Thank you in advance.
I can scroll with my computeur keyboard. But I want to do it from my virtual Keyboard I made thanks to you all.
use the scrollV property of your textfield
Copy link to clipboard
Copied
use the scrollV property of your textfield
Copy link to clipboard
Copied
Hi Kglad
Thank you. Sorry for the time, but I had to first understand what you meant, and search with «help Adobe», the meaning. I thought it was scroll5. And then I realised the V was for vertical. So I said to myself, I might as well make 2 buttons instead of one. Up and down.
And I am afraid you are becoming like Ned Murphy. Just, barely the minimum info. No fun anymore. Here the code for those who want it:
butUp.addEventListener(MouseEvent.CLICK, canada1);
function canada1(event:MouseEvent):void
{
inputTxt.scrollV++;
}
butDown.addEventListener(MouseEvent.CLICK, brasil0);
function brasil0(event:MouseEvent):void
{
inputTxt.scrollV--;
}
Copy link to clipboard
Copied
you're welcome.