2 Replies Latest reply on Sep 1, 2006 9:35 AM by Newsgroup_User

    object name

    jagguy99 Level 1
      This will work in _root but not in a button as nothing gets displayed, why?

      bt2.onPress= function() {
      var bmp11:BitmapData = BitmapData.loadBitmap("cave1");

      this.createEmptyMovieClip("mc4", this.getNextHighestDepth());
      mc4.attachBitmap(bmp11, this.getNextHighestDepth());
      mc4._x=300;
      mc4._y=0;

      }