|
| 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 PickerThe Color Configurator ExplanatioN08public 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 ); } } }
|
This website has been archived and is no longer maintained.