Use the Array
access operator. For more details, see this.
var containers:int = 1;
for (var i:int = 1; i<containers + 1, i++) {
this['option' + i + 'Container']['option' + i + 'BlueBox'].filters = [myShadowFilter];
}
You could probably simplify this further by giving the blue box clip the same instance name (it only needs to be unique within the current scope). Then you could do something like this:
// Create an array of containers
var containers = [
option1Container,
option2Container,
option3Container,
option4Container
];
// Loop through each container and apply the filter
// to the blue box container clip
for (var i = 0; i < containers.length; i ++)
{
containers[i].option1BlueBox.filters = [myShadowFilter];
}