swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Use jpg in swfcombine


From: LivingDocs
Subject: Re: [Swftools-common] Use jpg in swfcombine
Date: Mon, 3 Aug 2009 16:13:27 +0200

Hello again!

Matthias, did you find out why swfcombine can't find the MC "MC_bild_dummy" in the master.swf?

It would be possible to create a master.swf where the MC to replace lies on root level.
But this would be a major restriction.

Best regards
Benedikt

Am 30.07.2009 um 10:05 schrieb LivingDocs:

Hello Mathias,

here is the output from swfdump used with my master.swf:

[HEADER]        File version: 8
[HEADER]        File is zlib compressed. Ratio: 42%
[HEADER]        File size: 2503
[HEADER]        Frame rate: 55.000000
[HEADER]        Frame count: 1
[HEADER]        Movie width: 550.00
[HEADER]        Movie height: 400.00
[045]         4 FILEATTRIBUTES
[04d]      1284 METADATA
[009]         3 SETBACKGROUNDCOLOR (99/99/99)
[020]       129 DEFINESHAPE3 defines id 0001
                | fillstyles(04)        linestyles(01)
                | 1 ) SOLID 7cba2c80    1 ) 1.00 7cba2cff
                | 2 ) GRADIENT (2 steps)
                | 3 ) GRADIENT (2 steps)
                | 4 ) GRADIENT (2 steps)
                |
                | fill: 00/04 line:00 - moveTo 34.15 34.15
| fill: 00/04 line:00 - splineTo (28.30 40.00) 20.00 40.00 | fill: 00/04 line:00 - splineTo (11.70 40.00) 5.85 34.15 | fill: 00/04 line:00 - splineTo (0.00 28.30) 0.00 20.00 | fill: 00/04 line:00 - splineTo (0.00 11.70) 5.85 5.85 | fill: 00/04 line:00 - splineTo (11.70 0.00) 20.00 0.00 | fill: 00/04 line:00 - splineTo (28.30 0.00) 34.15 5.85 | fill: 00/04 line:00 - splineTo (40.00 11.70) 40.00 20.00 | fill: 00/04 line:00 - splineTo (40.00 28.30) 34.15 34.15
                |
[027]         4 DEFINESPRITE defines id 0002
[01a]         6          PLACEOBJECT2 places id 0001 at depth 0001
                         | Matrix
                         | 1.000 0.000   0.00
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 1 (00:00:00,000)
[000]         0          END
[038]        15 EXPORTASSETS
               exports 0002 as "bild_dummy"
