Drag and Drop

//Drag Function
MovieClip.prototype.Press = function()
{
this.startDrag();
};

//Release Function
MovieClip.prototype.Release = function()
{
this.stopDrag();
if(eval(this._droptarget) == landingArea)
{
this.enabled = false
counter = counter + 1;
trace(counter);
if (counter == 4)
{
trace("You Got Them All!")
};
};
};

MovieClip.prototype.Actions = function()
{
this.onPress = Press;
this.onRelease = Release;
};

mc_One.Actions();
mc_Two.Actions();
mc_Three.Actions();
mc_Four.Actions();

/*
Usage:
Create 4 MC give instance names or
mc_One, mc_Two, mc_Three, mc_Four
Crate one more and give instance name
of landingArea.
Place script on frame 1 and drag and drop

mc_One - Four
To landingArea. Once all of them have landed

the counter will Start
and the dragging functions will be disabled so the user
Cant move them. Hope this helps */

You can find a sample here

Drag and Drop Samplehttp://www.humanletter.com/tutorials/draganddrop.html

Password Agent Lite

If you are like me that has lots of passwords to remember, I recommend the program Password Agent,

From Password Agent Website:
Password Agent is a password manager program that allows you to store all your passwords, secret notes and data snippets in a single, easy to navigate, and secure database. Too many passwords to remember? Pieces of paper that you once used to write down your important account information are lost? Want to find required password quickly? Password Agent keeps track all of your different passwords – no problems, no worries. And, it keeps strangers away from accessing your private information.

Now, you can get the paid version or you can get the Lite version, which is the one that i have hehe ;o).

Check it out here: Password Agent

Action Script Test


on (release) {
if ((firstname != "") && (lastname != "")
&& (email != "")){;
gotoAndPlay("valid");
loadVariables ("URL", "_root.form",
"POST");
trace("valid")
}else{
gotoAndPlay("invalid");
trace("invalid");
}
}

Blog Merging

FlashBlog and Regular Blog will be merging, there is not need for 2 blogs or so i think….

Update:

Website New layout:

After hours of playing with CSS finally i got something that i feel confortable with, i still have to change the sub pages, but it should be easier. For now i better go to bed.

:o)