PDA

View Full Version : Actionscript help


thesmallelder
10-18-2005, 11:39 PM
I juust started progamming actionscript weekend after getting Flash for my birthday :) Does anyone here know the code to make it click a button on the keyboard (not physically)? I want to make a button on my flash site that says "Refresh" and when the user presses the "Refresh" button it will do the keyboard button F5 (the button for refresh on most browsers).

Any idea?

Thanks,
Ryan

Paerez
10-19-2005, 12:08 AM
Well, when they press the button you could call the function
getURL(url,"_self");
Where url = the url to the current page. Then it would reload the page.