AIUI, for mobile apps, there are 3 kinds of output:

1) Debug SWF that runs in the Emulator
2) Release SWF (that might be possible to run in the Emulator)
3) Platform Package (The release SWF is transformed into platform code).

Your post shows that 1 works, 3 doesn't, but we don't know about 2.  I
think Fred tried 2 (possibly with a non-mobile app) and found that it
works.  I'm not up to speed enough on mobile to know if 3 was ever
supposed to work, but the Flex compiler is not involved in going from 2 to
3.  The AIR SDK takes care of that.

To try 2, I think you can use the command line and run adl with a
command-line referencing the SWF (actually -app.xml) which I think is in
bin-release.

-Alex

On 8/22/14 8:08 AM, "storo84" <[email protected]> wrote:

>Alex, 
>
>The question is on the release version of the application, not on the
>emulator since the flag -verbose-stacktraces=true is meant to be used on
>the
>release version and not on the debug version of the app, since on the
>later
>you use debug=true.
>
>I created a very simple desktop app to test if it works and found the same
>error. Here's the code:
>
><?xml version="1.0" encoding="utf-8"?>
><s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009";
>                                          
> xmlns:s="library://ns.adobe.com/flex/spark"
>                                          
> xmlns:mx="library://ns.adobe.com/flex/mx"
>                                          
> applicationComplete="applicationCompleteHandler(event)">
>       <fx:Script>
>               
>       </fx:Script>
>       
>       <s:TextArea id="text" top="0" width="100%"/>
>       
>       <s:Button label="Generate Error"
>                         click="this['foo'].holi = 'hola'"
>                         bottom="0" width="100%"/>
>       
></s:WindowedApplication>
>
>Here are the compiler parameters: *-locale en_US -swf-version=25
>-verbose-stacktraces=true -debug=false*
>
>Next is an image of the results:
>
><http://apache-flex-users.2333346.n4.nabble.com/file/n7714/actual_results.
>png> 
>
>The next image is what you get on the emulator:
>
><http://apache-flex-users.2333346.n4.nabble.com/file/n7714/expected_result
>s.png> 
>
>This is why I asked Frédéric about what did he do since I'm clearly not
>getting the same results. Frédéric, did you use the emulator for your test
>or you used a release version of the application?
>
>I'll be expecting your comments on the results.
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/Workaround-to-solve-faulty-
>verbose-stacktraces-true-compiler-parameter-tp7685p7714.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to