# Button bookmark!

**URL:** https://forum.kirupa.com/t/button-bookmark/23465
**Category:** Uncategorized
**Created:** [June 18, 2003, 11:08am UTC](https://forum.kirupa.com/t/button-bookmark/23465 "2003-06-18T11:08:22Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![filete](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/filete/32/124_2.png) [@filete](https://forum.kirupa.com/u/filete)
#### Post date: [June 18, 2003, 11:08am UTC](https://forum.kirupa.com/t/button-bookmark/23465/1 "2003-06-18T11:08:22Z")

</div>

Hello there,

This is my question:

I´ve be checking for weeks information of how to make a flash button,  
where after people click it , the state keeps clicked.  
Like a bookmark, to people know they allready have click that button.

As we do with HTML links.  
It´s been a hard job, cos i´ve been dealing with lots of AS to make  
this work!  
Is there a easy way?  
Can we make a text link with a visited link color like HTML?

Does anybody can give help with this?

Thanks

---

<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: [June 18, 2003, 1:58pm UTC](https://forum.kirupa.com/t/button-bookmark/23465/2 "2003-06-18T13:58:00Z")

</div>

?

---

<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: [June 18, 2003, 2:03pm UTC](https://forum.kirupa.com/t/button-bookmark/23465/3 "2003-06-18T14:03:43Z")

</div>

You have a few options.

I think the best option is using cookies.  
[Cookies](http://website.lineone.net/~mitsos/site/flash/tutorials/cookies/)

Or you could try to get it done with php and asp.  
:geek:

---

<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: [June 18, 2003, 9:20pm UTC](https://forum.kirupa.com/t/button-bookmark/23465/4 "2003-06-18T21:20:26Z")

</div>

Any more ideias?

---

<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: [June 18, 2003, 9:49pm UTC](https://forum.kirupa.com/t/button-bookmark/23465/5 "2003-06-18T21:49:52Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=21939](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=21939)

---

<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: [June 18, 2003, 11:18pm UTC](https://forum.kirupa.com/t/button-bookmark/23465/6 "2003-06-18T23:18:24Z")

</div>

Dats simple  
Just add dis code to ur button:  
[AS]  
on (release) {  
getURL(“java\_script:window.external.AddFavorite(‘URL’,TITLE’)”);  
}  
[/AS] where URL is ur site’s adress and TITLE is your site’s title dat will appear in the favorites menu.

**remove the underscore caratere of java\_script**

dats it  
🙂

---

<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: [June 18, 2003, 11:39pm UTC](https://forum.kirupa.com/t/button-bookmark/23465/7 "2003-06-18T23:39:10Z")

</div>

Just to let u know… i tested the code on IE6 and it worked like a charm… but not with Netscape 7.

---

<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: [June 19, 2003, 2:37am UTC](https://forum.kirupa.com/t/button-bookmark/23465/8 "2003-06-19T02:37:44Z")

</div>

Claudio: Perhaps you should read his post 😉

---

<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: [June 19, 2003, 2:42am UTC](https://forum.kirupa.com/t/button-bookmark/23465/9 "2003-06-19T02:42:26Z")

</div>

:trout: Hahahhaha thx lostinbeta… lol i was sure he wanted a bookmark button code

Stupid me

(-:

---

<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: [June 19, 2003, 2:47am UTC](https://forum.kirupa.com/t/button-bookmark/23465/10 "2003-06-19T02:47:54Z")

</div>

Yeah I was going to post the same thing you did until I read his post, his title and his post are two completely different subjects.

---

<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: [June 19, 2003, 3:09am UTC](https://forum.kirupa.com/t/button-bookmark/23465/11 "2003-06-19T03:09:31Z")

</div>

do what lost said in that thread… but once the swf is reloaded, they all will look unclicked… if you want that to be stored, use a sharedobject (do a search)…

basically, have an array like this:  
buttonStatus = [0, 1, 0, 0]  
that will represent which button has been clicked and which hasn’t. then make a function that loops through the buttons and the array and sets the color accordingly 🙂

---

<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: [June 19, 2003, 3:15am UTC](https://forum.kirupa.com/t/button-bookmark/23465/12 "2003-06-19T03:15:47Z")

</div>

Hey lostinbeta, i think ppl should use the post subject as a tip for those who r goin to read them.  
Not stuff like “help please”, “another question”…  
It would make things easier if u want to search the forum.  
🙂

---

<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: [June 19, 2003, 3:41am UTC](https://forum.kirupa.com/t/button-bookmark/23465/13 "2003-06-19T03:41:02Z")

</div>

> \*Originally posted by claudio \*  
> \*\*Hey lostinbeta, i think ppl should use the post subject as a tip for those who r goin to read them.  
> Not stuff like “help please”, “another question”…  
> It would make things easier if u want to search the forum.  
> 🙂 \*\*

Yeah, I agree, but that never happens, there always people out there who won’t.

I think in this case it was just a case of bad wording is all, i’m sure it wasn’t intentional.
