# Simple question ;)

**URL:** <https://forum.kirupa.com/t/simple-question/59645>\
**Category:** flash\
**Created:** [August 2, 2004, 7:07pm UTC](https://forum.kirupa.com/t/simple-question/59645 "2004-08-02T19:07:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonsebergsen](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@simonsebergsen](https://forum.kirupa.com/u/simonsebergsen)\
**Post date:** [August 2, 2004, 7:07pm UTC](https://forum.kirupa.com/t/simple-question/59645/1 "2004-08-02T19:07:21Z")

</div>

My site is minimal and similar to this

[http://www.migberlin.com/03/index.html](http://www.migberlin.com/03/index.html)

When you press the text button it stays the colour green.  
How is this done?

Something like “when pressed stay a certain color” :cubs:

I use this command on my textbutton to open the next line of textbuttons.

on(release) {  
loadMovie(“minimal3.swf”, 2); //  
}

Please help me :crazy:

---

<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:** [August 3, 2004, 6:20am UTC](https://forum.kirupa.com/t/simple-question/59645/2 "2004-08-03T06:20:14Z")

</div>

> [@simonsebergsen](#):
>
> My site is minimal and similar to this
> 
> [http://www.migberlin.com/03/index.html](http://www.migberlin.com/03/index.html)
> 
> When you press the text button it stays the colour green.  
> How is this done?
> 
> Something like “when pressed stay a certain color” :cubs:
> 
> I use this command on my textbutton to open the next line of textbuttons.
> 
> on(release) {  
> loadMovie(“minimal3.swf”, 2); //  
> }
> 
> Please help me :crazy:

---

<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:** [August 3, 2004, 6:25am UTC](https://forum.kirupa.com/t/simple-question/59645/3 "2004-08-03T06:25:28Z")

</div>

[AS]  
text\_mc.onRollOver = function()  
{  
this.letters\_txt.textColor = 0xFF0000;  
};  
text\_mc.onRollOut = function()  
{  
this.letters\_txt.textColor = 0x000000;  
};  
text\_mc.onRelease = function()  
{  
this.letters\_txt.textColor = 0xFF0000;  
delete this.onRollOut;  
delete this.onRollOver;  
};  
[/AS]

something like that…

---

<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:** [August 3, 2004, 7:13am UTC](https://forum.kirupa.com/t/simple-question/59645/4 "2004-08-03T07:13:57Z")

</div>

Where do i insert the AS`?

Just at the same place as  
this script?

on(release) {  
loadMovie(“minimal3.swf”, 2); //  
}

Thankls

---

<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:** [August 3, 2004, 7:23am UTC](https://forum.kirupa.com/t/simple-question/59645/5 "2004-08-03T07:23:58Z")

</div>

it depends on your setup. you should learn the code that i supplied and work it into your application. don’t just plop code down not knowing how it works.

---

<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:** [August 3, 2004, 11:02am UTC](https://forum.kirupa.com/t/simple-question/59645/6 "2004-08-03T11:02:06Z")

</div>

Ok great. Thanks for helping!

Simon
