I had to add the elements not on override of data but on createChildren.
override public function set data(value:Object):void
{
super.data = value;
if(value == null)
{
//initialize the data with the images I need to cache
}
}
override protected function createChildren():void
{
super.createChildren();
if(container && definition)//These are the components I need to have instanciated
{
//I then use the cached Images I initialized on the override of data
}
}