# Populating Object parameter from Shared Object Array

**URL:** <https://forum.kirupa.com/t/populating-object-parameter-from-shared-object-array/314873>\
**Category:** flash\
**Created:** [October 11, 2010, 5:43pm UTC](https://forum.kirupa.com/t/populating-object-parameter-from-shared-object-array/314873 "2010-10-11T17:43:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![screeg](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@screeg](https://forum.kirupa.com/u/screeg)\
**Post date:** [October 11, 2010, 5:43pm UTC](https://forum.kirupa.com/t/populating-object-parameter-from-shared-object-array/314873/1 "2010-10-11T17:43:18Z")

</div>

I have a series of similarly named Objects, cont100, cont101, etc., each with a Boolean parameter **active\_**. I have a Shared Object which holds an Array of Booleans [false, false, true, etc] corresponding to the starting state of Objects cont###.

When loading the Shared Object, how can I assign the correct Boolean value from the Array to each cont###.active\_ ? I know how many cont### Objects there are, but they’re not in perfect sequence, ie. some numbers are skipped.

Is there a way to search for all Objects with names starting “cont” like I would with a String?
