Doesn't work for me .. says "this" not accessible ...

See this code for e.g :
class package1.subpackage.newExternalInterface extends
flash.external.ExternalInterface{
        public static function call(methodName:String):Object{
                        trace("called newExternalInterface.called"); 
        
                  return 
flash.external.ExternalInterface.call.call(this,arguments);
//Compiler says this not accessible from this scope 
                }
        }

Regards
Devdatta



--- In [email protected], "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Try:
> 
> super.functionName.call(this, argsArray);
> 
> -Josh
> 
> On Wed, Jun 25, 2008 at 11:14 AM, dev.bits <[EMAIL PROTECTED]> wrote:
> 
> > Hi
> >
> > If I extend a class and in the subclass override a function of the
> > base class I can call the original base class function using
> > super.functionname
> >
> > But what do I do if this function excepts variable number of
arguments ?
> >
> > How do I pass all the arguments present in the arguments array to the
> > super function?
> >
> > public override function a(){
> > super.a( // here I want to pass ALL the arguments that were passed
> >         // to this function
> >
> >
> > Regards
> > Devdatta
> >
> >
> > ------------------------------------
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> > Links
> >
> >
> >
> >
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>


Reply via email to