Difference between revisions of "Gallery.as"

From Organic Design wiki
m
m
Line 14: Line 14:
 
//    echo("My URL is " + this.imageUrl);
 
//    echo("My URL is " + this.imageUrl);
 
     };
 
     };
 +
 +
thumb.prototype.show = function() {
 +
    // move to the main layer?
 +
    };
 +
  
 
bob = new thumb( 10, 10, "/w/angela-images/small/purple.jpg" );
 
bob = new thumb( 10, 10, "/w/angela-images/small/purple.jpg" );
bob.sayHello();
+
bob.show();
  
 
// drag end
 
// drag end

Revision as of 02:47, 10 April 2006

//#include "debug.as"

layer = 99999;

function thumb( x, y, imageUrl ) {

   this.createEmptyMovieClip( 'thumb', _root.layer-- );
   this.thumb.loadMovie( imageUrl );
   this.thumb._x = x;
   this.thumb._y = y;
   return this.thumb;
   }

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

   };

thumb.prototype.show = function() {

   // move to the main layer?
   };


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

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

   this.stopDrag();
   }; 

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