True. else if (strpixels.length == 0)
should probably be: else if (strpixels === “”) > On Jun 6, 2017, at 1:01 PM, Justin Mclean <jus...@classsoftware.com> wrote: > > Hi, > >> Language.as() is not being called (@flexjsignorecoercion is being used). > > And it will still throw an RTE if strpixels is null. > >> if (strpixels !== null && strpixels.indexOf('%') != -1) > > will be false > >> else if (strpixels.length == 0) > > throws RTE > > Thanks, > Justin