You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Héctor A <ne...@gmail.com> on 2015/01/03 00:23:27 UTC

-keep-generated-actionscript error?

With Flex 4.13 when trying to use -keep-generated-actionscript=true in a
Flex Mobile application that uses TabbedNavigatorApplication I get a
compilation error: "Type was not found or was not a compile-time constant:
ViewNavigatorBase".

It seems to work fine with non-mobile Flex applications.

Can anyone else confirm and/or comment on this? Googling didn't return any
significant result, so maybe this is recent or I'm having some other
problema.

Re: -keep-generated-actionscript error?

Posted by Héctor A <ne...@gmail.com>.
I rarely leave FB open for long, could it be because I tried on FB 4.6? I
even tried a clean Flex 4.13 + AIR 15 install.

I'll try with FlashDevelop asap.

2015年1月6日火曜日、Alex Harui<ah...@adobe.com>さんは書きました:

> On 1/4/15, 7:15 AM, "Héctor A" <neverbirth@gmail.com <javascript:;>>
> wrote:
>
> >Just tested, creating an empty TabNavApp and enabling
> >-keep-generated-actionscript causes the same error.
>
> I created a new mobile project that was a TabNavApp and turned on
> -keep-generated-actionscript and didn’t get an error.
>
>
> Did you try rebooting and restarting FB?
>
>
> -Alex
>
>

Re: -keep-generated-actionscript error?

Posted by Alex Harui <ah...@adobe.com>.
On 1/4/15, 7:15 AM, "Héctor A" <ne...@gmail.com> wrote:

>Just tested, creating an empty TabNavApp and enabling
>-keep-generated-actionscript causes the same error.

I created a new mobile project that was a TabNavApp and turned on
-keep-generated-actionscript and didn’t get an error.


Did you try rebooting and restarting FB?


-Alex


Re: -keep-generated-actionscript error?

Posted by Héctor A <ne...@gmail.com>.
Just tested, creating an empty TabNavApp and enabling
-keep-generated-actionscript causes the same error.

On Sat, Jan 3, 2015 at 11:00 PM, Alex Harui <ah...@adobe.com> wrote:

> Can you reduce it down to just an empty TabNavApp and no ANEs and still
> get the issue?
>
> -Alex
>
> On 1/3/15, 9:16 AM, "Héctor A" <ne...@gmail.com> wrote:
>
> >No, no extra source paths defined in the project. Just one SWC (Greensock
> >Tweening library), and several ANEs.
> >
> >On Sat, Jan 3, 2015 at 4:50 PM, Alex Harui <ah...@adobe.com> wrote:
> >
> >> Could a source-path somehow be pointing to the generated AS?
> >>
> >> On 1/3/15, 3:39 AM, "Héctor A" <ne...@gmail.com> wrote:
> >>
> >> >This happens during the compile when I turn on the flag.
> >> >
> >> >On Sat, Jan 3, 2015 at 6:12 AM, Alex Harui <ah...@adobe.com> wrote:
> >> >
> >> >> Are you trying to compile the generated ActionScript? Or does this
> >> >>happen
> >> >> during the compile only if you turn on that flag?
> >> >>
> >> >> On 1/2/15, 3:23 PM, "Héctor A" <ne...@gmail.com> wrote:
> >> >>
> >> >> >With Flex 4.13 when trying to use -keep-generated-actionscript=true
> >>in
> >> >>a
> >> >> >Flex Mobile application that uses TabbedNavigatorApplication I get a
> >> >> >compilation error: "Type was not found or was not a compile-time
> >> >>constant:
> >> >> >ViewNavigatorBase".
> >> >> >
> >> >> >It seems to work fine with non-mobile Flex applications.
> >> >> >
> >> >> >Can anyone else confirm and/or comment on this? Googling didn't
> >>return
> >> >>any
> >> >> >significant result, so maybe this is recent or I'm having some other
> >> >> >problema.
> >> >>
> >> >>
> >>
> >>
>
>

Re: -keep-generated-actionscript error?

Posted by Alex Harui <ah...@adobe.com>.
Can you reduce it down to just an empty TabNavApp and no ANEs and still
get the issue?

-Alex

On 1/3/15, 9:16 AM, "Héctor A" <ne...@gmail.com> wrote:

>No, no extra source paths defined in the project. Just one SWC (Greensock
>Tweening library), and several ANEs.
>
>On Sat, Jan 3, 2015 at 4:50 PM, Alex Harui <ah...@adobe.com> wrote:
>
>> Could a source-path somehow be pointing to the generated AS?
>>
>> On 1/3/15, 3:39 AM, "Héctor A" <ne...@gmail.com> wrote:
>>
>> >This happens during the compile when I turn on the flag.
>> >
>> >On Sat, Jan 3, 2015 at 6:12 AM, Alex Harui <ah...@adobe.com> wrote:
>> >
>> >> Are you trying to compile the generated ActionScript? Or does this
>> >>happen
>> >> during the compile only if you turn on that flag?
>> >>
>> >> On 1/2/15, 3:23 PM, "Héctor A" <ne...@gmail.com> wrote:
>> >>
>> >> >With Flex 4.13 when trying to use -keep-generated-actionscript=true
>>in
>> >>a
>> >> >Flex Mobile application that uses TabbedNavigatorApplication I get a
>> >> >compilation error: "Type was not found or was not a compile-time
>> >>constant:
>> >> >ViewNavigatorBase".
>> >> >
>> >> >It seems to work fine with non-mobile Flex applications.
>> >> >
>> >> >Can anyone else confirm and/or comment on this? Googling didn't
>>return
>> >>any
>> >> >significant result, so maybe this is recent or I'm having some other
>> >> >problema.
>> >>
>> >>
>>
>>


