Hmm.  Why are you extending from Sprite?  You can’t use any low-level
Flash stuff in FlexJS.  We should probably add a compiler option to warn
on that.  DataBindingTest_as extends from
org.apache.flex.core.Application.  It is all about abstractions.

-Alex

On 6/15/15, 10:51 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:

>>>> Up to you, but I don’t think I’d be able to get FB to do that. IMO,
>>>>there
>>>> are Flex(MXML) projects and AS projects.
>>>
>>>In FB, we can create an AS projects with FlexJS as SDK ?
>>
>> Haven’t tried it, but should work since they should just be third-party
>> libs. You can create an AS-only (no MXML) FlexJS app. See
>> examples/DataBindingTest_as
>
>I didn't try DataBindingTest_as yet but tried this
>https://gist.github.com/doublefx/b380b6deeb5094e31f43 and got compiled to
>this https://gist.github.com/doublefx/af83fae1e1ee54acbc23
>
>Even removing the weird extra "\" at the end of
>goog.require('org_apache_flex_utils_Language');\
>Chrome complained because:
>
>Main.base(this, 'constructor');                    // Uncaught TypeError:
>Main.base is not a function
>goog.inherits(Main, flash_display_Sprite); // Uncaught ReferenceError:
>flash_display_Sprite is not defined
>
>Any clue ?
>
>Frédéric THOMAS
>
>
>----------------------------------------
>> From: aha...@adobe.com
>> To: dev@flex.apache.org
>> Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ Integration
>> Date: Mon, 15 Jun 2015 17:40:01 +0000
>>
>>
>>
>> On 6/15/15, 9:45 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
>>
>>>> Up to you, but I don’t think I’d be able to get FB to do that. IMO,
>>>>there
>>>> are Flex(MXML) projects and AS projects.
>>>
>>>In FB, we can create an AS projects with FlexJS as SDK ?
>>
>> Haven’t tried it, but should work since they should just be third-party
>> libs. You can create an AS-only (no MXML) FlexJS app. See
>> examples/DataBindingTest_as
>>
>> -Alex
>>
>>
>                                         

Reply via email to