I'm getting this errors on the lines:
private function init():void
{
trace("LabsWidget init()");
AppEvent.addListener(AppEvent.DATA_PUBLISH, sharedDataUpdated);
AppEvent.addListener(AppEvent.DATA_SENT, sharedDataUpdated2);
fetchSharedData();
}
it says, "1061: Call to a possibly undefined method addListener through a reference with static type Class."
on the 2 AppEvent.addListener calls :S... im trying to sent 1 number from one widget as an input of the other so it shows some information about the subject the user selects :S... any help would be appreciated
nvm, already fix taht... but now i face another problem, im using the same widget to display some content on it, so, i would like to know how do i refresh it's content without restarting the whole application, i mean, when i open the widget the first time it shows me what i need, but if i click on another option, this widget stills shows me the information from the first selection, and i don't know how to make the widget to refrehs it's content S:.. any help?