Re: -keep-generated-actionscript error?

Posted by Héctor A <ne...@gmail.com>.
No, no extra source paths defined in the project. Just one SWC (Greensock
Tweening library), and several ANEs.

On Sat, Jan 3, 2015 at 4:50 PM, Alex Harui <ah...@adobe.com> wrote:

> Could a source-path somehow be pointing to the generated AS?
>
> On 1/3/15, 3:39 AM, "Héctor A" <ne...@gmail.com> wrote:
>
> >This happens during the compile when I turn on the flag.
> >
> >On Sat, Jan 3, 2015 at 6:12 AM, Alex Harui <ah...@adobe.com> wrote:
> >
> >> Are you trying to compile the generated ActionScript? Or does this
> >>happen
> >> during the compile only if you turn on that flag?
> >>
> >> On 1/2/15, 3:23 PM, "Héctor A" <ne...@gmail.com> wrote:
> >>
> >> >With Flex 4.13 when trying to use -keep-generated-actionscript=true in
> >>a
> >> >Flex Mobile application that uses TabbedNavigatorApplication I get a
> >> >compilation error: "Type was not found or was not a compile-time
> >>constant:
> >> >ViewNavigatorBase".
> >> >
> >> >It seems to work fine with non-mobile Flex applications.
> >> >
> >> >Can anyone else confirm and/or comment on this? Googling didn't return
> >>any
> >> >significant result, so maybe this is recent or I'm having some other
> >> >problema.
> >>
> >>
>
>

Re: -keep-generated-actionscript error?

Posted by Alex Harui <ah...@adobe.com>.
Could a source-path somehow be pointing to the generated AS?

On 1/3/15, 3:39 AM, "Héctor A" <ne...@gmail.com> wrote:

>This happens during the compile when I turn on the flag.
>
>On Sat, Jan 3, 2015 at 6:12 AM, Alex Harui <ah...@adobe.com> wrote:
>
>> Are you trying to compile the generated ActionScript? Or does this
>>happen
>> during the compile only if you turn on that flag?
>>
>> On 1/2/15, 3:23 PM, "Héctor A" <ne...@gmail.com> wrote:
>>
>> >With Flex 4.13 when trying to use -keep-generated-actionscript=true in
>>a
>> >Flex Mobile application that uses TabbedNavigatorApplication I get a
>> >compilation error: "Type was not found or was not a compile-time
>>constant:
>> >ViewNavigatorBase".
>> >
>> >It seems to work fine with non-mobile Flex applications.
>> >
>> >Can anyone else confirm and/or comment on this? Googling didn't return
>>any
>> >significant result, so maybe this is recent or I'm having some other
>> >problema.
>>
>>


Re: -keep-generated-actionscript error?

Posted by Héctor A <ne...@gmail.com>.
This happens during the compile when I turn on the flag.

On Sat, Jan 3, 2015 at 6:12 AM, Alex Harui <ah...@adobe.com> wrote:

> Are you trying to compile the generated ActionScript? Or does this happen
> during the compile only if you turn on that flag?
>
> On 1/2/15, 3:23 PM, "Héctor A" <ne...@gmail.com> wrote:
>
> >With Flex 4.13 when trying to use -keep-generated-actionscript=true in a
> >Flex Mobile application that uses TabbedNavigatorApplication I get a
> >compilation error: "Type was not found or was not a compile-time constant:
> >ViewNavigatorBase".
> >
> >It seems to work fine with non-mobile Flex applications.
> >
> >Can anyone else confirm and/or comment on this? Googling didn't return any
> >significant result, so maybe this is recent or I'm having some other
> >problema.
>
>

Re: -keep-generated-actionscript error?

Posted by Alex Harui <ah...@adobe.com>.
Are you trying to compile the generated ActionScript? Or does this happen
during the compile only if you turn on that flag?

On 1/2/15, 3:23 PM, "Héctor A" <ne...@gmail.com> wrote:

>With Flex 4.13 when trying to use -keep-generated-actionscript=true in a
>Flex Mobile application that uses TabbedNavigatorApplication I get a
>compilation error: "Type was not found or was not a compile-time constant:
>ViewNavigatorBase".
>
>It seems to work fine with non-mobile Flex applications.
>
>Can anyone else confirm and/or comment on this? Googling didn't return any
>significant result, so maybe this is recent or I'm having some other
>problema.