Flash Q Frustrated

Out of context: Reply #10

  • Started
  • Last post
  • 13 Responses
  • unfittoprint0

    trigger a setInterval loop onLoadComplete.

    the loop could even be trigered itself by an interval [one only] of 100ms, enough for Flash to know the exact dimension fo the loaded image.

    somehow I think the moviecliploader object does not detect immediately the dimensions onLoadComplete.

    personally I still use my loading class and a good ol':
    obj.getBytesLoaded() == obj.getBytesTotal() && obj.getBytesTotal() > 10

    with an eventDispatcher. works like a charm...

View thread