Bookmark Page


Here is a nice simple tutorial on how to bookmark a page to internet explorer and a like browsers.


Flash ActionScript
  1.  
  2. on (release) {
  3. getURL (\"javascript:window.external.AddFavorite(
  4. 'https://www.WEBSITE URL.com','DESCRIPTION');\");
  5. }



on(release) { when the mouse button has been clicked and released do the following in the { and } tags.

getURL is basicly the same as linking a page using

Flash ActionScript
  1.  
  2. <a href=>
  3.  



then it is a little bit of javascript to tell IE to add the favourite.
and then close it off.

you have to add the code to the button you want to be clicked to run the script.

You can also make vars to retrive the current URL the user is on and make that the favourite.

Enjoy!
chrism's Avatar
Author:
Views:
2,374
Rating:
There are currently no comments for this tutorial, login or register to leave one.