0 Replies - 1076 Views - Last Post: 18 June 2007 - 04:45 AM

#1 Dilerious  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 2
  • View blog
  • Posts: 280
  • Joined: 30-December 05

Creating a movieclip with AS

Posted 18 June 2007 - 04:45 AM

Description: add this code to the first frame
stop();

//Creates the empty movieclip
_root.createEmptyMovieClip("square", square.getNextHighestDepth());

//sets the colour and outline of the object
square.beginFill(000000, 100);
square.lineStyle(4, 333333, 100);

//sets the position of the object
square.moveTo(0, 265);
square.lineTo(0, 265);
square.lineTo(20, 265);
square.lineTo(20, 285);
square.lineTo(0, 285);

Is This A Good Question/Topic? 0
  • +

Page 1 of 1