A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Matrix effect :(

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    7
    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?

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food â„¢
    Posts
    3,789
    what is createTxtMatrix?

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Posts
    12
    Could you write the code here, that's the better way to get some help

    Greetings

    Tonatiuh

  4. #4
    Junior Member
    Join Date
    Nov 2001
    Posts
    7

    Thumbs up 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;
    }

    }

  5. #5
    Junior Member
    Join Date
    Nov 2001
    Posts
    7

    Smile quote

    Yo quisiera aprender algo hoy tambien

  6. #6
    Junior Member
    Join Date
    Jul 2000
    Posts
    12

    Si hablas español :D


    Te invito a que visites estos dos foros

    http://www.alesys.net/phpBB/index.php
    http://www.flashla.com/forums/index.php
    http://www.nomaster.com/foros/index.php

    ahi vas a encontrar mucha ayuda en español

    Ahora bien, el codigo es para Flash 5 o MX, por que en flash MX no jalo, me marca un error, me podrias dar el link hacia la pagina donde encontraste el efecto

    Saludos

    Tonatiuh

  7. #7
    Senior Member
    Join Date
    Apr 2002
    Posts
    214
    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

  8. #8
    Wildform Moderator
    Join Date
    Sep 2000
    Posts
    2,070
    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

  9. #9
    Senior Member
    Join Date
    Apr 2002
    Posts
    214
    Hey,

    Thanks, I will look into that.

    Ian

  10. #10
    Junior Member
    Join Date
    Nov 2001
    Posts
    7
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center