configData.ViewerUI.subtitlle.value
AppEvent.dispatch(AppEvent.SET_TITLES, { title: "Hello", subtitle: "World" });
Saugat,
This is what you need:AppEvent.dispatch(AppEvent.SET_TITLES, { title: "Hello", subtitle: "World" });
ViewerContainer.dispatchEvent( new AppEvent("subtitleChanged",subtitleP);Then in init() of Mapmanager.mxml
ViewerContainer.addEventListener("subtitleChanged",changeSub);,and
private function changeSub(event:AppEvent):void { configData.ViewerUI.subtitlle.value=event.subtitleP.toString() }
ViewerContainer.addEventListener("subtitleChanged",changeSub);to the headerControllerWidget.mxml and add the changeSub fuction that would change the
bannerSubtitle.text =event.subtitleP.toString();