7 Replies Latest reply on Dec 18, 2008 3:36 PM by kglad

    Externally-loaded animation bounds or width and height

    norrisoft Level 1
      Hi All,

      I have swf of a dinosaur walking from left to right across a stage that is at least 500 pixels wide. If I load it into another movie and try to access the width using the attached code:

      The _width property appears to only display the width of the movie at that moment - that is from the left part of the stage to the right-most part of the dinosaur - at the moment the trace runs. getBounds does the same thing.

      If I keep checking these parameters, as the animation runs, they change to reflect the right most position of the dinosaur.

      My question is, how can I, immediately upon loading the external .swf, find the original stage size that that .swf (the eventual bounds of the animation if I let run to completion)?