This looks suspiciously like a situation that I ran into a while back. In
Flash Builder, try deleting your project's output directory and build
(cleaning the project should take care of that). That should clear up the
error.

When you switch between different versions of FlexJS, you can get errors
like this because your output directory may end up containing a mix of JS
files from both versions of the SDK. I guess FlexJS doesn't delete the old
JS files with every build because that requires a longer build for all of
the file copying. So you need to remember to clean right after you update
your SDK.

- Josh

On Wed, Apr 26, 2017 at 7:01 AM, OK <[email protected]> wrote:

> Hi,
> this is a bit strange:
> I can reproduce this error by compiling with FlashBuilder [1].
> By using VSCode it works.
>
> Cause this makes no sense to me I double checked that both really used the
> same SDK...
>
> To make sure that there no side effects within my app code I reduced it to
> a
> test case with a Main.mxml file and an initial view that contains just a
> js:Label.
>
> Probably I'm doing something wrong... but maybe this is still more helpful
> than confusing.
>
> Olaf
>
>
> [1] https://snag.gy/KegvoT.jpg
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-
> tp15112p15117.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to