[thelist] Flash MX 2004 - Variables, etc..

Mark Joslyn Mark.Joslyn at SolimarSystems.com
Wed Mar 9 14:13:47 CST 2005


<snip>
How are you retrieving the variable?

You could try attaching similar to a MC:

onClipEvent(load) {
  this.loadVariables ("myvariables.txt");
}
onClipEvent(data) {
  _root.myComboBox.text=myTextVar
}
</snip>

The variable is dynamically created by the web service. So, the result from
the Flash webServiceConnector component is a string (sessionID).
(this.webservice.result)

So I click the login button, the web service returns me back a sessionID,
then based on the sessionID, I want to dynamically populate a comboBox
component with results from another web service method. (I am filling the
comboBox with report names - the web service required a sessionID as a
parameter.)

I am not loading external variables per se, I am getting a variable from the
web service but it seems like it grabs it too late for my comboBox to
successfully populate (undefined).

Any other thoughts?

Thanks,

markJ




More information about the thelist mailing list