[prev in list] [next in list] [prev in thread] [next in thread]
List: swftools-common
Subject: [Swftools-common] Anchor on Frame 1
From: GameCrazy <gamecrazi () gmail ! com>
Date: 2006-01-12 18:42:18
Message-ID: 43C6A30A.8040105 () gmail ! com
[Download RAW message or body]
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 list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic