Hey,
My UIScrollBar works with my text field when I preview my file locally.
But when I upload my website files to my server romotely. The scroll bar is there, but it does not have any arrows and is not scrollable.
This is my code. I have the correct import statements.
ActionScript Code:
//UIScrollBar component code
var scrollBar:UIScrollBar = new UIScrollBar();
scrollBar.direction = "vertical";
scrollBar.x = 752;
scrollBar.y = 45;
scrollBar.setSize(myTextField.width, myTextField.height);
addChild(scrollBar);
scrollBar.scrollTarget = myTextField;
My textfield code is above this. I get no errors. It just does not work when I upload it.
Thanks in advance.