I am going to try to post something code related everyday (maybe except for the weekend). So today I will cover a super easy tip:

When setting the same property on different objects, you can same time by instead of doing this:

movieClip1.visible = false;
movieClip2.visible = false;
movieClip3.visible = false;

Do This:

movieClip1.visible=movieClip2.visible=movieClip3.visible=false;

Easy, huh?


Author: Jonathan Dunlap
Jonathan is a veteran software architect, author of IsoHill, humanitarian, and has worked with Bigpoint Inc, CrowdStar, ePrize, and Microsoft.

Tags: ,