BIT-101 [2003-2017]

Hacking the Start Page, Example 1


OK, just threw this together in about 1/2 an hour. Implements a simple favorites list. Just make a swf, add a list component and three buttons. Name them fileList, addBtn, delBtn, openBtn. Put this code on frame 1:

so = SharedObject.getLocal("favorites");
if(so.data.favList == undefined){
so.data.favList = new Array();
}
favList = so.data.favList;
for(var i=0; i

Rename the existing StartPage.swf and save this fla as StartPage.fla in your StartPage directory and publish the swf. Close all files and voila!

Obviously a very simple example. But you could build this into something really useful with a little work.

« Previous Post
Next Post »