convert code to mx 2004?

Out of context: Reply #3

  • Started
  • Last post
  • 14 Responses
  • qaddisin0

    that's weird, MX_OnD -- heres the code [below] -- when i copy the mcfrom the fmx to a new file in 2004 the textfield just shows undefined and rotates letters at the end -- saving the file as fmx states that i'm losing persistent library data and unicode -- thers no embeded fonts.

    textalg = "NEWS";
    if (temp eq "") {
    temp = 65;
    }
    txtField = text1+chr(temp);
    temp = temp+random(3)+1;
    if (temp>=90) {
    temp = 65;
    text1 = text1+textalg.charAt(m);
    m = m+1;
    if (m == textalg.length) {
    txtField = text1;
    gotoAndPlay(3);
    }
    if (textalg.charAt(m) eq " ") {
    txtField = text1+textalg.charAt(m);
    m = m+1;
    }
    }

View thread