Revision: 15758
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 16, 2009 04:31 by sidneydekoning
Initial Code
public function drawRegistrationPoint( s:Sprite ):void { //translate movieclip var mark:Sprite = new Sprite( ); mark.graphics.lineStyle( 1 , 0xFF0000 ); mark.graphics.moveTo( -2 , -2 ); mark.graphics.lineTo( 2 , 2 ); mark.graphics.moveTo( -2 , 2 ); mark.graphics.lineTo( 2 , -2 ); s.parent.addChild( mark ); }
Initial URL
Initial Description
Initial Title
Draw an 'x' at DisplayObject' registration point
Initial Tags
object
Initial Language
ActionScript 3