What is it you're trying to do?
Your code is written correctly to get the result you described.
Is that not the result you were after?
Flash Mel wrote:
I am writing this wrong:
controller_mc.attachMovie("gallery_mc", "gallery_mc", 50);
theGallery = controller_mc.gallery_mc;
gallery_contains = 4;
for (i = 0; i<gallery_contains; i++){
num = "img_"+i;
theGallery.num._alpha = 0;
trace(num);
}
gallery_mc has _mc's in it named, img_0, img_1, img_2, img_3.
What am I doing wrong here?
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bob Leisle
Headsprout Software & Engineering
http://www.headsprout.com
Where kids learn to read!
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com