-
Hey people;
I was trying to do the falling letters with the matrix tutorial (createTxtMatrix) and it's killing me. I 've been trying to do it for the past 2 days and no success yet. Can any of you figure it out?
-
-
Could you write the code here, that's the better way to get some help
Greetings
Tonatiuh
-
code
Create matrix is a tutorial on how to make the letters rain down like in the movie.
Here is the code...
In top of it it's in French.
// if you perform this effect , i'll enjoy you show me your work....
//mail: e.semon@didact-systemes.com
onClipEvent (load) {
// charactères Ã* afficher
_root.strLetters = ".,;:?-!)('\"\r9876543210 ABCDEFGHIJKLMNOPQRSTUVWXYZabcçdefghijklmnopqrstuv wxyz";
// numéro de la lettre dans la phrase
letterNum = 0;
// positionnement de la lettre en X
letterX = 0;
// positionnement de la lettre en X
letterY = 0;
// phrase Ã* afficher
str = "aoihviofhvl dkfjbmgo kowihuige uheerjhkl fj fhjiosdfhi hifh fh hfui sdfsh fh udshfoisdhjh fqzrgazyg g gzoefgjefoh gyfgjk iosuqfhg jklfhqu qdjflqg jkf guhg eriph pjdf mljg mglqdfj ";
// fonction permettant de rajouter les retours Ã* la ligne dans la phrase.
gotoTheLine();
function gotoTheLine () {
// nombre de charactères maximum pouvant rentrer dans la page
CharLimit = 10;
returnLetter = CharLimit;
for (i=0; i<str.length; i++) {
if (i == returnLetter) {
i = returnLetter;
while (i>=0) {
if ((str.charAt(i) eq " ")) {
returnLetter = i;
nbLines += 1;
str1 = str.slice(0, i);
str2 = str.slice(i+1, str.length);
str = str1 add "\r" add str2;
break;
}
i = i-1;
}
returnLetter += CharLimit;
}
}
}
}
onClipEvent (enterFrame) {
// duplication et placement des lettres une par une
if (((letterNum<str.length))) {
duplicateMovieClip ("_parent.letter", "letter"+letterNum, letterNum);
setProperty ("_parent.letter"+letterNum, _y, (_parent.wordStarter._x+10)+(10*letterX));
setProperty ("_parent.letter"+letterNum, _x, ((20*letterY)+20)+_parent.wordStarter._x);
tellTarget ("_parent.letter"+letterNum) {
D = _parent.crWord.str.charAt(_parent.crWord.letterNum );
}
;
if (str.charAt(letterNum) == "\r") {
letterX = 0;
letterY += 1;
} else {
letterX += 1;
}
letterNum += 1;
}
}
-
quote
Yo quisiera aprender algo hoy tambien
-
-
Hey,
I can't tell by looking at it, but can ya gimme the link to the tutorial, i'd like to try it.
Ian
-
Hi.
You can purchase our text animator, SWfX, which comes with a great looking matrix effect installed (one of over 300 effects that it comes with). It's only $29.
It works really well with any of your installed true type, atm and ps fonts.
jb
http://www.wildform.com
-
Hey,
Thanks, I will look into that.
Ian
-
Hi
This is the link,
http://www.flashkit.com/movies/Effec...6929/index.php
I'ts really neat, but no clue of how to make it work.
SWfk looks good too, thank Jonathan B
---
Gracias por los links los voy a ver ahora tan pronto salga de aqui
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|