package { import mx.core.*; import flash.display.*; public class OmaKomponent extends UIComponent{ public var sisu:Sprite=new Ruut3(); public function OmaKomponent(){ addChild(sisu); } } }