Difference between revisions of "Gallery.as"

From Organic Design wiki
m
 
(bring in thumbnail)
Line 1: Line 1:
 
layer = 99999;
 
layer = 99999;
  
createEmptyMovieClip('femaleCap', layer-- );
+
createEmptyMovieClip('thumb', layer-- );
femaleCap.loadMovie("http://organicdesign.co.nz/wiki/images/d/d4/Female-cap.swf");
+
femaleCap.loadMovie("/w/angela-images/small/purple.jpg");
  
with (femaleCap) {
+
with (thumb) {
 
_x = 350;
 
_x = 350;
 
_y = 20;
 
_y = 20;

Revision as of 02:03, 10 April 2006

layer = 99999;

createEmptyMovieClip('thumb', layer-- ); femaleCap.loadMovie("/w/angela-images/small/purple.jpg");

with (thumb) { _x = 350; _y = 20;

}

// start drag femaleCap.onPress = function() { // this.startDrag( false, 0, 0, 600-width-2, 400-height-2 );

   this.startDrag();
   };

// drag end femaleCap.onRelease = function() {

   this.stopDrag();
   };   

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

   this.stopDrag();
   }; 

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