flash on 2010-9-21

by rfkrocktk
♥0 | Line 12 | Modified 2010-09-21 01:17:44 | MIT License
play

ActionScript3 source code

/**
 * Copyright rfkrocktk ( http://wonderfl.net/user/rfkrocktk )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/uct4
 */

package {
    import flash.display.Sprite;
    
    public class Resizer extends Sprite {
        
        public static const FRAME_IS_WIDER_THAN_TALL:uint = 0x00;
        
        public static const FRAME_IS_TALLER_THAN_WIDE:uint = 0x01;
        
        public static const FRAME_IS_SQUARE:uint = 0x01;
        
        private var frame:Sprite;
        
        private var target:Sprite;
        
        public function Resizer() {
            
        }
    }
}