0 Replies Latest reply on Sep 23, 2015 4:24 AM by nehas75123019

    Getting height and width of swf file before loading- as2

    nehas75123019

      I am implementing progressive loading of swf document file. For this I need height and width of the swf frames while loading the document.

      I have tried

      mclListener.onLoadProgress = function (target_mc, numBytesLoaded, numBytesTotal) { swfwidth = target_mc.width; swfheight = target_mc.height;  };

      But this returns value 0. I know these values work well with mclListener.onLoadInit() but I want the width and height while loading the document. Is there any possible way?