setting default homepage in javascript

M

madhur

hello All,

I have a button in flash. when I click it I want to give a Message
(Would you like to set this page as default home page) and if the
answer is yes I want to set this page as homepage.
Can I do it just writing a javascript in flash with GetURL method or
something else? or do I have to write javascript in my html page. Or
any action script for setting default home page?

I use this code :

on(release)
{getURL("javascript:document.body.style.behavior='url(#default#homepage)';document.body.setHomePage('http://
www.mysite.org');");}
this gives me an permission denied message on IE 7.0 and I can't make
it default page. how can I do take permission?

Thanks for any ideas

Madhur
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top