Ok, this is a bit rudamentary.... lol I know *what* the issue
is, but just need a little info on how to fix it.
I have a swf, it has 1 frame. In that frame i have one layer.
In this layer it has 1 button (called simple_btn) and a dynamic
text box (it's instance name is myData).
When I click the button, I query a database with a PHP script
and return that data using sendAndLoad(); I want the returned value
to be put into the dynamic field myData.
Here is the output of my code:
Data 2: undefined
Querying database for record now.
Data 1: undefined
>> ipAddr: 10.1.1.2
Now I take it, before I print out "Data 2:", my data has not
been loaded from the database. Using timelines, or another method,
how can I make sure Data 2 does
NOT print out undefined and the dynamic text field myData
has the value of ipAddr populated into it?