Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import componentes.actionScript.BaseVO;
- import componentes.actionScript.Atribuicao;
- import mx.collections.ArrayCollection;
- import componentes.actionScript.BaseComponente;
- private var base:BaseVO;
- private function inicializa():void{
- var contact_id:BaseComponente = new BaseComponente("id", this.contact_ID, 0, 1);
- var contact_phone:BaseComponente = new BaseComponente("phone", this.contact_phone, 1, 1);
- var contact_phone2:BaseComponente = new BaseComponente("phone2", this.contact_phone2, 2, 1);
- var contact_cell:BaseComponente = new BaseComponente("cell", this.contact_cell, 3, 1);
- var contact_cell2:BaseComponente = new BaseComponente("cell2", this.contact_cell2, 4, 1);
- var contact_fax:BaseComponente = new BaseComponente("fax", this.contact_fax, 5, 1);
- var contact_email:BaseComponente = new BaseComponente("email", this.contact_email, 6, 1);
- var contact_email2:BaseComponente = new BaseComponente("email2", this.contact_email2, 7, 1);
- var contact_website:BaseComponente = new BaseComponente("website", this.contact_website, 8, 1);
- var arrayComponentes:Array = new Array(contact_id, contact_phone, contact_phone2, contact_cell, contact_cell2, contact_fax, contact_email, contact_email2, contact_website);
- base = new BaseVO(arrayComponentes, Contact, "ContactsController", null);
- }
- public function getBaseVO():BaseVO{
- return base;
- }
Add Comment
Please, Sign In to add comment