ETH Zuerich - Startseite
Professur für CAAD

 


caad d-arch


Caad Teaching
 

 
Bachelor of Architecture: CAAD II ss07

 
Master of Advanced Studies
in Architecture, CAAD


 
DWF-Processing
Programmieren statt Zeichnen


 
Graustufen - Ein Atlas
Schweizer Wohngebäude als XML Daten


 
DWF- Denken in Systemen:
In Collaboration with the Technical University Vienna


 
Seminarwoche:
BlowUp


 
Archiv

 
Caad Projects
 

 
Theory
 
Design
 
Building
 
Practice

 
Related pages
 

 
Swiss Federal Institute of Technology Zurich
 
Institute of Building Technology
 
Faculty of Architecture

 
Other pages

 










hbt d-arch

MAS ETH ARCH/CAAD - 2004/05 - STUDENT PAGES
Master of Advanced Studies in Architecture, Specialization in Computer Aided Architectural Design | 065-0005/6
Supervision: Prof. Dr. Ludger Hovestadt, Philipp Schaerer
Chair of CAAD, ETH Zurich






Flash / Actionscipt | Assignment 3 - The ExplanatioN07 - exemplary part01: Color Picker

The Color Configurator ExplanatioN08


CP_01.gif

public function copyColor( Counter:Number ):Void 
    { 
       if ( Counter <= 48 )
       {
         _root.rCH1_mc.duplicateMovieClip( "copy_mc" + Counter, 210 + Counter );
         with ( _root[ "copy_mc" + Counter ])
         {
            Counter = Counter - 1;
            var xMod:Number = ( Counter % 8 );
            var yMod:Number =  int( (xMod - Counter) / -8 );
            
            _x = _root.rPA_mc._x + 1 + ( xMod * (_width + 1) );
            _y = _root.rPA_mc._y + 1 + ( yMod * (_height + 1) );
            
            _root.rOP2Data_txt.selectable = true;
            ColorPicker.setText( "rOP2Data_txt", thePicker.traceColorFields( "rOP2Data_txt", Counter ), THLColor );

         }   
      }
    } 


Revision r1.2 - 10 Mar 2005 - 08:03 - NDSBergitHillner
Parents: WebHome > HillnerMain > ColorConfigurator > ExplanatioN01 > ExplanatioN02 > ExplanatioN03 > ExplanatioN04 > ExplanatioN05 > ExplanatioN06
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

This website has been archived and is no longer maintained.