home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Templates / Flash / flashmo_101_3d_carousel / org / papervision3d / utils / InteractiveContainerData.as next >
Text File  |  2007-07-19  |  979b  |  27 lines

  1. package org.papervision3d.utils
  2. {
  3.     import flash.events.EventDispatcher;
  4.     import flash.events.IEventDispatcher;
  5.     import flash.display.SpreadMethod;
  6.     import org.papervision3d.objects.DisplayObject3D;
  7.     import flash.display.Sprite;
  8.  
  9.     public class InteractiveContainerData extends EventDispatcher
  10.     {
  11.         public var displayObject3D                            :DisplayObject3D = null;
  12.         public var container                                :Sprite = new Sprite();
  13.         public var color                                    :Number = InteractiveSceneManager.DEFAULT_FILL_COLOR;
  14.         public var isDrawn                                    :Boolean = false;
  15.         public var sort                                        :Boolean = false;
  16.         public var fillAlpha                                :Number = InteractiveSceneManager.DEFAULT_FILL_ALPHA;
  17.         
  18.         public function InteractiveContainerData(container3d:DisplayObject3D, p_color:Number=0x000000, target:IEventDispatcher=null)
  19.         {
  20.             super(target);
  21.             displayObject3D = container3d;
  22.             color = p_color;
  23.             
  24.             container.alpha = InteractiveSceneManager.DEFAULT_SPRITE_ALPHA;
  25.         }        
  26.     }
  27. }