Flash components Flash files Animated Backgrounds

Moving Lines

$5.00
By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON- COMMERCIAL PROJECT - details
ID: 1162 | Views: 3613 | Downloads: 4
Or

moremihailoff
Uploaded By: mihailoff Author
Just nice moving lines with particles:)

Bundle:
Moving Line project (.swf, .fla and .as)
ParticleSystem and Particle classes (.as) !!!
Documentation from my site (see my profile) of moving line and particle system.

Architecture:
Moving line parts:
1) Random Bezier curve creation connected to each other
2) Line creation using points in Bezier curve
3) Update line's trail falling down alpha and deleting transparent lines (trail)
4) Particle system emitting particles from the head of moving line in opposite direction

First of all code creates Bezier curve, then using defined step in a loop code creates line using points in a curve. Each new line fall down alpha previous one, when line is transparent it will be deleted. Code create next curve when step in Bezier curve is at the end. First line (every new one) defines angle of particle system attached to it.

Initialization example:
Actionscript on Stage:


import MovingLine //main class
for(var i:Number = 0 ; i<3 ; i++){ //amount of moving lines
var ml:MovingLine = new MovingLine(_root["backgr1"]) //create new moving line with giving its layer
}


ASK Ask a question & Live a coment (Public)
moreiqrar
iqrar said
Posted on 2009 Apr 02
nice:! Great work!!!

moremihailoff
mihailoff author said
Posted on 2009 Apr 02
thanks :)


more

Do you have any comment or questions about mihailoff file?


Please register & login before you post!

Start $1

        Flash files, Flash components

  Sell & Buy Flash

affiliate programm 10%

bonus system

bonus system

Login or Email Password  (Forgot?)

Details

Uploaded: 29 March 2009

Opens With: Flash 8 (8+)

Files Included: FLA, AS, SWF, HTML

Size: 5kb

Action Script: AS2

Resolution: Resizable

Documentation: good

Keywords: moving,  line,  moving line,  particles,  curve,  bezier curve,  particle system,  background,  

Do you like this file?