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

using array in doublequotes

Status
Not open for further replies.

osmany

Technical User
May 19, 2002
9
TR
hello,
how can use an array in double quotes? for example
_root.gec.attachmovie("den",123,0);
i want to use den name in an array, but this doesn't work;
_root.gec.attachmovie(abc[1],123,0);
i also used with parantheses.
thanks
 
try:
_root.gec.attachmovie(this[abc[1]],123,0);

'this' will only work if the path to abc[1] is within the scope of _root.gec.
if the array abc is defined in _root then do:
_root.gec.attachmovie(_root[abc[1]],123,0);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top