AS question

Out of context: Reply #19

  • Started
  • Last post
  • 23 Responses
  • jkosoy0

    It is what pixeldrama is referring to. Flash gets caught up in these load movie things. Something like this might work:

    --
    content2.loadMovie('movie.swf')
    _level0.onEnterFrame = function()
    {
    if(content2.getBytesLoaded() > 4)
    {
    // do whatever content2 is supposed to do.
    delete this.onEnterFrame;
    }
    };

    --
    Even on a 1x1 empty flash file, loadMovie gets caught on the first 5 bytes if you try to do something immediately after loadMovie.

View thread