Button bookmark!

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

?

You have a few options.

I think the best option is using cookies.
Cookies

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

Any more ideias?

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

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
:slight_smile:

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

Claudio: Perhaps you should read his post :wink:

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

Stupid me

(-:

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.

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 :slight_smile:

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.
:slight_smile:

*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.
:slight_smile: **

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.