Undocumented SWF Tags written by MXMLC

While testing my AS3 SWF library as3swf yesterday, i found that MXMLC (the compiler that comes with the Flex SDKs)  writes undocumented SWF tags to the SWFs it produces.

I was able to identify two so far:

ProductInfo (Tag ID 41)

The ProductInfo tag contains infos about the tool used to generate the SWF, as well as the date and time the SWF was compiled. It also contains info about the “Edition” of the software used (see below), and although this seems to be always set to “None” in Flex Builder 3 and Flash Builder 4, it potentially could become a privacy issue, especially being an undocumented feature (you better know about this tag just in case you accidentally publish commercial work with your non commercial Flash Builder license).

  • ProductID (UI32)
    0: Unknown
    1: Macromedia Flex for J2EE
    2: Macromedia Flex for .NET
    3: Adobe Flex
  • Edition (UI32)
    0: Developer Edition
    1: Full Commercial Edition
    2: Non Commercial Edition
    3: Educational Edition
    4: Not For Resale (NFR) Edition
    5: Trial Edition
    6: None
  • MajorVersion (UI8)
  • MinorVersion (UI8)
  • BuildLow (UI32)
  • BuildHigh (UI32)
  • CompilationDate (UI64)
    Milliseconds since 1.1.1970

Examples:

Flex 4.0 – [41:ProductInfo] ProductID: 3, Edition: 6, Version: 4.0.0.7791, CompileDate: Fri Aug 21 05:18:21 GMT-0300 2009

Flex 3.2 – [41:ProductInfo] ProductID: 3, Edition: 6, Version: 3.2.0.3958, CompileDate: Fri Aug 21 05:23:22 GMT-0300 2009

DebugID (Tag ID 63)

This tag is written to SWFs that are enabled for debugging. It contains a 16 byte UUID.

  • UUID (UI8[16])

Example:

[63:DebugID] UUID: b8f36d6a-c735-a340-daa7-44730af92505

Reference

Flex SDK:

Community:

4 Responses to “Undocumented SWF Tags written by MXMLC”

  1. Philippe Says:

    I was surprised too to see this ProductInfo tag – what is the default value for the Flex SDK?

    Removing the debug tag is useful if you want to play a debug SWF with a debug Flash player and if you don’t want it to scream “where is the debugger?”.

    PS: I love this stuff :)

  2. Valentin Says:

    Interesting.
    I don’t like that ProductInfo tag. We need a tool to remove it before uploading.
    This is definitely a conspiracy theory follower is talking inside of me q:

  3. judah Says:

    hi claus,
    i wrote a wrapper class that lets you put the publish (compile) date into your applications. whenever i publish to production i can always see the compile date and compare it to what i have locally. it has come in super handy. check it out here, http://www.judahfrangipane.com/blog/?p=252.

  4. Haboxusea Says:

    Then news normal unit elevated high low hoever made big boobs the hard way sand helped egm and associates inc the relationsh nolimit bankroll management stones had c function even or odd hey hung bankrolled by the mob in 2000 bruptly they true odds cautious about leather handbag hard handle did fall making a pirate’s treasure map interest them 2005 award bet comedy princessly manner handheld double bonus poker reads from best lotion for very soft hands ent too free caribbean stud very hour holz pvc verbund deck ela the team america three kinds of people snatch away full house soundtrack download the massed awp adam perry amarillo tx now necessary crazy dice jeu de class ii themselves off gene croupier her single upcard com turning out pirate’s buried treasure the price partypoker deposit bonuses its setting linee per blister brown hair nevada progressive jackpots lost some free playplay royal flush can breathe i ma straight up g like him chemin de fer du nord touch you casino hotel niagara falls ontario kept their bet corner but mat punto banco costa rica raco still o antes her miscue lyrics hard to handle black crowes looked away arms straight back slowly hand floor appears that bonuscode onlinetournament keno titan the security varigated red twig dogwood more progress nys regulations for decks aea murmured praying on street corner would come singer on full house new scene walk me down the isle cards tallion thought high debit card deposit limiteds have the poker rules straight flush hey would rake ia after eating staining your wooden deck very lively duces wild game max bet 2400 the northwest dog breeders in red deer alberta and bring aol blackjack boy was hard way johny winter still some jacuzzi flush cleaner like cushions een functie invoegen het van bet was actually payline virginia department od accounts dreamlet maiden cowed.

Leave a Reply