Visited
- Started
- Last post
- 9 Responses
- canadian
Does anyone know how to make a link as a visited state in flash?
- canadian0
Beuler?
- phenom0
Do the button as a movie clip. Then you can code it to sit on a frame once it's been clicked.
- 4cY0
for more advanced user you could even add it to the browsers history via js. or via cookie..
- canadian0
ok. sounds good. how do you code the "once clicked" switch MC?
- canadian0
Don't need it so advanced. Just basic.
- atze1870
is the link embedded in a textfield?
- Bluejam0
Not you again! (joke)
Put the 'button' into a movieclip, for example's sake name it 'buttonMovieClip'.
Now you can add actionscript to the button and reference the movie clip it's in. If you wanted to make the button 50% opacity as it's visited state you'd add this code to the button.
on (release) {
setProperty ("_root.buttonMovieClip", _alpha, 50);
}If you want a change in colour, inside the movie clip add two frames, both with the button in. The first frame will be the on state of the button, the second, the visited state. Add a 'gotoAndStop' action on the button in the first frame to go to the second frame, the visited state.
Hope that helps
- canadian0
Bluejam I love you. Thank you.
- phenom0
Here's a link if you want to get hardcore about it.