Mouse Cursor Bubbles Particle Effect
| Category | : Flash | Views | : 33811 | ||
| Version | : 8 | Rating | : | ||
| Type | : Text | Source File | : mouse-cursor-bubbles-particle-effect.zip | ||
| Result | : See the result | ||||

Create a new Movie Clip to draw you bubble, first draw a small circle with no color inside it.
Then select the Paint Bucket Tool (K) and on the Color tab select the type radial.

We are going to make a gradient fill on the bubble so we need to the set colors for it.
Set your gradient to something like this:

Then click on the inside of your circle and it will look like this:

Now open the actions for this Movie Clip and paste:
//set the position of the Movie Clip to the same of the mouse
this._x=_root._xmouse
this._y=_root._ymouse
//scale the Movie Clip on both coordinates with a scale between 10 and 50
this._xscale = this._yscale = Math.random() * 40 + 10
//set the speed on the x coordinate between -3 and 3.
var xSpeed = Math.random() * 6 3
//speed on the y coordinate
var ySpeed = 2
this.onEnterFrame = function()
{
//move the Movie Clip to the side
this._x += xSpeed
//move Movie Clip up
this._y -= ySpeed
//decrease alpha by 1
this._alpha -= 1;
//if alpha equal 0 we cant see the Movie Clip now
if(_alpha == 0)
{
//so remove it
this.removeMovieClip();
}
}
