flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35084) Ability to specify FileAttributes at compile time (mxmlc)
Date Wed, 09 Nov 2016 21:01:59 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15652026#comment-15652026
] 

Justin Mclean commented on FLEX-35084:
--------------------------------------

Files differ by one byte (the 10th):

Original decoded 00000000: 4357 530b 15c1 0600 789c 747b 0370 664d  CWS.....x.t{.pfM
Modified decoded 00000000: 4357 530b 15c1 0600 78da 747b 0370 664d  CWS.....x.t{.pfM

But it doesn't look like it flips a single bit flip and their are 3 bits having different
values.
Original 9C = 10011100
Modified DA = 11011010

Assume that the file attributes byte my reading of the spec says the first 3 bytes are reserved
(and should be zero which they are not and differ), the 4th is has metadata, 5th is AVM-2,
6th is no cross domain cache (which differs), 7th is reserved (also differs) and 8th is if
local use network.

> Ability to specify FileAttributes at compile time (mxmlc)
> ---------------------------------------------------------
>
>                 Key: FLEX-35084
>                 URL: https://issues.apache.org/jira/browse/FLEX-35084
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: MXML Compiler
>    Affects Versions: Apache Flex 4.15.0
>            Reporter: Skylar Sutton
>         Attachments: FlashFileAttributes.zip, modified.swf, original.swf
>
>
> To support Chrome/Pepperflash our application requires us to add the _BrokerLocalConnection_
property to the FileAttributes Tag. 
> Currently the only way to achieve that is a post-compilation step to augment the FileAttributes
using a (very old) Adobe tool called "flashfileattributes". E.g.:
> bq. flashfileattributes /some/folder/structure/movie.swf +brokerLocalConnection
> Request is to modify the MXML compiler to allow us to specify that option at compile
time, thus eliminating the post-compilation step.
> Reference:
> * flash.swf.tags.FileAttributes
> * flex2.linker.SimpleMovie



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message