0 Replies Latest reply on Jan 20, 2008 1:58 AM by vEr5e

    setActualSize() method in custom building

    vEr5e
      I came across several times the method setActualSize() when trying to build a component in Flash with the component kit by extending the UIMovieClip.

      I suppose the method works as its name says, set the size of the component.
      But I have a few doubts that is when exactly is the method being called?
      Also, the method takes in two parameters, setActualSize(newWidth:Number, newHeight:Number). What and where are the values of newWidth and newHeight passing from into the method?

      thanks!