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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

see value inside variable

Status
Not open for further replies.

knuckle05

Programmer
Dec 17, 2001
247
CA
Hi All,

How can I see a value inside a variable?

I have an ActionScript that is in the code of Frame1 of one of my symbols.

I need to see what the value of a variable is inside this script for debugging purposes. What is a good method to do this?

thx
 
Thanks for the tip,

The thing is, I would prefer to be able to display this value in a textbox on the form.

How can I set the textbox = to the variable

I believe I have to prefix the textbox with the layer name?
 
no, layer would have nothing to do with it... you simply locate your text box, for example if my textbox was named "Mfield" and it was in a mc on the root and that mc name was "mcA" I would get to it by:

_root.mcA.Mfield.text = _root.variable

[conehead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top