action script...???!!

flash Malaysia
  • 17 years ago

    hi...
    i have a problem...(oh.. boy... dont everyone?? )
    well.. the thing is.. i have this code downloaded from a web site.. and i have made myown animation using the script...  in the original script .. the letters in a word fly by and aranged in order... but mine,... only the first letter is being repeated(duplicated) for the number of letters in a word...
    for example... My Page is the variable text.
    when run... i see six letter M's


    Code:

    duplicateMovieClip ("char", "char" add i, i);
    set ("/char" add i add "/letter:char", substring(text, i, 1));
    setProperty ("/char" add i, _x, 50+Number(ikerning));
    setProperty ("/char" add i, _xscale, 7
    size);
    setProperty ("/char" add i, _yscale, 18*size);
    i = Number(i)+1;


    i have made the changes according to the original thing.. like the
    letter = first movie clip name..
    char = the animation clip name..


    did i miss anything else??
    or could you guys tell me the steps of making this kind of animations???



    thanks in advance

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why.”