flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "christofer.dutz@c-ware.de" <christofer.d...@c-ware.de>
Subject AW: AW: How can I check if an swf has advanced-telemetry enabled?
Date Mon, 18 Nov 2013 08:04:37 GMT
Hi Alex,

thanks for that pointer. I guess SwfxPrinter seems to be exactly what I was looking for ...
will give this a spin the next time I can free some time for Flexmojos :-)

Chris


________________________________________
Von: Alex Harui [aharui@adobe.com]
Gesendet: Montag, 18. November 2013 08:05
An: dev@flex.apache.org
Betreff: Re: AW: How can I check if an swf has advanced-telemetry enabled?

I don't think that's right.  The 4th byte is the SWF version.  The
enabling tool may have forced a newer SWF version, but that could happen
for other reasons.

I think you need to decode the SWF.  There are SWF decoding classes in
modules/swfutils/src/.  SWFDump just calls SwfxPrinter.java.

-Alex

On 11/17/13 10:50 PM, "christofer.dutz@c-ware.de"
<christofer.dutz@c-ware.de> wrote:

>Ok ... so I just had another look,
>- unpacked an swf that was not enabled
>- then enabled that SWF
>- unpacked that content
>- loaded both files in a text-compare tool
>
>So it seems that the difference is simplywithin the first 7 bytes
>Not Enabled: FWS0J+
>Enabed: FWS4J+
>(There seems to be some sort of line break after the FWS)
>So can I go and hunt for the one different byte to detect if a file is
>enabled?
>
>Chris
>
>-----Urspr√ľngliche Nachricht-----
>Von: Darrell Loverin [mailto:darrell.loverin@gmail.com]
>Gesendet: Montag, 18. November 2013 02:18
>An: dev@flex.apache.org
>Betreff: Re: How can I check if an swf has advanced-telemetry enabled?
>
>Oh, I see, Justin added it to swfutils. I was looking for it in falcon
>since this is where I had added the support but I don't see the code in
>Apache Flex's falcon.
>
>
>-Darrell
>
>
>On Sun, Nov 17, 2013 at 3:46 PM, Justin Mclean
><justin@classsoftware.com>wrote:
>
>> Hi,
>>
>> > I believe there was a new tag added to the swf to enable telemetry.
>> > I
>> don't
>> > see this tag supported in Apache Flex.
>>
>> The new tag in the swf is supported in Apache Flex (4.10 and 4.11)
>> otherwise how else could we support it?
>>
>> The tags value is 93, so you can look for that or just use swfdump, if
>> the swf has advanced telemetry turned on it will show this:
>> <EnableTelemetry advancedTelemetry='true'/>
>>
>> Thanks,
>> Justin
Mime
View raw message