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

Can an instance/movie clip name be an array? 1

Status
Not open for further replies.

CGann

Programmer
Jan 23, 2004
31
US
I've got some text and picture areas that I'd like to populate dynamically (i.e. 4 headings with associated photos) Rather than hardcode them, can I make the instance names arrays? like movie clip name "picture[0]"?

for example, why doesn't this work...
picture_[4].loadMovie("images/" + storyImg[j], 1);

but this does...
picture_4.loadMovie("images/" + storyImg[j], 1);

BTW: iyo- what is the best book for learning more about flash & actionscripting?

CG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top