[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] Anchor on Frame 1
From: |
GameCrazy |
Subject: |
[Swftools-common] Anchor on Frame 1 |
Date: |
Thu, 12 Jan 2006 10:42:18 -0800 |
User-agent: |
Mozilla Thunderbird 1.0.7 (Windows/20050923) |
Hi ,
I think the frame anchor is what is causing problems with IE .
*http://lists.gnu.org/archive/html/swftools-common/2005-12/msg00035.html
I've found that swfc only puts the anchor on the first frame , it does
this despite the fact an
anchor / label is not being specificied .
I'm no C programmer but it seems the problem lies in
src/swfc.c
in the function s_frame()
..
..
..
if(nr == 0 && currentframe == 0 && name) {
tag = swf_InsertTag(tag, ST_FRAMELABEL);
swf_SetString(tag, name);
swf_SetU8(tag, 1); //make this an anchor
}
..
..
The check on name ( && name ) really just checks that it has memory
allocated to it ?
What name contains is not checked .
I'm guessing that the test should read ..
**if(nr == 0 && currentframe == 0 && name && *name )
or even
**if(nr == 0 && currentframe == 0 && name && (strlen(name)) )
It also seems that swfc makes all frame labels anchors .
Perhaps to specify an anchor the keyword anchor could be used instead ..
eg:
.frame 10 label "f10"
.frame 11 anchor "f11"
???
**Hope this makes sense ..
regards
GC
**
*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Swftools-common] Anchor on Frame 1,
GameCrazy <=