Re: [Flashcoders] missing method

2007-01-03 Thread Matt Ganz
update: the problem was solved and the error was that there were two local vars with the same name, 'poly'. the first one was an instance of my Polyline class and the second was an instance of the Polygon class. the Polyline class has no method 'getArea()', but Polygon does. thanks for lending a

Re: [Flashcoders] missing method

2007-01-02 Thread Yehia Shouman
Does your Polygon class has a constuctor? On 1/3/07, Omar Fouad <[EMAIL PROTECTED]> wrote: u should set the class from static to dynamic in order to get acess to that method On 1/2/07, Matt Ganz <[EMAIL PROTECTED]> wrote: > > hi. > > i'm having a strange problem. i'm getting compile-time err

Re: [Flashcoders] missing method

2007-01-02 Thread Omar Fouad
allright write the code again On 1/3/07, Matt Ganz <[EMAIL PROTECTED]> wrote: unfortunately, that didn't solve the problem. i can access other methods in the class and even add new trace statements (to ensure that the IDE is looking at the right version of the class and not some old CVS'd ve

Re: [Flashcoders] missing method

2007-01-02 Thread Matt Ganz
unfortunately, that didn't solve the problem. i can access other methods in the class and even add new trace statements (to ensure that the IDE is looking at the right version of the class and not some old CVS'd version). bizarre, really. On 1/2/07, Omar Fouad <[EMAIL PROTECTED]> wrote: u sho

[Flashcoders] missing method

2007-01-02 Thread Omar Fouad
u should set the class to dynamic ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Con

Re: [Flashcoders] missing method

2007-01-02 Thread Omar Fouad
u should set the class from static to dynamic in order to get acess to that method On 1/2/07, Matt Ganz <[EMAIL PROTECTED]> wrote: hi. i'm having a strange problem. i'm getting compile-time errors when i try to access a public function in a class. i can successfully access other public methods

[Flashcoders] missing method

2007-01-02 Thread Matt Ganz
hi. i'm having a strange problem. i'm getting compile-time errors when i try to access a public function in a class. i can successfully access other public methods in this class from the same place in the codebase (verified thru traces), but not this one. i don't know if it's a weird CVS error o