Alaeddine, In the MapManager.mxml there is a function called addLayerToMap there is where the layers are added to the map. You would look for this line:case "feature":
and add a code block like this: if (label == "highwayLayer"){ featureLayer.addEventListener(LayerEvent.LOAD, doHighwaysSearch); }
Don't forget to click the top arrow (promote).Follow the steps as shown in the below graphic: