8 Replies Latest reply: Apr 16, 2012 4:19 AM by Ned Murphy RSS

    Problem with movieclip height

    bhargavi reddy Community Member

      I faced one problem with movieclip height. Actually I created a moveiclip which is having 4 labels, 1 textinput, 1 textarea, 1 button (all these are components). The height of the movieclip is 280. I added this movieclip to another movieclip for displaying it onto the stage. At that time height of the movieclip is 337.5. I want to know the reason for why the height is changed? Anyone please help me.


      and my code is as follows:


      import flash.display.MovieClip;

      var mc:MovieClip = new MovieClip();

      for(var i:int=0;i<2;i++)
      var cell;
      if(i == 0)
        cell = new email_cell();
      if(i == 1)
        cell = new details_cell();
      cell.x = 20;
      cell.y = mc.height;


      Both email_cell and details_cell height is changed.