Wednesday, December 25, 2024

Actionscript Based Shapes, That Move

Share

Peace and Respect 2 all of you outThere that live an ACTIONSCRIPTING life. Firstly let me say i’m no actionscript guru, i’m just a beginner, but i live, eat, breathe, dream actionscript since the first time i laid eyez on it. (thats about 3-4 months ago).

I really love making effects and everyThing else that involves actionscript, and i also love to try2explain2others how they can do it 2. I hope all of you that read this find this a usefull tutorial, it’s about the first tut i have ever written in my entire life.

Allrighty enough of me, let us commence da ActionScriptBattle.;) ……aahYeahhhhhh……….

By the way, i used a:

– grey bgColor

– a framerate of 30

– a Stage Width and Height of 200×80

– i use FLASH MX, the file won’t work in Flash 5 or less!

// Step 1: The MovieClip.prototype.drawShape4Testing()
&nbsp&nbsp&nbsp&nbsp // (This makes the shapes we'll use.)

This first part of the script is a MovieClip.prototype i use it very very very often. It can make a normal circle, but it can make a whole lot of different shapes too, You only have to edit one variable to accomplish this. –> style is the variable to edit. This comes in very useful when you quickly want to drop a shape on stage, that exists completely of actionscript, and then quickly release your ASmagic on it. Set style to 22.5 and you have a perfect circle but set it to other values (stay under 90) and you get cool different shapes.

Don’t worry too much about the look of this proto, the first time i saw it i was in awe. It’s now stuck in my head, i edited it to my needs and i now i can do with it what i want.

Now what this prototype does is:

1 : It goes to a given point(moveTo), with a given radius.

2 : The lineStyle and fills are set, this ofcourse set the look of the lines, and colors used in the shape that will be created.

3 : An angle is calculated into radians, flash uses radians to calculate stuff.(flash doesn’t know degrees) but because we’re humans here, we need degrees to know what’s happening.

4 : Next a For loop is set, as you can see values are given in degrees, and are later used for the conversion to radians.

5 : Now the endPoints and current Points are calculated and put into a variables to use in the curveTo.

6 : finally you’ll see the drawingApi curveTo in action, it will curve to the calculated points and make the shape.(and ofCourse endFill to stop the fillColor)

In different parts of the prototype you’ll see the conversion formula for degrees2radians. The formula used for this conversion is:

angleInradians=angleInDegrees *Math.PI/180;

The angle in radians is then used to calculate Things.

FROM THIS POINT YOU CAN SELECT ALL TEXT AND COPY IT INTO THE ACTIONSCRIPT EDITOR IN FLASH.

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// PROTOTYPE 1:
// Now when we create a new empty movieClip we can call this prototype, define it's
// values and the shape is made in the empty movieClip.
// Then you can control that holder mc as alwayzz, and do what you wanna do with it
//
// Here i will give a short description of the variables used in the prototype.
// radius = Sets how big the shape will be.
// x = The startX position, good to keep it at 0,then set the _x of the MC yourSelf.
// y = The startY position, good to keep it at 0,then set the _y of the MC yourSelf.
// lW = This is the line width of the shape that will be created.
// lC = This is the line color of the shape that will be created.
// lA = This is the line alpha of the shape that will be created.
// fC = This is the fill color of the shape that will be created.
// fA = This is the fill alpha of the shape that will be created.
// style = Sets the look of the shape, 22.5 is a perfect circle.(keep the value below 90)

