flags are not necessary a i set dimensions in code.
addChild break signals handling we must use addComponent.
 need set dimensions to be able run on android platform.