I have a 5 tabs that are already complete. I would like to add a script to change the state of the button depending on the URL
so if I have 5 pages and each tab leads to a page
We will call the pages
1. Home (index.htm)
2. About Us (aboutus.htm)
3. Services (services.htm)
4. Specials (specials.htm)
5. Contact Us (contactus.htm)
I have attached the completed button that fades in and out as you roll your mouse over and off of it.
Click on the button and you will see it turn to dark blue. I would like this to be the state of the button based upon whether or not they are on aboutus.htm or services.htm, etc etc etc.
I have been looking for a solution to this and found how to load a URL but not check the webaddress you are currently on.
How do I tell ActionScript 3.0 (getURL is no longer available in 3.0) to check the URL and based upon the URL, put the button into the down state?
Thanks for any insight.
I found the following in the forums. It looks as if it is actionscript 2.0 however I will see if this will work.
I tried the script above. I must not know enough about it because I could not get it to work. I wrote another posting to the writer to see if they could help shed some light.