When compiling for SWF, flash.events.Event will be available as a type,
but you should not use any flash.*.* classes for any code you which to
cross-compile.

At some point we'll teach the compiler to warn you when using flash.*.*
classes.

So, basically, use org.apache.flex.events.Event.

A good way folks porting code can know what needs to change is to scan
their code for "import flash".  In the Spark/MX UI library I'm working on,
we will replace several of those with "import flex" but the flex versions
won't support all APIs the flash versions do.

HTH,
-Alex

On 3/21/16, 8:15 AM, "OK" <[email protected]> wrote:

>Why the "flash.events.Event" still exist with FlexJS and wich
>implementation
>should be used for wich scenario?
>
>Thanks,
>Olaf
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/FlexJS-org-apache-flex-even
>ts-Event-vs-flash-events-Event-tp12307.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to