Re: [flexcoders] Customized NumericStepper

2007-01-08 Thread Daniel Freiman

checkValidValue() is marked private which means you can only access that
function from within the same class as that function.  As far as your
subclass is concerned, the function doesn't exist which is why you are
getting that error.  Take a look at:

http://livedocs.macromedia.com/flex/201/html/04_OO_Programming_161_04.html

- Dan

On 1/6/07, Devin Holloway [EMAIL PROTECTED] wrote:


  I want to make a few changes to how the numericstepper works. For
instance, when they click the up button and reach the maximum, I want
it to flip down to the minium, and vice versa.

There's just a small bit of code in the checkValidValue() function
that I need to change. However, if I try to override that function I
get the error: 1020: Method marked override must override another
method.

First of all, I don't quite understand why I can override some methods
and not others. And if I can't override that method, what other
options do I have?

 



[flexcoders] Customized NumericStepper

2007-01-05 Thread Devin Holloway
I want to make a few changes to how the numericstepper works. For
instance, when they click the up button and reach the maximum, I want
it to flip down to the minium, and vice versa.

There's just a small bit of code in the checkValidValue() function
that I need to change. However, if I try to override that function I
get the error: 1020: Method marked override must override another
method.

First of all, I don't quite understand why I can override some methods
and not others. And if I can't override that method, what other
options do I have?