flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Flash Player 11.5 - Debug trace in release player
Date Wed, 30 Jan 2013 16:49:11 GMT
Just about every new feature is gated by SWF version.  Some legacy code may
have been relying on the lack of debug information in the
Error.getStackTrace() in a release build.  In fact, I haven't tried it, but
it could break my hacks described here:
http://blogs.adobe.com/aharui/2007/10/debugging_tricks.html


On 1/30/13 8:40 AM, "Marcus Fritze" <marcus.fritze@googlemail.com> wrote:

> @Frédéric
> 
> Yes, you are right, it's not an API "function". It's more an "internal
> functionality" of the Flash Player. But I am not sure if you are right. I have
> tested this for my own and the debug with release player only worked when I
> compiled against 11.5.
> 
> Maybe someone else can confirm.
> 
> Marcus
> 
> Am 30.01.2013 um 17:28 schrieb Frédéric THOMAS <webdoublefx@hotmail.com>:
> 
>> AFAIK, this feature is only about the stack trace of errors in the "release
>> Flash Player >= 11.5", nothing is relative to any API to use, so, the SDK is
>> not implied and you app can be compile with any version, having 11.5 release
>> player installed is sufficient.
>> 
>> Tell me if I missed something.
>> 
>> -Fred
>> 
>> -----Message d'origine----- From: Marcus Fritze
>> Sent: Wednesday, January 30, 2013 5:16 PM
>> To: dev@flex.apache.org
>> Subject: Re: Flash Player 11.5 - Debug trace in release player
>> 
>> AFAIK, the 4.5.1A targets Flash Player 10.2
>> 
>> So the minimum required FP version of your customers is 10.2 and you can use
>> only the API of 10.2 (no debug trace for release versions). If the user has
>> 11.5 installed it will only use 10.2 API because you compiled your app in
>> this version.
>> 
>> 
>> Am 30.01.2013 um 17:08 schrieb David Coleman <david_coleman_007@hotmail.com>:
>> 
>>> Does this mean that an app that I compile with the default settings for
>>> 4.5.1A will not benefit from this stacktrace availability, even if the user
>>> has 11.5 installed?  Or is having 11.5 release player installed, sufficient?
>>> We have an extensive error reporting system in our app that would benefit
>>> greatly from this... however forcing users to upgrade their flash player is
>>> not an option as our user base contains many people with legacy browsers.
>>> 
>>>> From: marcus.fritze@googlemail.com
>>>> Subject: Re: Flash Player 11.5 - Debug trace in release player
>>>> Date: Wed, 30 Jan 2013 17:02:55 +0100
>>>> To: dev@flex.apache.org
>>>> 
>>>> Download the current SDK.
>>>> 
>>>> Just edit the framework/flex-config.xml file and change this lines:
>>>>  <!-- Specifies the minimum player version that will run the compiled
SWF.
>>>> -->
>>>> <target-player>11.1</target-player>
>>>> 
>>>>  <!-- Specifies the version of the compiled SWF -->
>>>> <swf-version>14</swf-version>
>>>> 
>>>> To:
>>>>  <!-- Specifies the minimum player version that will run the compiled
SWF.
>>>> -->
>>>> <target-player>11.5</target-player>
>>>> 
>>>>  <!-- Specifies the version of the compiled SWF -->
>>>> <swf-version>18</swf-version>
>>>> 
>>>> You also need to download the the 11.5 playerglobal.swc from here:
>>>> http://fpdownload.macromedia.com/get/flashplayer/updaters/11/playerglobal11
>>>> _5.swc
>>>> 
>>>> And copy it to:
>>>> /frameworks/libs/player/11.5/playerglobal.swc
>>>> 
>>>> (Thanks again Justin McLean for this explanation.)
>>>> 
>>>> Marcus Fritze
>>>> 
>>>> Am 30.01.2013 um 16:44 schrieb "Cooper, Andrew" <ACooper@cimtek.com>:
>>>> 
>>>>> Can you target 11.5 in Flash Builder(4.7)
>>>>> Does this automatically set the swf version to 18 or is that something
>>>>> else ?
>>>>> 
>>>>> Andy
>>>>> 
>>>>> -----Original Message-----
>>>>> From: Justin Mclean [mailto:justin@classsoftware.com]
>>>>> Sent: 30 January 2013 00:38
>>>>> To: dev@flex.apache.org
>>>>> Subject: Re: Flash Player 11.5 - Debug trace in release player
>>>>> 
>>>>> HI,
>>>>> 
>>>>> Just be aware that you need to compile your application with 11.5 (and
>>>>> swf version set to 18) for this to take effect.
>>>>> 
>>>>> Thanks,
>>>>> Justin
>>>> 
>>> 
>> 
> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message