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?
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.
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
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.
*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.