Search code examples
flashtraceflashlog

How do I disable Warning: 'flash' has no property 'prototype' in flash debug trace


I am getting Warning: 'flash' has no property 'prototype' every time I load a swf in my flashlog.txt.

Does anyone know how to disable that warning or all warnings in the mm.cfg file or maybe some other way? I use the flash tracing religiously for debugging and have not ever found a way to do this. Thanks in advance.


Solution

  • Modifying mm.cfg is one way to deal with this.

    just set/add the line...

    MaxWarnings=1
    

    This will allow FlashPlayer to log one warning only, (setting to zero will allow unlimited Warnings)

    However, a better way to deal with this is to use something like...

    tail -f flashlog.txt | grep -v "Warning: 'flash' has no property 'prototype'"
    

    So that you filter out the dumb messages.

    (if you're on a windows box, install cygwin so that you have *nix tools.)