Difference between revisions of "Gallery.as"

From Organic Design wiki
m
m
Line 1: Line 1:
#include "debug.as"
+
//#include "debug.as"
  
 
layer = 99999;
 
layer = 99999;
Line 13: Line 13:
  
 
thumb.prototype.sayHello = function() {
 
thumb.prototype.sayHello = function() {
    echo("My URL is " + this.imageUrl);
+
//    echo("My URL is " + this.imageUrl);
 
     };
 
     };
  

Revision as of 02:37, 10 April 2006

//#include "debug.as"

layer = 99999;

function thumb( x, y, imageUrl ) {

   this.imageUrl = imageUrl;
   this.handle = handle;
   this.createEmptyMovieClip( 'image', layer-- );
   this.image._x = x;
   this.image._y = y;
   this.image.loadMovie( this.imageUrl );
   }

thumb.prototype.sayHello = function() { // echo("My URL is " + this.imageUrl);

   };

bob = new thumb( 10, 10, "/w/angela-images/small/purple.jpg" ); bob.sayHello();

// drag end _root.onDragOut = function() {

   this.stopDrag();
   }; 

// per-frame function function reduce() { }