printing flash

Out of context: Reply #2

  • Started
  • Last post
  • 9 Responses
  • jkosoy0

    followup...

    I read this in O'Reilly's book:

    printNum Global Function:

    The printNum() function is nearly identical to print(), except that it requires the target LEVEL of the print operation to be specified as a number rather than as a string. This means that printNum() can print document levels only, not movie clips. It normally is used to dynamically assign the level of a movie to print as in:

    var x = 3;
    printNum(x,"bmax");

    which can also be achieved using string concatenation with the regular print() function:

    print("_level"+x,"bmax);
    --

View thread