[swfmill] useNetwork bug?
Daniel Fischer
dan at f3c.com
Tue Dec 18 11:01:12 PST 2007
On Tue, 18 Dec 2007 17:54:58 +0100
Quentin <quentin.t at gmail.com> wrote:
> > > > I use an XML file (with the 'simple' syntax in it) that imports
> > > > SWFs in the library and place them on the stage. This XML file
> > > > has <FileAttributes hasMetaData="0" useNetwork="1" /> just
> > > > after the <movie> tag. In some cases the resulting XML (the one
> > > > built via the swfmill simple command) contains various
> > > > FileAttributes tags. When all of them have the useNetwork
> > > > attribute set to 1 everything works fine, but when one of them
> > > > has useNetwork="0", then the SWF acts like it only has access
> > > > to the filesystem. I think the topmost FileAttributes tag
> > > > should overwrite others (they maybe even should be deleted) in
> > > > order to avoid the oddness I've just mentioned...
Quentin,
IIRC, you know how to compile from SVN, right? I'm attaching a patch
that might solve the issue...
1., the FileAttributes tag is automatically inserted, values depending
on the value in <movie>/@local-access ('filesystem' or 'network'), and
the existence of any <meta> elements (directly) within the movie. This
functionality was only for version==8, the patch fixes that to >=8.
2., any FileAttributes tags from imported SWFs should be stripped. The
patch should do that.
apply the patch with
# cd swfmill
# patch -p0 < .../path/to/FileAttributes.diff
if you report success, i'll commit this to svn. but i havent tested
it :)
hope this helps, if it does, it would be nice if you could document
this feature on the osflash wiki (with a note about its availability).
-dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileAttributes.diff
Type: text/x-patch
Size: 1236 bytes
Desc: not available
Url : http://osflash.org/pipermail/swfmill_osflash.org/attachments/20071218/5e7de93e/attachment.bin
More information about the swfmill
mailing list