1180: Call to a possibly undefined method completeParameters.
--- In [email protected], Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > > It's possible if you tell us the compilation errors you're hitting. > However, in this case, you're probably hitting something telling you > that you can't override something not marked for override, so you need > to add the 'override' keyword to the completeParameters() function > definition. > > -- > Maciek Sakrejda > Truviso, Inc. > http://www.truviso.com > > -----Original Message----- > From: markgoldin_2000 <[EMAIL PROTECTED]> > Reply-To: [email protected] > To: [email protected] > Subject: [flexcoders] Prototyping a form > Date: Thu, 02 Oct 2008 20:41:15 -0000 > > Lets' say I want all my forms to be based on same form. Base form > would have just a push button. A click of this button might look like > this: > > runButton.addEventListener("click", handleClick); > private function handleClick(e:MouseEvent):void > { > completeParameters(); > mainApp.reportArea.source = runStrng; > } > > I am subclassing main form in mxml. That might look like this: > .... > <mx:Script> > <![CDATA[ > private function completeParameters():void > { > runStrng = runStrng + sku.text; > } > ]]> > </mx:Script> > ... > > It fails at completeParameters(); during compilation. > Is it possible to have such design working? > > Thanks >

