# °°° Visited Links °°°

**URL:** <https://forum.kirupa.com/t/visited-links/56878>\
**Category:** flash\
**Created:** [July 8, 2004, 2:17pm UTC](https://forum.kirupa.com/t/visited-links/56878 "2004-07-08T14:17:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lampe](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@lampe](https://forum.kirupa.com/u/lampe)\
**Post date:** [July 8, 2004, 2:17pm UTC](https://forum.kirupa.com/t/visited-links/56878/1 "2004-07-08T14:17:51Z")

</div>

hello there!

i want to show when a button has been clicked on (visited), by changing the colour (or just another pictogram). How can i do this? (for an example, go [http://03.asterisk.be/?03](http://03.asterisk.be/?03) --\> you see the small icons, once visited, they turn blue). How can i do this? Is it just a simple actionscript?

thank you so much!

lampe

[www.nookyalur.com](http://www.nookyalur.com) and donate! _hihi_

---

<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:** [July 9, 2004, 12:51am UTC](https://forum.kirupa.com/t/visited-links/56878/2 "2004-07-09T00:51:53Z")

</div>

I can think of two ways off the top of my head:

1. Use a movieclip instead of a button and give it the actions:

```auto
on(rollover) {
this.gotoAndStop(desired frame);

```

1. Have an invisible button overtop the original button that becomes visible when the button is click.

---

<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:** [July 9, 2004, 6:20am UTC](https://forum.kirupa.com/t/visited-links/56878/3 "2004-07-09T06:20:40Z")

</div>

Yes! it worked! I tried the first way, and this is the exact actionscript:

```auto
on (press) {
    this.gotoAndStop("framelabel");
}

```

thanks a lot!

lampe

---

<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:** [July 9, 2004, 1:12pm UTC](https://forum.kirupa.com/t/visited-links/56878/4 "2004-07-09T13:12:12Z")

</div>

I discovered another problem

when I click a MC, you see it has been clicked (see the actionscript in the post above). So no problem untill now.

The MC is placed on scene 1, but when i click on that MC it should go to a labeled frame (called “lampe”). So actually it should work just like a button. I tried it with this script:

```auto
on (press) {
	this.gotoAndStop("b");
}
on (release) {
	gotoAndPlay("lampe");
}

```

but it won’t work. Problem is that i want to give this MC some button-behaviours… How can i solve this? I just want a button that shows that it has been visited and that links to another frame…

thanks

lampe

---

<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:** [July 9, 2004, 1:21pm UTC](https://forum.kirupa.com/t/visited-links/56878/5 "2004-07-09T13:21:41Z")

</div>

Okay, this is the other part: when clicked, you see the frame “lampe”, but you can’t see that the MC has been clicked…

this is the new code:

```auto
on (press) {
    this.gotoAndStop("b");
}
on (release) {
    _root.gotoAndPlay("lampe");
}

```

so i added a \_root to show that my frame “lampe” is on the main scene.

How can i show that the frame “b” is in the MC (called “MC\_knop”)???

it’s either the clicked-status without action, or the action without clicked-status… :puzzled:

---

<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:** [July 9, 2004, 1:48pm UTC](https://forum.kirupa.com/t/visited-links/56878/6 "2004-07-09T13:48:24Z")

</div>

AAAAAAAAAAAAARGHLLLL

it’s driving me crazy! When i click some other MC’s and then that specific MC multiple times, it sometimes works, but mostly not. (and it doesn’t stay in the clicked-status, you can turn it on and off).

i’ve uploaded the flash-file here: [http://www.nookyalur.com/kirupa/visited2.fla](http://www.nookyalur.com/kirupa/visited2.fla)

the MC in the left-top is the one with the changed script (clicked-status and action), all the rest are good ones (but no action, only clicked-status)
