Hi,
I'd like to change the background image of a <s:BorderContainer on loading.
I try to do something like that but it doesn't work :
*/var imgFond:spark.components.Image=new spark.components.Image;/*
/*var pathToImg:String = new
urlManager().urlOEMYSQL()+"/Custom/Borne/"+sFondBorne;
imgFond.source = pathToImg;
bcFond.setStyle('backgroundImage', imgFond);*/
(bcFond is the id of the <s:BorderContainer)
Could you help me to find the best solution to do that.
Many thanks in avance.
Best regards.
--
IsabelleLOYER