Sunday, 25 April 2010

IDAT210 - Textbox fix

As mentioned earlier I was not sure how to deal with the text in my application as I was not sure whether it was necessary, and had problems with the amount of text in comparison to the amount of space available. I have now come up with a simple fix to this problem.  Firstly I decided it would be a good idea to keep the text in the app as this gives people a chance to make comparisons between the textual data and the sound and visuals that are produced according to this.  Therefore I had to solve the problem of space for each of the posts made.  I decided the best way to do this is the most obvious way, in that I should add a scroll bar to the text box so that viewers of the application can scroll up and down through the various posts that are being used without having to refer to the Facebook page.  I therefore looked into scrolling text boxes and found that I could use a flash UIScrollBar component for the task.  This then had to be coded in after the text had been created in the AS3 code to ensure that it was relevant to the length of text.  The following is how the application now looks:
Hopefully once I have got the project properly launched on Facebook the amount of text will be much more varied and larger than this and so there will be more use for the scroll bar, as well as a longer and more varied audio and visual piece.

No comments:

Post a Comment