MovieClip.prototype.drawShape4Testing= function(radius,x,y,lW,lC,lA,fC,fA,style)
{
&nbsp&nbsp this.moveTo(x+radius,y);
&nbsp&nbsp this.lineStyle(lW,lC,lA);
&nbsp&nbsp this.beginFill(fC,fA);
&nbsp&nbsp a = Math.tan(style * Math.PI/180);
&nbsp&nbsp for (var angle=45;angle

// Step 2: Making the MovieClip.prototype.moveInSetArea()
&nbsp&nbsp&nbsp&nbsp // (This sets the movement of the shapes.)

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// PROTOTYPE 2:
// Now when we have created the empty movieClip(in the end of the script) and
// we have put in a shape with prototype 1, we can now define the area and speed
// the shape may move.

// Here again i will give a short description of the variables used in this prototype.
// areaW = Sets the moveAreawidth, the shape will move only in this defined width.
// areaH = Sets the moveAreaheight, the shape will move only in this defined height.
// xS = Sets the movement Speed of the shape in the x direction.
// yS = Sets the movement Speed of the shape in the y direction.
// rS = Sets the rotation Speed of the shapes.

MovieClip.prototype.moveInSetArea=function(areaW,areaH,xS,yS,rS)
{
&nbsp this.XX = Math.round(Math.random()*areaW);
&nbsp this.YY = Math.round(Math.random()*areaH);
&nbsp this._rotation=0
&nbsp this.onEnterFrame=function()
&nbsp&nbsp&nbsp {
&nbsp&nbsp&nbsp&nbsp this._x+=(this.XX-this._x)/xS;
&nbsp&nbsp&nbsp&nbsp this._y+=(this.YY-this._y)/yS;
&nbsp&nbsp&nbsp&nbsp this._rotation+=rS;
&nbsp&nbsp&nbsp&nbsp if(Math.ceil(this._x)==this.XX||Math.ceil(this._y)==this.YY)
&nbsp&nbsp&nbsp {
&nbsp&nbsp&nbsp&nbsp&nbsp this.XX = Math.round(Math.random()*areaW);
&nbsp&nbsp&nbsp&nbsp&nbsp this.YY = Math.round(Math.random()*areaH);
&nbsp&nbsp&nbsp }
&nbsp&nbsp }
}
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// Step 3: making the MovieClip.prototype.makeBox()
// (This makes the boxes we'll use as masks.)

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// PROTOTYPE 3:
// Now as (again at the end of the script where all the protos are called) you now know
// we have an empty mc, we put in the shape with prototype 1, and we have set the
// movement area and speed for the mc that holds the shape.
// Now it's time to make a mask, the function of a mask as you probably know is to
// let the shape only appear in the area of the mask MC, thisWay you can hide certain
// things or use it as a way to make nice effects.
// I put in this proto to make a box in a quick way, and then i used it to make the masks
// for the shapes.

// Here again i will give a short description of the variables used in this prototype.
// starterValue = Set's the stat of the depthCount
// x = The startX position,keep it at 0,then set the _x of the MC yourSelf.
// y = The startY position, Also keep it at 0,then set the _y of the MC yourSelf.
// w = Sets the width of the box that serves as mask
// h = Sets the height of the box that serves as mask
// Lw1 = Sets the line width of the mask
// Lc1 = Sets the line color of the mask
// La1 = Sets the line alpha of the mask
// fc = Sets the fill color of the mask
// fa = Sets the fill alpha of the mask

MovieClip.prototype.makeBox=function (starterValue,x,y,w,h,Lw1,Lc1,La1,fc,fa)
{
&nbsp boxCount=starterValue
&nbsp box=createEmptyMovieClip("box"+boxCount,boxCount)
&nbsp box._x=x
&nbsp box._y=y
&nbsp box.lineStyle(Lw1,Lc1,La1)
&nbsp box.beginFill(fc,fa)
&nbsp box.lineTo(w,o)
&nbsp box.lineTo(w,h)
&nbsp box.lineTo(0,h)
&nbsp box.lineTo(0,0)
&nbsp box.endFill()
&nbsp return box
}
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

// Step 4: Now we'll set the control point
&nbsp&nbsp&nbsp&nbsp // (all important variables)

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// THE CONTROL POINT:
// The next part will be the control area, you can define all the values for a whole
// lot of variables.(so you make set the whole look here, speed, scales and so on.)
// I really like doing things this way, it let's me quickly edit the values without having
// to search through the whole code. I try 2 set nearly all the variables into a
// central contol point and those variables link to all the prototype callings, and fill them
// with the values that will make stuff happen.If you have a lot of linez of code and the're
// all hardcoded numbers, it's very difficult to quickly edit something. if you set a
// control point and you give variables names names that really define what they do, it's
// easy to edit the thing you want. but keep your variable names short, long names
// means more script results more kb in the end. i like to make short variable
// names but not alwayz, If i do make em short i always explain them and because
// we have a control point you have a complete view of what you made and what
// the variables do.

// FIRSTLY HERE ARE SOME VARIABLES THAT EFFECT ALL OF THE SHAPEs,not specific ones.
// colorSet1 is a color Array, a place holder that holds colors like a book holds pages
// we make the array, place some colors in it(e.g. 0xff0000), then when we need to set
// a random color on some object, we set it like:
// colorSet1[random(totalNumerOfColor)]
// now you will have random colors, chosen from the array into your lines and fills.
// I also set the depth to 1000 so it won't collide with something, and a total color
// colors variable that is set to 7 , this is how many colors there are in our array.

colorSet1 = [0xff0000,0x0000ff,0xaaddee,0xeeeedd,0xddeeff,0xffee00,0x332211]
totalColors = 7
Depth = 1000

//////SHAPE 1 CONTROL variables //////////////////////////////////////////////////////////////////////
// shape1RADIUS set's how big the shape will be.
shape1RADIUS = 1+Math.random()*20
// shape1LineWidth set's the width of the linez used in the shape.
shape1LineWidth = 1
// shape1LineColor set's the colors of the linez used in the shape.
//Notice how we call the colors array here!!.
shape1LineColor = colorSet1[random(totalColors)]
// shape1LineAlpha set's the alpha of the linez used in the shape.
shape1LineAlpha = 1+Math.random()*19
// shape1FillColor set's the Fill colors of the the shape.
shape1FillColor = colorSet1[random(totalColors)]
// shape1FillAlpha set's the Fill alpha of the the shape.
shape1FillAlpha = 5+Math.random()*20
// shape1STYLE set's how the shape will look.(22.5 is the circle)
shape1STYLE = random(69)
// shape1MOVEAREAwidth set's the Xwidth the shape can move.
shape1MOVEAREAwidth = 220
// shape1MOVEAREAheight set's the Ywidth the shape can move.
shape1MOVEAREAheight = 100
// shape1XmoveSPEED set's the XSpeed of the movement.
shape1XmoveSPEED = 8
// shape1YmoveSPEED set's the YSpeed of the movement.
shape1YmoveSPEED = 8
// shape1RotationSpeed sets a rotationSpeed between 10 and 20.
shape1RotationSpeed = 10+Math.random()*10

/////////SHAPE 1's MASK VARIABLES/////////////////////////////////////////////////////////////////////
// shape1MASKxpos set's the start x of ths shape1Mask.
shape1MASKxpos = 0
// shape1MASKypos set's the start y of ths shape1Mask.
shape1MASKypos = 0
// shape1MASKwidth set's the masks width.
shape1MASKwidth = 200
// shape1MASKheight set's the masks height.
shape1MASKheight = 80
// shape1MASKlineWidth set's the masks lineWidth.
shape1MASKlineWidth = 7
// shape1MASKlineColor set's the masks lineColors.
shape1MASKlineColor = colorSet1[random(totalColors)]
// shape1MASKlinealpha set's the masks lineAlpha.
shape1MASKlinealpha = 20
// shape1MASKfillColor set's the masks FillColors.
shape1MASKfillColor = colorSet1[random(totalColors)]
// shape1MASKfillalpha set's the masks FillAlpha.
shape1MASKfillalpha = 10

// I won't explain the variables for the other shapes, they are exactly the same
// as for shape 1.

//////SHAPE 2 CONTROL variables //////////////////////////////////////////////////////////////////////
shape2RADIUS=5+Math.random()*10
shape2LineWidth=1
shape2LineColor=colorSet1[random(totalColors)]
shape2LineAlpha=1+Math.random()*19
shape2FillColor=colorSet1[random(totalColors)]
shape2FillAlpha=5+Math.random()*20
shape2STYLE=random(69)
shape2RADIUS=15
shape2MOVEAREAwidth=220
shape2MOVEAREAheight=100
shape2XmoveSPEED=8
shape2YmoveSPEED=8
shape2RotationSpeed=10+Math.random()*-10
/////////SHAPE 2's MASK VARIABLES/////////////////////////////////////////////////////////////////////
shape2MASKxpos=0
shape2MASKypos=0
shape2MASKwidth=200
shape2MASKheight=80
shape2MASKlineWidth=7
shape2MASKlineColor=colorSet1[random(totalColors)]
shape2MASKlinealpha=20
shape2MASKfillColor=colorSet1[random(totalColors)]
shape2MASKfillalpha=10

//////SHAPE 3 CONTROL variables //////////////////////////////////////////////////////////////////////
shape3RADIUS=1+Math.random()*10
shape3LineWidth=1
shape3LineColor=colorSet1[random(totalColors)]
shape3LineAlpha=1+Math.random()*19
shape3FillColor=colorSet1[random(totalColors)]
shape3FillAlpha=5+Math.random()*20
shape3STYLE=random(69)
shape3RADIUS=15
shape3MOVEAREAwidth=220
shape3MOVEAREAheight=100
shape3XmoveSPEED=8
shape3YmoveSPEED=8
shape3RotationSpeed=10+Math.random()*10
/////////SHAPE 3's MASK VARIABLES/////////////////////////////////////////////////////////////////////
shape3MASKxpos=0
shape3MASKypos=0
shape3MASKwidth=200
shape3MASKheight=80
shape3MASKlineWidth=7
shape3MASKlineColor=colorSet1[random(totalColors)]
shape3MASKlinealpha=20
shape3MASKfillColor=colorSet1[random(totalColors)]
shape3MASKfillalpha=10

//////SHAPE 4 CONTROL variables //////////////////////////////////////////////////////////////////////
shape4RADIUS=5+Math.random()*10
shape4LineWidth=1
shape4LineColor=colorSet1[random(totalColors)]
shape4LineAlpha=1+Math.random()*19
shape4FillColor=colorSet1[random(totalColors)]
shape4FillAlpha=5+Math.random()*20
shape4STYLE=random(69)
shape4RADIUS=15
shape4MOVEAREAwidth=220
shape4MOVEAREAheight=100
shape4XmoveSPEED=8
shape4YmoveSPEED=8
shape4RotationSpeed=10+Math.random()*-10
/////////SHAPE 4's MASK VARIABLES/////////////////////////////////////////////////////////////////////
shape4MASKxpos=0
shape4MASKypos=0
shape4MASKwidth=200
shape4MASKheight=80
shape4MASKlineWidth=7
shape4MASKlineColor=colorSet1[random(totalColors)]
shape4MASKlinealpha=20
shape4MASKfillColor=colorSet1[random(totalColors)]
shape4MASKfillalpha=10

//////SHAPE 5 CONTROL variables //////////////////////////////////////////////////////////////////////
shape5RADIUS=1+Math.random()*10
shape5LineWidth=1
shape5LineColor=colorSet1[random(totalColors)]
shape5LineAlpha=1+Math.random()*19
shape5FillColor=colorSet1[random(totalColors)]
shape5FillAlpha=5+Math.random()*20
shape5STYLE=random(69)
shape5RADIUS=15
shape5MOVEAREAwidth=220
shape5MOVEAREAheight=100
shape5XmoveSPEED=8
shape5YmoveSPEED=8
shape5RotationSpeed=10+Math.random()*10
/////////SHAPE 5's MASK VARIABLES/////////////////////////////////////////////////////////////////////
shape5MASKxpos=0
shape5MASKypos=0
shape5MASKwidth=200
shape5MASKheight=80
shape5MASKlineWidth=7
shape5MASKlineColor=colorSet1[random(totalColors)]
shape5MASKlinealpha=20
shape5MASKfillColor=colorSet1[random(totalColors)]
shape5MASKfillalpha=10

//////SHAPE 6 CONTROL variables //////////////////////////////////////////////////////////////////////
shape6RADIUS=5+Math.random()*10
shape6LineWidth=1
shape6LineColor=colorSet1[random(totalColors)]
shape6LineAlpha=1+Math.random()*19
shape6FillColor=colorSet1[random(totalColors)]
shape6FillAlpha=5+Math.random()*20
shape6STYLE=random(69)
shape6RADIUS=15
shape6MOVEAREAwidth=220
shape6MOVEAREAheight=100
shape6XmoveSPEED=8
shape6YmoveSPEED=8
shape6RotationSpeed=10+Math.random()*-10
/////////SHAPE 6's MASK VARIABLES/////////////////////////////////////////////////////////////////////
shape6MASKxpos=0
shape6MASKypos=0
shape6MASKwidth=200
shape6MASKheight=80
shape6MASKlineWidth=7
shape6MASKlineColor=colorSet1[random(totalColors)]
shape6MASKlinealpha=20
shape6MASKfillColor=colorSet1[random(totalColors)]
shape6MASKfillalpha=10

//////SHAPE 7 CONTROL variables //////////////////////////////////////////////////////////////////////
shape7RADIUS=1+Math.random()*10
shape7LineWidth=1
shape7LineColor=colorSet1[random(totalColors)]
shape7LineAlpha=1+Math.random()*19
shape7FillColor=colorSet1[random(totalColors)]
shape7FillAlpha=5+Math.random()*20
shape7STYLE=random(69)
shape7RADIUS=15
shape7MOVEAREAwidth=220
shape7MOVEAREAheight=100
shape7XmoveSPEED=8
shape7YmoveSPEED=8
shape7RotationSpeed=10+Math.random()*10
/////////SHAPE 7's MASK VARIABLES/////////////////////////////////////////////////////////////////////
shape7MASKxpos=0
shape7MASKypos=0
shape7MASKwidth=200
shape7MASKheight=80
shape7MASKlineWidth=7
shape7MASKlineColor=colorSet1[random(totalColors)]
shape7MASKlinealpha=20
shape7MASKfillColor=colorSet1[random(totalColors)]
shape7MASKfillalpha=10

// Step 5: The Final step, Calling our prototypes

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// This wil be the last part of this script and tutorial, we'll call our prototypes.
// There is no need 4 hardcoded values here because we have set the values
// already in our control area.
// It's important to notice that the variables that we put in here link through
// the whole script, they origin in the prototypes, are called here and filled
// with the settings from the control point.
// Beware of the lineBreaks , put them back on one line when u paste into flash
// i tried to show you with colors, lines of script that must be placed in one line
// of script (if pasted into flash) have the color darkGreen,purple,and orange.
// In this tut i couldn't place them in one line, but it'a must that the script is
// placed on one line in flash!!.

shape1=createEmptyMovieClip("shape1",Depth++);
shape1.drawShape4Testing(shape1RADIUS,MASK4shape1._x,MASK4shape1._y
,shape1LineWidth,shape1LineColor,shape1LineAlpha,shape1FillColor,shape1FillAlpha
,shape1STYLE);
shape1.moveInSetArea(shape1MOVEAREAwidth,shape1MOVEAREAheight
,shape1XmoveSPEED,shape1YmoveSPEED,shape1RotationSpeed);
MASK4shape1=makeBox(Depth++,shape1MASKxpos,shape1MASKypos,shape1MASKwidth
,shape1MASKheight,shape1MASKlineWidth,shape1MASKlineColor,shape1MASKlinealpha
,shape1MASKfillColor,shape1MASKfillalpha);
shape1.setMask(MASK4shape1);

shape2=createEmptyMovieClip("shape2",Depth++);
shape2.drawShape4Testing(shape2RADIUS,MASK4shape2._x,MASK4shape2._y
,shape2LineWidth,shape2LineColor,shape2LineAlpha,shape2FillColor,shape2FillAlpha
,shape2STYLE);
shape2.moveInSetArea(shape2MOVEAREAwidth,shape2MOVEAREAheight
,shape2XmoveSPEED,shape2YmoveSPEED,shape2RotationSpeed)
MASK4shape2=makeBox(Depth++,shape2MASKxpos,shape2MASKypos,shape2MASKwidth
,shape2MASKheight,shape2MASKlineWidth,shape2MASKlineColor,shape2MASKlinealpha
,shape2MASKfillColor,shape2MASKfillalpha);
shape2.setMask(MASK4shape2);

shape3=createEmptyMovieClip("shape3",Depth++);
shape3.drawShape4Testing(shape3RADIUS,MASK4shape3._x,MASK4shape3._y
,shape3LineWidth,shape3LineColor,shape3LineAlpha,shape3FillColor,shape3FillAlpha
,shape3STYLE);
shape3.moveInSetArea(shape3MOVEAREAwidth,shape3MOVEAREAheight
,shape3XmoveSPEED,shape3YmoveSPEED,shape3RotationSpeed);
MASK4shape3=makeBox(Depth++,shape3MASKxpos,shape3MASKypos,shape3MASKwidth
,shape3MASKheight,shape3MASKlineWidth,shape3MASKlineColor,shape3MASKlinealpha
,shape3MASKfillColor,shape3MASKfillalpha);
shape3.setMask(MASK4shape3);

shape4=createEmptyMovieClip("shape4",Depth++);
shape4.drawShape4Testing(shape4RADIUS,MASK4shape4._x,MASK4shape4._y
,shape4LineWidth,shape4LineColor,shape4LineAlpha,shape4FillColor,shape4FillAlpha
,shape4STYLE);
shape4.moveInSetArea(shape4MOVEAREAwidth,shape4MOVEAREAheight
,shape4XmoveSPEED,shape4YmoveSPEED,shape4RotationSpeed)
MASK4shape4=makeBox(Depth++,shape4MASKxpos,shape4MASKypos,shape4MASKwidth
,shape4MASKheight,shape4MASKlineWidth,shape4MASKlineColor,shape4MASKlinealpha
,shape4MASKfillColor,shape4MASKfillalpha);
shape4.setMask(MASK4shape4);

shape5=createEmptyMovieClip("shape5",Depth++);
shape5.drawShape4Testing(shape5RADIUS,MASK4shape5._x,MASK4shape5._y
,shape5LineWidth,shape5LineColor,shape5LineAlpha,shape5FillColor,shape5FillAlpha
,shape5STYLE);
shape5.moveInSetArea(shape5MOVEAREAwidth,shape5MOVEAREAheight
,shape5XmoveSPEED,shape5YmoveSPEED,shape5RotationSpeed);
MASK4shape5=makeBox(Depth++,shape5MASKxpos,shape5MASKypos,shape5MASKwidth
,shape5MASKheight,shape5MASKlineWidth,shape5MASKlineColor,shape5MASKlinealpha
,shape5MASKfillColor,shape5MASKfillalpha);
shape5.setMask(MASK4shape5);

shape6=createEmptyMovieClip("shape6",Depth++);
shape6.drawShape4Testing(shape6RADIUS,MASK4shape6._x,MASK4shape6._y
,shape6LineWidth,shape6LineColor,shape6LineAlpha,shape6FillColor,shape6FillAlpha
,shape6STYLE);
shape6.moveInSetArea(shape6MOVEAREAwidth,shape6MOVEAREAheight
,shape6XmoveSPEED,shape6YmoveSPEED,shape6RotationSpeed);
MASK4shape6=makeBox(Depth++,shape6MASKxpos,shape6MASKypos,shape6MASKwidth
,shape6MASKheight,shape6MASKlineWidth,shape6MASKlineColor,shape6MASKlinealpha
,shape6MASKfillColor,shape6MASKfillalpha);
shape6.setMask(MASK4shape6);

shape7=createEmptyMovieClip("shape7",Depth++);
shape7.drawShape4Testing(shape7RADIUS,MASK4shape7._x,MASK4shape7._y
,shape7LineWidth,shape7LineColor,shape7LineAlpha,shape7FillColor,shape7FillAlpha
,shape7STYLE);
shape7.moveInSetArea(shape7MOVEAREAwidth,shape7MOVEAREAheight
,shape7XmoveSPEED,shape7YmoveSPEED,shape7RotationSpeed);
MASK4shape7=makeBox(Depth++,shape7MASKxpos,shape7MASKypos,shape7MASKwidth
,shape7MASKheight,shape7MASKlineWidth,shape7MASKlineColor,shape7MASKlinealpha
,shape7MASKfillColor,shape7MASKfillalpha);
shape7.setMask(MASK4shape7);

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Well, this was my tutorial on this actionscript banner style shape move,
// 4 all of u loving actionscript.co.uk. I hope some of you out there found it useful.
// If u know a much better way of doing the same but much more efficint,
// i would really like to know.(so that i can learn from u )
// And ofcourse if ya liked the tut or have questions about it, you can
// alwayzzz mail me at i_love_actionscript@hotmail.com.
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

My name is Erwin Schiphouwer a.k.a deamothul, im 25 and live in Groningen in
the Netherlands.
Im totally hooked on actionscript and especially in combination with php and
mysql.
I taught what i know by myself and still learn new things every day.
I hope to spread some love for scripting and make it a bit more easy for
people just starting out.

Table of contents

Read more

Local News