[027]         4 DEFINESPRITE defines id 0003
[01a] 30 PLACEOBJECT2 places id 0002 at depth 0001 name "MC_bild_dummy" | Matrix | CXForm r g b a | 1.000 0.000 -158.00 | mul 1.0 1.0 1.0 1.0 | 0.000 1.000 0.00 | add 0 0 0 0
[001]         0          SHOWFRAME 1 (00:00:00,000)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -148.85
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 2 (00:00:00,018)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -139.65
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 3 (00:00:00,036)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -130.50
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 4 (00:00:00,055)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -121.35
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 5 (00:00:00,073)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -112.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 6 (00:00:00,091)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -103.00
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 7 (00:00:00,109)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -93.85
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 8 (00:00:00,127)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -84.70
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 9 (00:00:00,145)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -75.50
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 10 (00:00:00,164)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -66.35
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 11 (00:00:00,182)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -57.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 12 (00:00:00,200)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -48.00
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 13 (00:00:00,218)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -38.85
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 14 (00:00:00,236)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -29.70
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 15 (00:00:00,255)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -20.55
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 16 (00:00:00,273)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 -11.35
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 17 (00:00:00,291)
[01a]         6          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  -2.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 18 (00:00:00,309)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000   6.95
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 19 (00:00:00,327)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  16.15
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 20 (00:00:00,345)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  25.30
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 21 (00:00:00,364)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  34.45
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 22 (00:00:00,382)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  43.60
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 23 (00:00:00,400)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  52.80
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 24 (00:00:00,418)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  61.95
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 25 (00:00:00,436)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  71.10
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 26 (00:00:00,455)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  80.30
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 27 (00:00:00,473)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  89.45
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 28 (00:00:00,491)
[01a]         7          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000  98.60
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 29 (00:00:00,509)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 107.80
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 30 (00:00:00,527)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 116.95
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 31 (00:00:00,545)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 126.10
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 32 (00:00:00,564)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 135.25
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 33 (00:00:00,582)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 144.45
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 34 (00:00:00,600)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 153.60
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 35 (00:00:00,618)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 162.75
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 36 (00:00:00,636)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 171.95
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 37 (00:00:00,655)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 181.10
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 38 (00:00:00,673)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 190.25
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 39 (00:00:00,691)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 199.40
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 40 (00:00:00,709)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 208.60
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 41 (00:00:00,727)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 217.75
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 42 (00:00:00,745)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 226.90
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 43 (00:00:00,764)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 236.05
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 44 (00:00:00,782)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 245.25
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 45 (00:00:00,800)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 254.40
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 46 (00:00:00,818)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 263.55
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 47 (00:00:00,836)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 272.75
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 48 (00:00:00,855)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 281.90
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 49 (00:00:00,873)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 291.05
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 50 (00:00:00,891)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 300.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 51 (00:00:00,909)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 309.40
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 52 (00:00:00,927)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 318.55
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 53 (00:00:00,945)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 327.70
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 54 (00:00:00,964)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 336.90
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 55 (00:00:00,982)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 346.05
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 56 (00:00:00,1000)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 355.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 57 (00:00:01,018)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 364.40
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 58 (00:00:01,036)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 373.55
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 59 (00:00:01,055)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 382.70
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 60 (00:00:01,073)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 391.85
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 61 (00:00:01,091)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 401.05
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 62 (00:00:01,109)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 410.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 63 (00:00:01,127)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 419.35
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 64 (00:00:01,145)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 428.55
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 65 (00:00:01,164)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 437.70
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 66 (00:00:01,182)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 446.85
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 67 (00:00:01,200)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 456.00
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 68 (00:00:01,218)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 465.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 69 (00:00:01,236)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 474.35
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 70 (00:00:01,255)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 483.50
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 71 (00:00:01,273)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 492.70
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 72 (00:00:01,291)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 501.85
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 73 (00:00:01,309)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 511.00
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 74 (00:00:01,327)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 520.20
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 75 (00:00:01,345)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 529.35
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 76 (00:00:01,364)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 538.50
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 77 (00:00:01,382)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 547.65
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 78 (00:00:01,400)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 556.85
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 79 (00:00:01,418)
[01a]         8          PLACEOBJECT2 moves object at depth 0001
                         | Matrix
                         | 1.000 0.000 566.00
                         | 0.000 1.000   0.00
[001]         0          SHOWFRAME 80 (00:00:01,436)
[000]         0          END
[01a] 18 PLACEOBJECT2 places id 0003 at depth 0001 name "bild_ani"
                | Matrix
                | 1.000 0.000   0.00
                | 0.000 1.000  11.95
[001]         0 SHOWFRAME 1 (00:00:00,000)
[000]         0 END

As you can see, there is an instance of an MC called "MC_bild_dummy", but swfcombine doesn't find it.

Benedikt

Am 29.07.2009 um 18:00 schrieb Matthias Kramm:

On Wed, Jul 29, 2009 at 05:38:29PM +0200, LivingDocs <address@hidden > wrote:
In my librarySWF the MC I want to replace does not lay on the root
level.
In root I have a MC called "bild_ani".
In this MC is "MC_bild_dummy" that I want to replace.

I tried the following:
1. swfcombine -o combined.swf master.swf MC_bild_dummy =myImage.swf
2. swfcombine -o combined.swf master.swf bild_ani/MC_bild_dummy
=myImage.swf

Both versions did not work.

#1 should work.
Could you post the relevant portions of a swfdump of master.swf?

Can I use jpeg2swf in RAM or must I write atmp file?

You need a tmp file.
If you want to do it all in one go, you might want to look into
swfc, though.

Matthias










reply via email to

[Prev in Thread] Current Thread [Next in Thread]