View Full Version : Lines moving
cha11enge
02-09-2001, 12:43 PM
how did they do that ? http://www.evesolal.com/flash_us/index.html i mean the left side of this flash site got some lines moving left to right, so how do i do the same effect ?
apostle
02-09-2001, 05:02 PM
cha11enge
It looks like to me that the lines are just a standard line drawn in flash and with an alpha applied.
They are generating the movement with actionscript.
You can learn how to do the same thing here.
http://www.actionscripts.org/tutorials/intermediate/actionscripted_movement/index.shtml
Once you understand the principals it pretty easy.
Hope this helps. If you need more explination don't hesitate to ask.
apostle.
gyftus
02-09-2001, 05:30 PM
Create an empty frame with setting the following variables
moveTowards = +1;
currentLineNumber =1;
Try creating three movie clips each with a line of your
choice.
Create a second keyframe and drag these in the root level and name each ("line1","line2","line3")
Create a third keyframe copying the three lines(f6).
The actions in the second frame should be something like:
currentLine = "line" + currentLineNumber;
if(getProperty(currentLine,_x) < nameofmovie._width){
setProperty("_x","nameofline",_x+moveTowards);
}
else if(getProperty(currentLine,_x) == nameofmovie._width){
moveTowards = -1;
}
else if(getProperty(currentLine,_x) == 0){
moveTowards = +1;
}
Then in the third line for looping purpose just add:
currentLineNumber= currentLineNumber+1
if(currentLineNumber>3){
currentLineNumber = 1;
{
gotoAndPlay (2);
************************************************** ***
I think that should do it, or at least help you do it,
also the speed at which each line moves is something
you'll have to experiment with.
I hope I have been of help
Cheers,
Gyftus
cha11enge
02-10-2001, 09:00 AM
thankx guys ! i really apreciate the helps. let me go through each of your's help. if there any other quecsions i may comeback here. thankx in advance.
wow this is great !!!
thankx,
cha11enge
I'm looking for a crack for illustrate 5.1
do you know if it exists?
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.