# Xetreme noobness, need help

**URL:** <https://forum.kirupa.com/t/xetreme-noobness-need-help/21767>\
**Category:** Uncategorized\
**Created:** [May 26, 2003, 5:36am UTC](https://forum.kirupa.com/t/xetreme-noobness-need-help/21767 "2003-05-26T05:36:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![holy\_cheese](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@holy\_cheese](https://forum.kirupa.com/u/holy_cheese)\
**Post date:** [May 26, 2003, 5:36am UTC](https://forum.kirupa.com/t/xetreme-noobness-need-help/21767/1 "2003-05-26T05:36:40Z")

</div>

ok i know that this is probably a very noob question, but im just learning AS so bear with me.  
if i wanted to disable something like a movie clip from being clickbale (i have already linked it to a function)  
if i want to diable the movie clip form being clicked unless something else has been pushed how would i do this and where would i put it?  
also if its not too much trouble could you explain the code a little bit

---

<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:** [May 26, 2003, 12:26pm UTC](https://forum.kirupa.com/t/xetreme-noobness-need-help/21767/2 "2003-05-26T12:26:21Z")

</div>

Put this into your main timeline  
[AS]

mymovieclip.\_visible = false  
mymovieclip2.onRelease = function() {  
mymovieclip.\_visible = !mymovieclip.\_visible

}  
[/AS]

mymovieclip.\_visible = false  
this makes mymovieclip invisible

* * *

mymovieclip2.onRelease = function() {  
mymovieclip.\_visible = !mymovieclip.\_visible

}

this makes mymovieclip the opposite of what it currently is. If you just want it to turn on once then replace:  
mymovieclip.\_visible = !mymovieclip.\_visible

to

mymovieclip.\_visible = false

hopes that good enough explaination and what you wanted

---

<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:** [May 26, 2003, 12:31pm UTC](https://forum.kirupa.com/t/xetreme-noobness-need-help/21767/3 "2003-05-26T12:31:45Z")

</div>

or you could use the **enabled** property instead of the **\_visible** property. 😉

---

<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:** [May 26, 2003, 3:42pm UTC](https://forum.kirupa.com/t/xetreme-noobness-need-help/21767/4 "2003-05-26T15:42:09Z")

</div>

Actually you SHOULD use enabled 🙂
