Hi All.
I have done a script that reads from a mysql database and feeds back the results to the flash document. The code involves feeb back inot a dynamic text box. In the standalone server or within flash 8 itself, it works fine.
When i publish it, only web browsers with flash 8 can view the text on the browser, otherwise it gives the term ‘undefined’ meaning that the variable does not have a value. Players 7 and 9 do not show the content.
How can i make sure that all flash players see it well.
Please find a snipet of the code below:
var loadVars_in:LoadVars = new LoadVars();
var loadVars_out:LoadVars = new LoadVars();
loadVars_in.onLoad = function() {
var totalVotes:String = loadVars_in.content_web;
contentMain.description_text.html = true;
contentMain.description_text.htmlText =totalVotes;
};
var selectedNum:String = “History”;
loadVars_out.choice = selectedNum;
loadVars_out.sendAndLoad(“http://www.domainname.com/flashget.php”, loadVars_in, “POST”);
var totalVotes:String = loadVars_in.content_web;