Hey everone see i have an fla from Ed-Mack from FK
and want to reduce the code inside the fla.
All i want is the laps to work nothing else i tried reducing myself and ruined it like 60 times.
Now i know the code off by heart LOL
Can some one please reduce it.
system
December 24, 2002, 11:30pm
2
I wish only you guys had more time to help your old buddy
BullDog
And for christmas present<:} <:}
system
December 25, 2002, 12:50am
3
onClipEvent (load) {
_root.laps = 0;
_root.lastc = 3;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car)) {
if (_root.lastc == 3) {
_root.laps++;
_root.lastc = 0;
}
}
}
Merry Christmas <:}
system
December 25, 2002, 2:22am
4
Thanks lost.
Merry christmas to you to.
system
December 25, 2002, 2:37am
6
I noticed when any code can get reduced and when that is.
It looks alot more easy to understand
One thing i dont know what it means.
if (_root.lastc>1) {
_root.lastc = 1;
}
I noticed this symbol
>
And i have no idea what it is.
Can you put it in the whole sentence of what its doing in the code i gave youu.
It would help me on my Racin game
system
December 25, 2002, 2:43am
7
You don’t know what <B>></B> means?!?!?!?
That is like 5th grade math :-\
It stands for “greater than”. So that line of code there says
If _root.lastc is greater than 1, _root.lastc equals 1.
Here are some basic operators.
< : less than
== : is equal to
<= : is less than OR equal to
>= : is greater than OR equal to.
system
December 25, 2002, 5:42am
8
help | actionscript dictionary
have you ever seen it bulldog?