July 29, 2016 at 8:53 AM #1 hi klaus,i just wanna inform you that subtxt doesn't work on flash.this simple example works correctly in html5, but output an empty string in flash. Code set(a,"hello"); trace(a); subtxt(a,a,2); trace(a);
July 29, 2016 at 10:41 AM #2 Hi,thanks for the note!Sorry, I've missed that - the reason is that the underlying substr function has different default values for the length parameter in JS and AS3.In JS the length parameter is optional/undefined by default:https://developer.mozilla.org/en/docs/Web/Ja…s/String/substrand in AS3 (Flash) it's a large number by default (using there undefined as length parameter causes that problem):http://help.adobe.com/en_EN/FlashPla…g.html#substr()That will be fixed in the next release.Best regards,Klaus
July 29, 2016 at 3:22 PM #3 easy, i just return infos to you, thats good for both :) looking forward for the next release,specially bc of the keyboard fix for macosx