# setProperty (multiple targets, \_property, value)

**URL:** <https://forum.kirupa.com/t/setproperty-multiple-targets--property-value/84515>\
**Category:** flash\
**Created:** [March 28, 2005, 2:46pm UTC](https://forum.kirupa.com/t/setproperty-multiple-targets--property-value/84515 "2005-03-28T14:46:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pensamente](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pensamente/32/1208_2.png) [@pensamente](https://forum.kirupa.com/u/pensamente)\
**Post date:** [March 28, 2005, 2:46pm UTC](https://forum.kirupa.com/t/setproperty-multiple-targets--property-value/84515/1 "2005-03-28T14:46:07Z")

</div>

got stuck with this…  
I’ve 2 mc in timeline  
instance names are:  
form1  
form2

in first frame I wrote the following code

setProperty(form1, \_alpha, 50);  
setProperty(form2, \_alpha, 50);

this works ok  
but the question is… multiple targets, how could I do something like this:

setProperty((form1; form2), \_alpha, 50);

although I know this doesn’t work… how could I setProperty of more than one instance?

:crazy:
