Hi everyone,
(EDIT: I forgot to stress that** I have to **use Flash 8 and AS2.)
I am somewhat new to Flash (though I have plenty of other programming experience), but making rapid progress, largely thanks to the great tutorials and references available on sites like Kirupa.
I am creating a flash application that will display vertically scrollable list of comments. You can think of it as a message board. Each comment consists of an author, some meta-data (such as when it was made, or thumbnail of the author) along with a variable-length text. I would like the height of each comment to change depending on the length of its text (since the overall width of the comment area is fixed, and only vertical scrolling is allowed). This means that I cannot use the List/DataGrid component, since it requires that all rows have the same height. The entire “message board” needs to be scrollable as well, so that the user can look at different comments. In addition, the list of comments will change dynamically, and I will need to insert new comments, potentially at arbitrary positions. This message board task is obviously trivial in HTML, but unfortunately I need to do it in Flash.
Does anyone have advice on how to proceed? What components can I use to achieve my design goals? Currently it seems that I need to somehow write code that renders an individual comment using (among other things) a textarea, resized somehow depending on the length of the comment text. I then would need to somehow render a list of these comments and be able to scroll vertically through them. Can anyone direct me to tutorials, component names, etc. that I need to consider as I explore my options?
Thanks in advance,
C6