Bookmark Page


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


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



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. <a href=>



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,376
Rating:
There are currently no comments for this tutorial, login or register to leave one.