On Sat, 1 Sep 2012 15:55:52 +0400
Grigory Lopatkin <[email protected]> wrote:

> ;-)

.flash bbox=1x1 version=8 fps=25 filename=test.swf compress
.action:
   var s = "just a string";
   var t = 'Just a \\"string\\"';
.end
.end

swfc test.sc

swfdump -a test.swf  

[HEADER]        File version: 8
[HEADER]        File is zlib compressed. Ratio: 95%
[HEADER]        File size: 83
[HEADER]        Frame rate: 25.000000
[HEADER]        Frame count: 1
[HEADER]        Movie width: 1.00
[HEADER]        Movie height: 1.00
[009]         3 SETBACKGROUNDCOLOR (00/00/00)
[00c]        56 DOACTION
  (   36 bytes) action: Constantpool(4 entries)
     String:"just a string" String:"s" String:"Just a "string""  String:"t"
  (    4 bytes) action: Push Lookup:1 ("s") Lookup:0 ("just a string")
  (    0 bytes) action: DefineLocal (    4 bytes) action: Push
Lookup:3 ("t") Lookup:2 ("Just a "string"")
  (    0 bytes) action: DefineLocal (    0 bytes) action: End
[001]         0 SHOWFRAME 1 (00:00:00,000)
[000]         0 END

:o)

---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>

Reply via email to