swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] swfc bug?


From: Matthias Kramm
Subject: Re: [Swftools-common] swfc bug?
Date: Sun, 1 Feb 2004 14:21:21 +0100
User-agent: Mutt/1.4i

On Thu, Jan 29, 2004 at 04:33:06PM -0500, Andrew Wheatley wrote:
> I compiled the following script with swfc from 2004-01-01:
> 
> .flash name="result.swf" fps=10
>     .jpeg s1 "DEMOLOGIC-Logo-small.jpg" quality=100%
>     .swf background "HowToAddAnAutoResponder.swf"
>     .frame 0
>     .put background
>     .put s1 x=2 y=343 scalex=300 scaley=100
>     .frame 482
> .end
> 
> The result is this:
> http://www.imaging.robarts.ca/~awheat/idologic/demologic/swfextract/test.html
> 
> Note that if you click on the "Play" button in the middle, the playbar
> on the bottom does not move as it should.  Nor does the movie progress
> if you press the play icon on the playbar on the bottom.

When "HowToAddAnAutoResponder.swf" is inserted into result.swf, it's inserted
into a movieClip (sprite). That means the object name is now
"background", not "_root".
However, the Actionscript in "HowToAddAnAutoResponder.swf" executes Actions
of the form
        _root.play().

Therefore, the buttons (which trigger those Actions) aren't working anymore.

What you can try is using jpeg2swf and swfcombine with the -Tm (--stack1
--merge) flag, which will put all movies into _root.

Greetings

Matthias






reply via email to

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