Hello,
I am trying to show the contents of an sql database table, in a flash page. I use a php file for this and some actionscript (2.0) code to do this.
Code:
var all_news = new LoadVars();
all_news.load("http://localhost/test/news.php");
all_news.onLoad = function(success){
if(success){
title_txt.text = all_news.news_title;
news_txt.text = all_news.news_text;
} else title_txt.text = "error";
}
I need to find a way to show all contents of the table, one after another, not just the first row and I wonder if there is something like Dreamweaver's Repeat Region, in Flash? An automatic mechanism to do easily what I want.
Do have something to propose? Any ideas?