Question

I am trying to build a Flash application which would display data from a external source and scroll it from left to right.

I am new to action script world, i have found an example in which text is scrolling but here there is only one text field. I would like to have multiple text field depending upon my data loaded from external source. How can i achieve it. Do i need to create 10 text fields if my external data returns 10 records.

Any advice on this would be appreciated. Thanks

Was it helpful?

Solution

It depends on your task, if you need 10 lines of text information that moves independently, so you will need 10 text fields. Or you could scroll one text field and change it's content with a new information (next record). For scrolling of the text field you will need Timer or Enter frame handler or Tweening engine, as for changing text you will need some logic, like if text goes offscreen - show another text data.

For me, your question looks very similar to this one, check it, maybe it will be helpful for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top