Re: [swfmill] Adding Items to existing SWF
Hi Daniel, This would of course solve my Problem. I want to access library items of an existing swf in a new SWFMill-created swf. Sorry for my question but I am not so familiar with the XML of SWFMill. I have read the docs but how do I import a SWF into a new one? Do I have to define the existing SWF as a clip or do I have to use the import-tag. Import seems only to be for shared libraries isn't it? I tried the following: ?xml version=1.0 encoding=iso-8859-1 ? movie width=320 height=240 framerate=12 background color=#ff/ library clip id=foo import=lib/test.jpg/ clip id=bar import=lib/component_lib.swf/ /library /movie component_lib.swf has an libary item with the linkage Test The swfmill-generated swf is save as test.swf. I load the test.swf with loadMovie and after it's loaded I tried to attach the Test-item with attachMovie but witout success. Is that the way you described? Cheers, Sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of daniel fischer Sent: Friday, July 21, 2006 5:25 PM To: swfmill@osflash.org Subject: Re: [swfmill] Adding Items to existing SWF Sönke, Sönke Rohde [EMAIL PROTECTED] (on Fri, 21 Jul 2006 15:31:44 +0200): It's the first time I write here and also the first time i am using SWFMill so sorry if the question is ... I have got an existing SWF with a few library items and I want to know if I can add new library items to this swf using SWFMill. From the docs I only see that it is possible to create a new SWF or am I wrong. i'm not completely sure, but i think that if you import an SWF into a new swfmill-generated one, all library items should still be exported as they were in the old one. would this solve your problem? if so, please try it out and let me know if it works-- if not, it's maybe just a slight change in the stylesheet to make it so. -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Adding Items to existing SWF
If you're using the low level dialect to make your flashes, you can try to swf2xml the original file, then add your library elements tou the output XML file, then do a xml2swf to get the merged result? Maybe i'm wrong, because i used very few the low lvl dialect. But i used a tool for windows called flashDevellop coded in C# (You can try with emulation under linux). I was able to mark files in my project files lists, which will be included to the final flash. For instance, i was able to tell Put the picture pipo from 1.swf, picture toto from 2.swf, and this tool was automatically generating the library XML file. Still i don't use it anymore i can't get you a sample xml library sorry for this. Good luck with this, Pierre. Sönke Rohde wrote: Hi, It's the first time I write here and also the first time i am using SWFMill so sorry if the question is ... I have got an existing SWF with a few library items and I want to know if I can add new library items to this swf using SWFMill. From the docs I only see that it is possible to create a new SWF or am I wrong. Thanks, Sönke ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org begin:vcard fn:MARTIN Pierre n:MARTIN;Pierre org:Creative Hazard adr:;;17 rue de Verdun;Nontron;Dordogne;24300;France email;internet:[EMAIL PROTECTED] tel;home:+33 5 53 56 18 36 x-mozilla-html:TRUE url:http://www.CreativeHazard.com version:2.1 end:vcard smime.p7s Description: S/MIME Cryptographic Signature ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Adding Items to existing SWF
Sönke, Sönke Rohde [EMAIL PROTECTED] (on Fri, 21 Jul 2006 15:31:44 +0200): It's the first time I write here and also the first time i am using SWFMill so sorry if the question is ... I have got an existing SWF with a few library items and I want to know if I can add new library items to this swf using SWFMill. From the docs I only see that it is possible to create a new SWF or am I wrong. i'm not completely sure, but i think that if you import an SWF into a new swfmill-generated one, all library items should still be exported as they were in the old one. would this solve your problem? if so, please try it out and let me know if it works-- if not, it's maybe just a slight change in the stylesheet to make it so. -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org