Actionscript for animate buttons
Hi all, I'm really new to this and am building some flash buttons for a website and I need help with my actionscript. I never want the website to go live, I'm just organising a portfolio through it.
Right now it says:
var _this = this;
_this.home('click', function(){
window.open('file:///Users/gemmac****/Desktop/website/home.html', '_blank');
});
All works fine with on my desktop, but when I go to open it on my laptop, because the user that I log into is gecre0 the links on the buttons don't work (on my laptop the filepath would need to read ('file:///Users/gecre0/Desktop/website/home.html', '_blank'); .
How can I change the file path so that it can be opened on any computer, regardless of what account is logged in?
Note: everything right now is saved within the same folder on my desktop.
