This is the error I'm getting:
1061: Call to a possibly undefined method goGetIt through a reference
with static type Class.
The function from the parent:
private function sharedDataHandler(event:TextEvent):void {
sharedData = event.text;
if (sharedData.length != 0){
pImageList.goGetIt();//the component name and function name
this.currentState = 'Preview';
}
The child function:
public function goGetIt():void{
mx.controls.Alert.show("You're Fired");
//imgRequest.send();
}
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Make sure the function definition in the child component is marked
> public. If it is you should have no problem calling it. Explicitly
> scope ALL functions.
>
>
>
> mychildComponent.myPublicfunction(event)
>
> Tracy
>