A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Visited Links

  1. #1
    Does anyone out there know an easy way to create links to URLs which change colour once the user has clicked on them? My navigation menu is used on different pages throughout my site. When the swf re-loads, I want it to remember the visited links, just like in HTML. I suppose this will involve loading external variables?

    gabs

  2. #2
    Junior Member
    Join Date
    Nov 2000
    Posts
    2

    server side script

    No, there is no easy way to do that. But if you know a bit of server side scripting then it is not that hard using the flash querystring.

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Posts
    143
    i think that you will have to use something like cookies, as you want one set of variables for each user that is viewing the site, so the variable set will have to be stored on the client machine, then accessed when the user views the site, you will need a boolean variable for each link, and basically use actionscript to change the RGB values depending on whether the boolean is true or false. as flash cannot work directly with cookies, you will have to write a java servlet or cgi script that does that for you and just pass the variables to and from the script.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center