Simple dialect: wrong frame count in SWF header

Bug #559649 reported by Winx Alex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swfmill
Fix Released
Undecided
Daniel Cassidy

Bug Description

I've put 10 frames which are visible in the movieclip.
Decompiled movie and also loaded movie shows TotalFrames=1.

Related branches

Revision history for this message
Winx Alex (winxalex) wrote :
Revision history for this message
Daniel Cassidy (djcsdy) wrote :

Hi,

Sorry, but I don't really follow what you mean. Could you provide a test case that demonstrates your problem?

Thanks,
Dan.

Revision history for this message
Winx Alex (winxalex) wrote : Re: [Bug 559649] Re: TotalFrames count is wrong (0.3.0 Win)

Hi Dan
When you access swf previously loaded file thru ActionScript there is
property "totalFrames"
ex. mc.totalFrames
Beside I'm puting 10 frames in mc by using swfmill. and see that
10frames exist (I'm seeing the animation playing), still
mc.totalFrames=1.
Second thing I've done was to decompile SWF to check that 10 frames
exist.(attached picture in previous mail). You can see that 10 frames
are there but even decompiler reading the byte showing number of
frames as 1.
I've put version 7,8,9 same thing.
Regards
Alex

On Tue, Apr 13, 2010 at 5:34 PM, Daniel Cassidy
<email address hidden> wrote:
> Hi,
>
> Sorry, but I don't really follow what you mean. Could you provide a test
> case that demonstrates your problem?
>
> Thanks,
> Dan.
>
> --
> TotalFrames count is wrong (0.3.0 Win)
> https://bugs.launchpad.net/bugs/559649
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in swfmill: New
>
> Bug description:
> I've put 10 frames which are visible in the movieclip.
> Decompiled movie and also loaded movie shows TotalFrames=1.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/swfmill/+bug/559649/+subscribe
>

Revision history for this message
Winx Alex (winxalex) wrote :

> See how swf crated(actually same just with less frames as layers that I want to achive) thru Flash IDE with 30 frames on stage shows in
>> decompiler Frames count =30.

Revision history for this message
Daniel Cassidy (djcsdy) wrote : Re: TotalFrames count is wrong (0.3.0 Win)

OK, I see what you mean. The problem is that swfmill puts the wrong frame count in the SWF header. I will investigate.

Thanks,
Dan.

Changed in swfmill:
assignee: nobody → Daniel Cassidy (djcsdy)
status: New → Confirmed
summary: - TotalFrames count is wrong (0.3.0 Win)
+ Simple dialect: wrong frame count in SWF header
Revision history for this message
Daniel Cassidy (djcsdy) wrote :

This is fixed in trunk and will be included in the next release of swfmill.

In the meantime you can work round the problem like this:

<movie frames="11" ... >
    ...
</movie>

Changed in swfmill:
milestone: none → 0.3.1
status: Confirmed → Fix Committed
Revision history for this message
Daniel Cassidy (djcsdy) wrote :

Was released with swfmill 0.3.1 on 2010-07-15.

Changed in swfmill:
milestone: 0.3.1 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.