[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Bug
From: |
Lists |
Subject: |
Re: [Swftools-common] Bug |
Date: |
Fri, 31 Aug 2012 15:49:04 +0200 |
On Fri, 31 Aug 2012 13:07:12 +0400
Grigory Lopatkin <address@hidden> wrote:
> Hello! I found the problem - escaped quotes in ActionScript code are
> dissapeared in compiled movie:
>
> test.sc:
> .flash bbox=1x1 version=8 fps=25 filename="test.swf" compress
> .action:
> var s = "string with \"quotes\"";
> .end
> .end
>
> swfdump -a:
>
> [00c] 35 DOACTION
> ( 23 bytes) action: Constantpool(2 entries)
> String:"string with quotes" String:"s"
> ( 4 bytes) action: Push Lookup:1 ("s") Lookup:0
> ("string with quotes")
> ( 0 bytes) action: DefineLocal
>
> P.S. 0.9.2 version
.flash bbox=1x1 version=8 fps=25 filename="test.swf" compress
.action:
var s = 'string with "quotes"';
.end
.end
swfdump -a test.swf
[HEADER] File version: 8
[HEADER] File is zlib compressed. Ratio: 110%
[HEADER] File size: 64
[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] 37 DOACTION
( 25 bytes) action: Constantpool(2 entries)
String:"string with "quotes"" String:"s" ( 4 bytes) action: Push
Lookup:1 ("s") Lookup:0 ("string with "quotes"") ( 0 bytes) action:
DefineLocal ( 0 bytes) action: End
[001] 0 SHOWFRAME 1 (00:00:00,000)
[000] 0 END
;o)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Swftools-common] Bug,
Lists <=