Daniel, thank you for this to me very valuable info :-) Is this part of some docs anywhere, by the way?
On Thu, Oct 29, 2009 at 13:29, Daniel Cassidy <[email protected]> wrote: > 2009/10/20 [email protected] <[email protected]>: >> Does swfmill support metadata in SWF files? If so, is there some >> reference/documentation to it? >> >> I googled and the only clue was "ImportAssets2" tag, which I have no >> idea what does. > > Yes, in both the simple and full dialects. Following examples are > roughly equivalent. The simple dialect is currently quite limiting > because you can’t put anything in rdf:Description except a single > string for each of title and description. In the full dialect the > <Metadata> tag can contain any XML you like (although per the SWF > specification it should be RDF). > > Simple dialect: > <movie xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > <meta title="title" description="description"> > <!-- Additional RDF metadata here. --> > </meta> > </movie> > > Full dialect: > <swf ... xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:dc="http://purl.org/dc/elements/1.1/"> > <Header> > ... > <FileAttributes hasMetaData="true" ... /> > </Header> > <Metadata> > <rdf:RDF> > <rdf:Description> > <dc:title> > title > </dc:title> > <dc:description> > description > </dc:description> > </rdf:Description> > <!-- Additional RDF metadata here. --> > </rdf:RDF> > </Metadata> > ... > </swf> > > Hope this helps, > Dan. > > _______________________________________________ > swfmill mailing list > [email protected] > http://osflash.org/mailman/listinfo/swfmill_osflash.org > _______________________________________________ swfmill mailing list [email protected] http://osflash.org/mailman/listinfo/swfmill_osflash.org
