FlxTypeText: resetText() not working



  • So I'm trying to override an old text with a new text in the "FlxTypeText" group with the function resetText() when I initialize a dialogue with a specific character, in this case a sign:

    if(DiaID == 1){_diaTxt.resetText("I am a sign, a sign is what I am"); _diaTxt.start(); }

    Yet this makes no text pop up when I try it. If I only run: if(DiaID == 1){_diaTxt.start(); } the initial text I assigned to _diaTxt runs just the way its supposed to so I have to assume that there is a problem with the resetText() function but cannot find where the problem is. Does anyone have a fix for this?


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.