Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make homepage button!

Status
Not open for further replies.

Bignewbie

Programmer
Feb 22, 2001
351
PH
hI ppl!

i just saw a site where they made thier site my browser's homepage, they use a link on which they put the code. can anybody help me create a flash button which does the same? i can't quite get the hang of it. i already made the button, but it doesnt seem to work the way i want it!
help please!


thanks and Godspeed!


bignewbie
 
heya, this is the code u would use to do the same job if you were linking off an html page. I would imagine u can also add it to a button in flash. Try it, you may need to make a slight variation..

<a class=&quot;chlnk&quot; style=&quot;cursor:hand&quot; HREF onClick=&quot;this.style.behavior='url(#default#homepage)';this.setHomePage(' face=&quot;Verdana, Arial, Helvetica, sans-serif&quot; size=&quot;1&quot;><b><span class=&quot;unnamed1&quot;>Click
here to make this your default homepage</span></b></font></a> Nick (Web Designer)
nick.price@misuk.net
 
OK, i tried that and i cant get it to work. I think you may have to use the fscommand in flash, but this is quite complex and involves adding some VBscript to the html document in which the movie is embedded. I'll keep on looking and post back if i work anything out. Nick (Web Designer)
nick.price@misuk.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top