Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading variable from label-problem

Status
Not open for further replies.

herre

Programmer
Sep 2, 2005
5
BE
Hi!

Little problem: I read some data from an xml-file into labels on my stage.

All the labels are getting the correct data.

I want now to read the text from a label called launch_link, and depending of the value of that label, I want to set a launch button to visible=true or false.

When I write in my code the launch_link.text or _root.launch_link.text, I always get "undefined", or "label" as value, although I see on the screen in the label the correct value.

I also want that variabele set every time that the data is refreshed (so every time the launch_link-label gets a new value).

The XML-data is loaded with the visual XMLConnector component, not with actionscript code.

Here's my source-fla and xml:

Can somebody help me with this one?

Kindly regards,

Herre
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top