# setProperty

**URL:** <https://forum.kirupa.com/t/setproperty/7767>\
**Category:** flash\
**Created:** [November 7, 2002, 10:29am UTC](https://forum.kirupa.com/t/setproperty/7767 "2002-11-07T10:29:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maggi](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@maggi](https://forum.kirupa.com/u/maggi)\
**Post date:** [November 7, 2002, 10:29am UTC](https://forum.kirupa.com/t/setproperty/7767/1 "2002-11-07T10:29:07Z")

</div>

hai guys 🙂  
i m new to flash scripting, can anybody tellme abt “setProperty” and abt all of its property like ,"\_x,\_y,\_xmouse,\_ymouse, etc"

any reply will be highly apprecialbe  
with regards  
maggi

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2002, 10:54am UTC](https://forum.kirupa.com/t/setproperty/7767/2 "2002-11-07T10:54:42Z")

</div>

did u check the mx reference:

setProperty

Availability

Flash Player 4.

Usage

setProperty(“target”,property,value/expression)

Parameters

target The path to the instance name of the movie clip whose property is to be set.

property The property to be set.

value The new literal value of the property.

expression An equation that evaluates to the new value of the property.

Returns

Nothing.

Description

Action; changes a property value of a movie clip as the movie plays.

Example

This statement sets the \_alpha property of a movie clip named star to 30% when the button is clicked:

on(release) {  
setProperty(“star”, \_alpha, “30”);  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2002, 11:29am UTC](https://forum.kirupa.com/t/setproperty/7767/3 "2002-11-07T11:29:12Z")

</div>

> \*Originally posted by h88 \*  
> Availability

Flash Player 4.  
I think that this is the most important is this. You shouldn’t use it too much…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2002, 11:40am UTC](https://forum.kirupa.com/t/setproperty/7767/4 "2002-11-07T11:40:17Z")

</div>

it would be in the future a leftover method from Flash 4 and will most likely be deprecated in later versions of Flash!

yours,  
h88
