Archive for June, 2006

MovieClip Linkage - Export for Actionscript

Thursday, June 29th, 2006

In the Library when you right click on a movieclip and select linkage, then you will get a symbol properties window.
In the linkage section you will select an ID name that you can use when you are using attachMovie method.
If you select “Export in first frame” that means the movieclip will be loaded before any […]

flash and photoshop video tutorials

Wednesday, June 7th, 2006

Flash - ComboBox Interactivity
In Flash, the ComboBox component is basically nothing more than your basic dropdown list that you see in forms on the Internet. In this video, you’ll learn how to use this component to communicate with another movie clip on the stage.
Photoshop - Using Layer Masks
A layer mask […]

drag and drop 2

Wednesday, June 7th, 2006

new drag and drop code..
puts it in the center every time guaranteed.

stop();
// set up variables for start positions for draggers
var start1x:Number = drag1_mc._x;
var start1y:Number = drag1_mc._y;
var start2x:Number = drag2_mc._x;
var start2y:Number = drag2_mc._y;
// start drag 1
drag1_mc.onPress = function() {
startDrag(this);
};
drag2_mc.onPress = function() {
startDrag(this);
};
// drop 1
drag1_mc.onRelease = function() {
this.stopDrag();
if (eval(this._droptarget) == drop1_mc) {
this._x = drop1_mc._x+drop1_mc._width/2-drag1_mc._width/2;
this._y = drop1_mc._y+drop1_mc._height/2-drag1_mc._height/2;
}else{
this._x = […]