[flash8] numericStepper problem

Hi!
Currently im developing an application where a user can create his own e-card. Im having a problem with the numericStepper component when trying to increase the font for the first time.

I set a maximum of 125 and a minimum value of 10. When a user clicks on a textfield the numericStepper gets the value of the current size of the text in the textfield.

If the user tries to increase the font for the first time…the numericStepper suddenly jumps to it’s max value, instead of jumping 1 value up. When the user continues editing the problem no longer consists…so it happens only the first time when increasing the font, decreasing goes well! The numericStepper is getting a value from a textfield that is being populated when a user clicks on a specific textfield. This is the code I got.
huidigveldje means in dutch(currenttextfield)


var commentspunten:mx.controls.NumericStepper;
_root.commentspunten.minimum = 10;
_root.commentspunten.maximum = 125;
_root.commentspunten.stepSize = 1;
_root.commentspunten.enabled = true;


on (change) {
    var huidigveld= _root.huidigtekstveld.text;
    huidigveldje= eval (huidigveld);
    
    _root.currentfontsize.text = this.value;


if (huidigveldje == _root.mijn_tekst_comments.Mijn_comments_txt0){
        _root.fontsizelinks.text= _root.currentfontsize.text;
        myTextFormat = new TextFormat();
        myTextFormat.size = this.value; 
        _root.mijn_tekst_comments.Mijn_comments_txt0.setTextFormat(myTextFormat);
}
if (huidigveldje == _root.mijn_tekst.Mijn_txt0){
    _root.fontsizerechts.text= _root.currentfontsize.text;
    myTextFormat = new TextFormat();
    myTextFormat.size = this.value; 
    _root.mijn_tekst.Mijn_txt0.setTextFormat(myTextFormat);

}
//
if (huidigveldje == _root.binnen_links.binnen_links_txt0){
        _root.binnenfontsizelinks.text= _root.currentfontsize.text;
        myTextFormat = new TextFormat();
        myTextFormat.size = this.value; 
        _root.binnen_links.binnen_links_txt0.setTextFormat(myTextFormat);
}
}

Thnx M

Hi all!

I also have this problem with NumericStepper, does anyone know how to resolve it? I’m trying and trying and nothing happens… ;(