# sendAndLoad for Flash Player 7, 8 , 9

**URL:** <https://forum.kirupa.com/t/sendandload-for-flash-player-7-8-9/212892>\
**Category:** flash\
**Created:** [January 15, 2007, 3:04pm UTC](https://forum.kirupa.com/t/sendandload-for-flash-player-7-8-9/212892 "2007-01-15T15:04:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Black\_Ice](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Black\_Ice](https://forum.kirupa.com/u/Black_Ice)\
**Post date:** [January 15, 2007, 3:04pm UTC](https://forum.kirupa.com/t/sendandload-for-flash-player-7-8-9/212892/1 "2007-01-15T15:04:42Z")

</div>

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](http://www.domainname.com/flashget.php)”, loadVars\_in, “POST”);  
var totalVotes:String = loadVars\_in.content\_web;
