Demo entry 6344818

aa

   

Submitted by anonymous on Jan 25, 2017 at 10:21
Language: ActionScript 3. Code size: 590 Bytes.

import flash.display.*;
import flash.events.*;
 
public Class Ball extends MovieClip {
   private var x:Number = 0.0 // x-coordinate
   private var y:Number = 0.0 // y-coordinate
   private var m:Number = 0.0 // mass
   private var mc:MovieClip = null // ball Clip
    
   ////////////////////////////////////////////////////
   // Constructor                                    //
   ////////////////////////////////////////////////////
   public function Ball(_x:Number,_y:Number,_m:Number){
      this.mc = new Ball_Clip();
      this.x = _x;
      this.y = _y;
   }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).