# Applying actions to multible objects

**URL:** <https://forum.kirupa.com/t/applying-actions-to-multible-objects/202930>\
**Category:** flash\
**Created:** [October 5, 2006, 9:35pm UTC](https://forum.kirupa.com/t/applying-actions-to-multible-objects/202930 "2006-10-05T21:35:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pepin](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@Pepin](https://forum.kirupa.com/u/Pepin)\
**Post date:** [October 5, 2006, 9:35pm UTC](https://forum.kirupa.com/t/applying-actions-to-multible-objects/202930/1 "2006-10-05T21:35:01Z")

</div>

Can anyone tell me how to group objects together so that you can change their parimeters all at once. Like if I have a 7 boxes on screen with the instance name box1, box2, ect… and i wanted to do change them via action script, like make them all partailly invisible when an event happens. How would I do that. I’ve tried stuff like

box = ["\_root.red", “\_root.blue”];  
box.\_rotation = 40;

and  
box = [\_root.red, \_root.blue];  
box.\_rotation = 40;

and

box = (\_root.red), (\_root.blue);  
box.\_rotation = 40;

but they don’t don’t seem to work. One of them changes only the last one.
