PDA

Click to See Complete Forum and Search --> : Book marking thro Flash


valhallen
April 11th, 2002, 04:55 AM
I just came across this at flashkit (http://www.flashkit.com) and thought a few of you might be intrested.

Make a button and add the following action using Release to trigger it:

On (Release)
Get URL ("javascript:window.external.AddFavorite('http://www.yoursite.com','Friendly Site Name')")
End On

I have discovered however that this code does not work in Flash 5 but all it took was a few simple changes

on (release) {
getURL ("javascript:window.external.AddFavorite('http://www.your webaddy.com','Your website name')");
}

now u can create a button that lets people bookmark your site directly from flash

hmmmmmm but what would happen if u placed the code within

ifFrameLoaded (1) {
}

tags? heh annoying bookmark site pop-up >_<; don't do it! ;)

v_Ln