-
Bookmark site ...this should be easy, what am i doing wrong?
hi all flashers,
Im in flash 8 and was under the illusion that to add an action to a button to bookmark a site would be easy,
but am having no joy...
this is the actionscript I have on my button ....
////////////////////////////////////
on (release) {
getURL ("javascript:window.external.AddFavorite
('http://www.mysite.com','site description')")
}
/////////////////////
what am I doing wrong ?
would appreciate any help,
thanks in advance
suzi x
-
FK'n_dog
does this work for you ?
Code:
on (release) {
getURL("javascript:document.body.style.behavior='url(#default#homepage)';document.body.setHomePage(window.location.href);");
} // watch out for forum posting adding spaces
-
mmm I can be so dumb sometimes...
sorry,
I was trying it opening up my browser locally, but it only works when it goes live.
cheers for the reply anyway,
thanks again
suzi x
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|