Re: [swfmill] useNetwork bug?
In fact the possible options for useNetwork are 0 or 1. I updated the docs. Quentin. http://toki-woki.net On Fri, Mar 28, 2008 at 1:48 PM, Eric Priou [EMAIL PROTECTED] wrote: I've updated the osflash doc : http://osflash.org/swfmill#flash_8_new_features Please check the correctness. Cheers. Le 24 mars 08 à 22:33, Quentin a écrit : Hi there! In fact there was a bug, that can easily be fixed by specifying both FileAttributes (the tag, with useNetwork attribute) and local-access (the attribute on the movie tag)... Hope this helps. Eric Priou aka erixtekila Articles : http://www.v-i-a.net/inprogress Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano Oregano forum : http://www.v-i-a.net/forum/ ___ 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] useNetwork bug?
Hi there! In fact there was a bug, that can easily be fixed by specifying both FileAttributes (the tag, with useNetwork attribute) and local-access (the attribute on the movie tag)... Hope this helps. Quentin. http://toki-woki.net On Tue, Mar 18, 2008 at 8:56 PM, Eric Priou [EMAIL PROTECTED] wrote: swfmill makes FileAttributes tag from attributes in movie tag when using simple dialect. And swfmill copies your FileAttributes tag into in.xml You should put local-access=network attribute into movie tag. OKay, so then someone should change : http://osflash.org/swfmill @ the Flash 8 new features paragraph in order for the other not to get the same trouble. my 2cents. PS : yes, shame on me, I wrote that one :( Eric Priou aka erixtekila Articles : http://www.v-i-a.net/inprogress Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano Oregano forum : http://www.v-i-a.net/forum/ ___ 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] useNetwork bug?
Hi there! I finally had time to build a simple example showing what causes me trouble... Here's the story: I have a process that builds swf files for clients on demand. These files load, when executed, a file on our server. And I've noticed that in most cases this load fails... I searched a bit and realized that that was a problem with the FileAttributes tag being duplicated. Here are the files: http://toki-woki.net/swfmill-debug/useNetwork/ - in.xml (http://toki-woki.net/swfmill-debug/useNetwork/in.xml), which builds the final swf ( http://toki-woki.net/swfmill-debug/useNetwork/out.swf), by building a library and placing elements on the stage - main-file.swf ( http://toki-woki.net/swfmill-debug/useNetwork/main-file.swf) which is the main swf, containing everything interesting for the client. It has been cut down to a very basic file here, for example purposes - 300-black.swf ( http://toki-woki.net/swfmill-debug/useNetwork/300-black.swf), which is the client signature. Left untouched here. - square.swf (http://toki-woki.net/swfmill-debug/useNetwork/square.swf), which is the file supposed to access the remote script on our server. Also cut down here. - All this gets output to out.swf. You can see its swf2xml version ( http://toki-woki.net/swfmill-debug/useNetwork/out.xml). As you'll notice at the top, there are 2 FileAttributes tags with different useNetwork attributes, I beleive this is the thing that wreaks havoc... I think I'm running the latest svn version (0.2.12.6). I hope someone tackles this down! Quentin. http://toki-woki.net On Tue, Mar 11, 2008 at 8:14 PM, Quentin [EMAIL PROTECTED] wrote: I mean: various Flash versions (6,7,8) and/or heavy (in bytes) SWFs and/or many items in the library... I'll send examples tomorrow when I get back to work! Quentin. http://toki-woki.net On Tue, Mar 11, 2008 at 7:39 PM, Eric Priou [EMAIL PROTECTED] wrote: Hi, Yes, for complex SWFs it didn't act the same.. What do you mean with complex swf ? Eric Priou aka erixtekila Articles : http://www.v-i-a.net/inprogress Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano Oregano forum : http://www.v-i-a.net/forum/ ___ 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] useNetwork bug?
Okey. I catch it. It's very simple problem. swfmill makes FileAttributes tag from attributes in movie tag when using simple dialect. And swfmill copies your FileAttributes tag into in.xml You should put local-access=network attribute into movie tag. For example, you should modify in.xml like following. ?xml version=1.0 encoding=iso-8859-1 ? -movie width=550 height=400 framerate=40 version=8 - FileAttributes hasMetaData=0 useNetwork=1 / +movie width=550 height=400 framerate=40 version=8 local-access=network background color=#00/ frame ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
del And swfmill copies your FileAttributes tag into in.xml /del And swfmill copies your FileAttributes tag from in.xml into out.swf Naoki INADA wrotes: Okey. I catch it. It's very simple problem. swfmill makes FileAttributes tag from attributes in movie tag when using simple dialect. And swfmill copies your FileAttributes tag into in.xml You should put local-access=network attribute into movie tag. For example, you should modify in.xml like following. ?xml version=1.0 encoding=iso-8859-1 ? -movie width=550 height=400 framerate=40 version=8 - FileAttributes hasMetaData=0 useNetwork=1 / +movie width=550 height=400 framerate=40 version=8 local-access=network background color=#00/ frame ___ 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] useNetwork bug?
Well nope. No other issue! Thanks again. On Mon, Mar 17, 2008 at 2:39 PM, Quentin [EMAIL PROTECTED] wrote: Wow! Can't believe it was that simple, damn it! A big thank you, and a hat tip to this great community! I have an other issue, which I will share on a other thread, not to mix things up... Quentin. http://toki-woki.net On Mon, Mar 17, 2008 at 1:40 PM, INADA Naoki [EMAIL PROTECTED] wrote: del And swfmill copies your FileAttributes tag into in.xml /del And swfmill copies your FileAttributes tag from in.xml into out.swf Naoki INADA wrotes: Okey. I catch it. It's very simple problem. swfmill makes FileAttributes tag from attributes in movie tag when using simple dialect. And swfmill copies your FileAttributes tag into in.xml You should put local-access=network attribute into movie tag. For example, you should modify in.xml like following. ?xml version=1.0 encoding=iso-8859-1 ? -movie width=550 height=400 framerate=40 version=8 - FileAttributes hasMetaData=0 useNetwork=1 / +movie width=550 height=400 framerate=40 version=8 local-access=network background color=#00/ frame ___ 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 ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
Damn, it seems like I'm the only one waiting for this. Noaki, did you find a clue? Quentin. On Wed, Feb 27, 2008 at 2:31 PM, Quentin [EMAIL PROTECTED] wrote: You might be interested in reading this previous mail: http://osflash.org/pipermail/swfmill_osflash.org/2007-December/001615.html If this doesn't help and you've still got questions, I'd be glad to answer questions! Quentin. On Wed, Feb 27, 2008 at 12:10 PM, INADA Naoki [EMAIL PROTECTED] wrote: I wonder if there are two FileAttribute tags in original swf file. Would you show us the original swf file? On Wed, 27 Feb 2008 10:36:49 +0100 Quentin [EMAIL PROTECTED] wrote: Hello list, I didn't get any feedback on it so I thought I might push it up. Sorry for being boring but this issue is causing quite a big trouble with the way I'm using swfmill and I'd love to see it fixed... What I feel most sorry about is that I can't fix the issue myself so I have to bother you with it. I hope someone handles this! Quentin. http://toki-woki.net On Fri, Feb 15, 2008 at 4:55 PM, Quentin [EMAIL PROTECTED] wrote: I there! Sorry for coming back to you once again but it seems like even with the patch applied (I'm running swfmill 0.2.12.6) I still get duplicate FileAttributes tags with different useNetwork attributes... Here are the first lines of an XML got via swf2xml : ?xml version=1.0? swf version=8 compressed=1 Header framerate=24 frames=1 size Rectangle left=0 right=11000 top=0 bottom=8000/ /size tags FileAttributes hasMetaData=0 useNetwork=0/ FileAttributes hasMetaData=0 useNetwork=1/ SetBackgroundColor color Color red=0 green=0 blue=0/ /color /SetBackgroundColor UnknownTag id=0x18/ DefineShape3 objectID=2 We're quite close to perfection... I hope someone can fix this! Quentin. http://toki-woki.net -- INADA Naoki [EMAIL PROTECTED] ___ 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] useNetwork bug?
I tried following. 1. child.xml ?xml version=1.0 encoding=utf-8 ? movie width=320 height=240 framerate=12 FileAttributes hasMetaData=0 useNetwork=0/ background color=#ff/ frame/ /movie 2. parent.xml ?xml version=1.0 encoding=utf-8 ? movie width=320 height=240 framerate=12 FileAttributes hasMetaData=0 useNetwork=1/ background color=#ff/ frame library clip import=child.swf id=foo/ /library place id=foo/ /frame /movie 3. compile it. swfmill simple child.xml child.swf swfmill simple parent.xml parent.swf swfmill swf2xml parent.swf out.xml 4. I got out.xml ?xml version=1.0? swf version=7 compressed=1 Header framerate=12 frames=1 size Rectangle left=0 right=6400 top=0 bottom=4800/ /size tags FileAttributes hasMetaData=0 useNetwork=1/ SetBackgroundColor color Color red=255 green=255 blue=255/ /color !-- snip -- There is only one FileAttributes/ tag. Does something different? I tried this with swfmill from svn. May I try again with swfmill that same yours? On Tue, Mar 11, 2008 at 11:28 PM, Quentin [EMAIL PROTECTED] wrote: Damn, it seems like I'm the only one waiting for this. Noaki, did you find a clue? Quentin. ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org --- INADA Naoki ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
Yes, for complex SWFs it didn't act the same... I also have the SVN version! I'll send some files that won't work for you to test. Thanks! Quentin. On Tue, Mar 11, 2008 at 4:39 PM, Naoki INADA [EMAIL PROTECTED] wrote: I tried following. 1. child.xml ?xml version=1.0 encoding=utf-8 ? movie width=320 height=240 framerate=12 FileAttributes hasMetaData=0 useNetwork=0/ background color=#ff/ frame/ /movie 2. parent.xml ?xml version=1.0 encoding=utf-8 ? movie width=320 height=240 framerate=12 FileAttributes hasMetaData=0 useNetwork=1/ background color=#ff/ frame library clip import=child.swf id=foo/ /library place id=foo/ /frame /movie 3. compile it. swfmill simple child.xml child.swf swfmill simple parent.xml parent.swf swfmill swf2xml parent.swf out.xml 4. I got out.xml ?xml version=1.0? swf version=7 compressed=1 Header framerate=12 frames=1 size Rectangle left=0 right=6400 top=0 bottom=4800/ /size tags FileAttributes hasMetaData=0 useNetwork=1/ SetBackgroundColor color Color red=255 green=255 blue=255/ /color !-- snip -- There is only one FileAttributes/ tag. Does something different? I tried this with swfmill from svn. May I try again with swfmill that same yours? On Tue, Mar 11, 2008 at 11:28 PM, Quentin [EMAIL PROTECTED] wrote: Damn, it seems like I'm the only one waiting for this. Noaki, did you find a clue? Quentin. ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org --- INADA Naoki ___ 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] useNetwork bug?
Hi, Yes, for complex SWFs it didn't act the same.. What do you mean with complex swf ? Eric Priou aka erixtekila Articles : http://www.v-i-a.net/inprogress Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano Oregano forum : http://www.v-i-a.net/forum/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
I mean: various Flash versions (6,7,8) and/or heavy (in bytes) SWFs and/or many items in the library... I'll send examples tomorrow when I get back to work! Quentin. http://toki-woki.net On Tue, Mar 11, 2008 at 7:39 PM, Eric Priou [EMAIL PROTECTED] wrote: Hi, Yes, for complex SWFs it didn't act the same.. What do you mean with complex swf ? Eric Priou aka erixtekila Articles : http://www.v-i-a.net/inprogress Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano Oregano forum : http://www.v-i-a.net/forum/ ___ 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] useNetwork bug?
Hello list, I didn't get any feedback on it so I thought I might push it up. Sorry for being boring but this issue is causing quite a big trouble with the way I'm using swfmill and I'd love to see it fixed... What I feel most sorry about is that I can't fix the issue myself so I have to bother you with it. I hope someone handles this! Quentin. http://toki-woki.net On Fri, Feb 15, 2008 at 4:55 PM, Quentin [EMAIL PROTECTED] wrote: I there! Sorry for coming back to you once again but it seems like even with the patch applied (I'm running swfmill 0.2.12.6) I still get duplicate FileAttributes tags with different useNetwork attributes... Here are the first lines of an XML got via swf2xml : ?xml version=1.0? swf version=8 compressed=1 Header framerate=24 frames=1 size Rectangle left=0 right=11000 top=0 bottom=8000/ /size tags FileAttributes hasMetaData=0 useNetwork=0/ FileAttributes hasMetaData=0 useNetwork=1/ SetBackgroundColor color Color red=0 green=0 blue=0/ /color /SetBackgroundColor UnknownTag id=0x18/ DefineShape3 objectID=2 We're quite close to perfection... I hope someone can fix this! Quentin. http://toki-woki.net On Thu, Feb 14, 2008 at 8:55 PM, Quentin [EMAIL PROTECTED] wrote: Great, thanks! Quentin. On Thu, Feb 14, 2008 at 7:45 PM, Ralf Fuest [EMAIL PROTECTED] wrote: I've applied the patch to the svn in the end of december. Ralf Am Donnerstag, den 14.02.2008, 18:19 +0100 schrieb Quentin: I there! Well, we finally got it working! But I was wondering if the patch had been applied to the SVN? Quentin. On Thu, Dec 20, 2007 at 8:51 PM, Quentin [EMAIL PROTECTED] wrote: Well, I installed it and nothing changed... Still looking for help! Quentin. On Dec 20, 2007 7:53 PM, Ralf Fuest [EMAIL PROTECTED] wrote: You need to install the libxml2 development files. The package you need to install is called libxml2-dev or something similar. Ralf Well, I tried lots of things and I'm stuck with errors... First weird thing (when running ./autogen.sh or ./configure) I get this (amongst lots of found things), but no explicit error : checking for working makeinfo... missing And then the make command brings lots of errors... Here are the first lines : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' Making all in swft make[2]: Entering directory `/var/swfmill-svn/src/swft' /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME= \swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\ 0.2.12.5\ -DPACKAGE_STRING=\swfmill\ 0.2.12.5\ -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED] \ -DPACKAGE= \swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -c swft.cpp g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill 0.2.12.5\ -DPACKAGE_BUGREPORT=\ [EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\ 0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -Wp,-MD,.deps/swft.pp -c swft.cpp -fPIC -DPIC -o .libs/swft.o
Re: [swfmill] useNetwork bug?
I wonder if there are two FileAttribute tags in original swf file. Would you show us the original swf file? On Wed, 27 Feb 2008 10:36:49 +0100 Quentin [EMAIL PROTECTED] wrote: Hello list, I didn't get any feedback on it so I thought I might push it up. Sorry for being boring but this issue is causing quite a big trouble with the way I'm using swfmill and I'd love to see it fixed... What I feel most sorry about is that I can't fix the issue myself so I have to bother you with it. I hope someone handles this! Quentin. http://toki-woki.net On Fri, Feb 15, 2008 at 4:55 PM, Quentin [EMAIL PROTECTED] wrote: I there! Sorry for coming back to you once again but it seems like even with the patch applied (I'm running swfmill 0.2.12.6) I still get duplicate FileAttributes tags with different useNetwork attributes... Here are the first lines of an XML got via swf2xml : ?xml version=1.0? swf version=8 compressed=1 Header framerate=24 frames=1 size Rectangle left=0 right=11000 top=0 bottom=8000/ /size tags FileAttributes hasMetaData=0 useNetwork=0/ FileAttributes hasMetaData=0 useNetwork=1/ SetBackgroundColor color Color red=0 green=0 blue=0/ /color /SetBackgroundColor UnknownTag id=0x18/ DefineShape3 objectID=2 We're quite close to perfection... I hope someone can fix this! Quentin. http://toki-woki.net -- INADA Naoki [EMAIL PROTECTED] ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
I there! Sorry for coming back to you once again but it seems like even with the patch applied (I'm running swfmill 0.2.12.6) I still get duplicate FileAttributes tags with different useNetwork attributes... Here are the first lines of an XML got via swf2xml : ?xml version=1.0? swf version=8 compressed=1 Header framerate=24 frames=1 size Rectangle left=0 right=11000 top=0 bottom=8000/ /size tags FileAttributes hasMetaData=0 useNetwork=0/ FileAttributes hasMetaData=0 useNetwork=1/ SetBackgroundColor color Color red=0 green=0 blue=0/ /color /SetBackgroundColor UnknownTag id=0x18/ DefineShape3 objectID=2 We're quite close to perfection... I hope someone can fix this! Quentin. http://toki-woki.net On Thu, Feb 14, 2008 at 8:55 PM, Quentin [EMAIL PROTECTED] wrote: Great, thanks! Quentin. On Thu, Feb 14, 2008 at 7:45 PM, Ralf Fuest [EMAIL PROTECTED] wrote: I've applied the patch to the svn in the end of december. Ralf Am Donnerstag, den 14.02.2008, 18:19 +0100 schrieb Quentin: I there! Well, we finally got it working! But I was wondering if the patch had been applied to the SVN? Quentin. On Thu, Dec 20, 2007 at 8:51 PM, Quentin [EMAIL PROTECTED] wrote: Well, I installed it and nothing changed... Still looking for help! Quentin. On Dec 20, 2007 7:53 PM, Ralf Fuest [EMAIL PROTECTED] wrote: You need to install the libxml2 development files. The package you need to install is called libxml2-dev or something similar. Ralf Well, I tried lots of things and I'm stuck with errors... First weird thing (when running ./autogen.sh or ./configure) I get this (amongst lots of found things), but no explicit error : checking for working makeinfo... missing And then the make command brings lots of errors... Here are the first lines : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' Making all in swft make[2]: Entering directory `/var/swfmill-svn/src/swft' /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME= \swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\ 0.2.12.5\ -DPACKAGE_STRING=\swfmill\ 0.2.12.5\ -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED] \ -DPACKAGE= \swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -c swft.cpp g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill 0.2.12.5\ -DPACKAGE_BUGREPORT=\ [EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -Wp,-MD,.deps/swft.pp -c swft.cpp -fPIC -DPIC -o .libs/swft.o In file included from swft.cpp:1: /usr/include/libxslt/extensions.h:14:26: libxml/xpath.h: No such file or directory In file included from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xsltInternals.h:16:25: libxml/tree.h: No such file or directory
Re: [swfmill] useNetwork bug?
I there! Well, we finally got it working! But I was wondering if the patch had been applied to the SVN? Quentin. On Thu, Dec 20, 2007 at 8:51 PM, Quentin [EMAIL PROTECTED] wrote: Well, I installed it and nothing changed... Still looking for help! Quentin. On Dec 20, 2007 7:53 PM, Ralf Fuest [EMAIL PROTECTED] wrote: You need to install the libxml2 development files. The package you need to install is called libxml2-dev or something similar. Ralf Well, I tried lots of things and I'm stuck with errors... First weird thing (when running ./autogen.sh or ./configure) I get this (amongst lots of found things), but no explicit error : checking for working makeinfo... missing And then the make command brings lots of errors... Here are the first lines : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' Making all in swft make[2]: Entering directory `/var/swfmill-svn/src/swft' /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME= \swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\ 0.2.12.5\ -DPACKAGE_STRING=\swfmill\ 0.2.12.5\ -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED] \ -DPACKAGE= \swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -c swft.cpp g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill 0.2.12.5\ -DPACKAGE_BUGREPORT=\ [EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -Wp,-MD,.deps/swft.pp -c swft.cpp -fPIC -DPIC -o .libs/swft.o In file included from swft.cpp:1: /usr/include/libxslt/extensions.h:14:26: libxml/xpath.h: No such file or directory In file included from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xsltInternals.h:16:25: libxml/tree.h: No such file or directory /usr/include/libxslt/xsltInternals.h:17:25: libxml/hash.h: No such file or directory /usr/include/libxslt/xsltInternals.h:18:26: libxml/xpath.h: No such file or directory /usr/include/libxslt/xsltInternals.h:19:29: libxml/xmlerror.h: No such file or directory /usr/include/libxslt/xsltInternals.h:20:25: libxml/dict.h: No such file or directory /usr/include/libxslt/xsltInternals.h:21:30: libxml/xmlstring.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:22, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xslt.h:13:25: libxml/tree.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:24, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/numbersInternals.h:13:25: libxml/tree.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:24, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/numbersInternals.h:29: error: parse error before `*' token /usr/include/libxslt/numbersInternals.h:30: error: declaration of `const int _xsltNumberData::xmlChar' And so on... If you guys have any clue, It'd be nice! Quentin. ___ 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] useNetwork bug?
I've applied the patch to the svn in the end of december. Ralf Am Donnerstag, den 14.02.2008, 18:19 +0100 schrieb Quentin: I there! Well, we finally got it working! But I was wondering if the patch had been applied to the SVN? Quentin. On Thu, Dec 20, 2007 at 8:51 PM, Quentin [EMAIL PROTECTED] wrote: Well, I installed it and nothing changed... Still looking for help! Quentin. On Dec 20, 2007 7:53 PM, Ralf Fuest [EMAIL PROTECTED] wrote: You need to install the libxml2 development files. The package you need to install is called libxml2-dev or something similar. Ralf Well, I tried lots of things and I'm stuck with errors... First weird thing (when running ./autogen.sh or ./configure) I get this (amongst lots of found things), but no explicit error : checking for working makeinfo... missing And then the make command brings lots of errors... Here are the first lines : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' Making all in swft make[2]: Entering directory `/var/swfmill-svn/src/swft' /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME= \swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\ 0.2.12.5\ -DPACKAGE_STRING=\swfmill\ 0.2.12.5\ -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED] \ -DPACKAGE= \swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -c swft.cpp g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill 0.2.12.5\ -DPACKAGE_BUGREPORT=\ [EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -Wp,-MD,.deps/swft.pp -c swft.cpp -fPIC -DPIC -o .libs/swft.o In file included from swft.cpp:1: /usr/include/libxslt/extensions.h:14:26: libxml/xpath.h: No such file or directory In file included from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xsltInternals.h:16:25: libxml/tree.h: No such file or directory /usr/include/libxslt/xsltInternals.h:17:25: libxml/hash.h: No such file or directory /usr/include/libxslt/xsltInternals.h:18:26: libxml/xpath.h: No such file or directory /usr/include/libxslt/xsltInternals.h:19:29: libxml/xmlerror.h: No such file or directory /usr/include/libxslt/xsltInternals.h:20:25: libxml/dict.h: No such file or directory /usr/include/libxslt/xsltInternals.h:21:30: libxml/xmlstring.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:22, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1:
Re: [swfmill] useNetwork bug?
Great, thanks! Quentin. On Thu, Feb 14, 2008 at 7:45 PM, Ralf Fuest [EMAIL PROTECTED] wrote: I've applied the patch to the svn in the end of december. Ralf Am Donnerstag, den 14.02.2008, 18:19 +0100 schrieb Quentin: I there! Well, we finally got it working! But I was wondering if the patch had been applied to the SVN? Quentin. On Thu, Dec 20, 2007 at 8:51 PM, Quentin [EMAIL PROTECTED] wrote: Well, I installed it and nothing changed... Still looking for help! Quentin. On Dec 20, 2007 7:53 PM, Ralf Fuest [EMAIL PROTECTED] wrote: You need to install the libxml2 development files. The package you need to install is called libxml2-dev or something similar. Ralf Well, I tried lots of things and I'm stuck with errors... First weird thing (when running ./autogen.sh or ./configure) I get this (amongst lots of found things), but no explicit error : checking for working makeinfo... missing And then the make command brings lots of errors... Here are the first lines : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' Making all in swft make[2]: Entering directory `/var/swfmill-svn/src/swft' /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME= \swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\ 0.2.12.5\ -DPACKAGE_STRING=\swfmill\ 0.2.12.5\ -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED] \ -DPACKAGE= \swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -c swft.cpp g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill 0.2.12.5\ -DPACKAGE_BUGREPORT=\ [EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -Wp,-MD,.deps/swft.pp -c swft.cpp -fPIC -DPIC -o .libs/swft.o In file included from swft.cpp:1: /usr/include/libxslt/extensions.h:14:26: libxml/xpath.h: No such file or directory In file included from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xsltInternals.h:16:25: libxml/tree.h: No such file or directory /usr/include/libxslt/xsltInternals.h:17:25: libxml/hash.h: No such file or directory /usr/include/libxslt/xsltInternals.h:18:26: libxml/xpath.h: No such file or directory /usr/include/libxslt/xsltInternals.h:19:29: libxml/xmlerror.h: No such file or directory /usr/include/libxslt/xsltInternals.h:20:25: libxml/dict.h: No such file or directory /usr/include/libxslt/xsltInternals.h:21:30: libxml/xmlstring.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:22, from /usr/include/libxslt/extensions.h:16,
Re: [swfmill] useNetwork bug?
Well, I tried lots of things and I'm stuck with errors... First weird thing (when running ./autogen.sh or ./configure) I get this (amongst lots of found things), but no explicit error : checking for working makeinfo... missing And then the make command brings lots of errors... Here are the first lines : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' Making all in swft make[2]: Entering directory `/var/swfmill-svn/src/swft' /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill\ 0.2.12.5\ -DPACKAGE_BUGREPORT=\ [EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -c swft.cpp g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill 0.2.12.5\ -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -Wp,-MD,.deps/swft.pp -c swft.cpp -fPIC -DPIC -o .libs/swft.o In file included from swft.cpp:1: /usr/include/libxslt/extensions.h:14:26: libxml/xpath.h: No such file or directory In file included from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xsltInternals.h:16:25: libxml/tree.h: No such file or directory /usr/include/libxslt/xsltInternals.h:17:25: libxml/hash.h: No such file or directory /usr/include/libxslt/xsltInternals.h:18:26: libxml/xpath.h: No such file or directory /usr/include/libxslt/xsltInternals.h:19:29: libxml/xmlerror.h: No such file or directory /usr/include/libxslt/xsltInternals.h:20:25: libxml/dict.h: No such file or directory /usr/include/libxslt/xsltInternals.h:21:30: libxml/xmlstring.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:22, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xslt.h:13:25: libxml/tree.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:24, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/numbersInternals.h:13:25: libxml/tree.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:24, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/numbersInternals.h:29: error: parse error before `*' token /usr/include/libxslt/numbersInternals.h:30: error: declaration of `const int _xsltNumberData::xmlChar' And so on... If you guys have any clue, It'd be nice! Quentin. On Dec 19, 2007 7:54 PM, Daniel Fischer [EMAIL PROTECTED] wrote: On Wed, 19 Dec 2007 18:16:32 +0100 Quentin [EMAIL PROTECTED] wrote: Sorry about that! no need to be sorry.. you do have xsltproc installed now? it's needed from autogen.sh, too. you can also try manually # cd swfmill.../src/ # xsltproc codegen/mk.xsl codegen/source.xml # cd .. # ./configure -dan ___ 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] useNetwork bug?
You need to install the libxml2 development files. The package you need to install is called libxml2-dev or something similar. Ralf Well, I tried lots of things and I'm stuck with errors... First weird thing (when running ./autogen.sh or ./configure) I get this (amongst lots of found things), but no explicit error : checking for working makeinfo... missing And then the make command brings lots of errors... Here are the first lines : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' Making all in swft make[2]: Entering directory `/var/swfmill-svn/src/swft' /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME= \swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\ 0.2.12.5\ -DPACKAGE_STRING=\swfmill\ 0.2.12.5\ -DPACKAGE_BUGREPORT=\[EMAIL PROTECTED] \ -DPACKAGE= \swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -c swft.cpp g++ -DPACKAGE_NAME=\swfmill\ -DPACKAGE_TARNAME=\swfmill\ -DPACKAGE_VERSION=\0.2.12.5\ -DPACKAGE_STRING=\swfmill 0.2.12.5\ -DPACKAGE_BUGREPORT=\ [EMAIL PROTECTED] \ -DPACKAGE=\swfmill\ -DVERSION=\0.2.12.5\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -Wp,-MD,.deps/swft.pp -c swft.cpp -fPIC -DPIC -o .libs/swft.o In file included from swft.cpp:1: /usr/include/libxslt/extensions.h:14:26: libxml/xpath.h: No such file or directory In file included from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xsltInternals.h:16:25: libxml/tree.h: No such file or directory /usr/include/libxslt/xsltInternals.h:17:25: libxml/hash.h: No such file or directory /usr/include/libxslt/xsltInternals.h:18:26: libxml/xpath.h: No such file or directory /usr/include/libxslt/xsltInternals.h:19:29: libxml/xmlerror.h: No such file or directory /usr/include/libxslt/xsltInternals.h:20:25: libxml/dict.h: No such file or directory /usr/include/libxslt/xsltInternals.h:21:30: libxml/xmlstring.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:22, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/xslt.h:13:25: libxml/tree.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:24, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/numbersInternals.h:13:25: libxml/tree.h: No such file or directory In file included from /usr/include/libxslt/xsltInternals.h:24, from /usr/include/libxslt/extensions.h:16, from swft.cpp:1: /usr/include/libxslt/numbersInternals.h:29: error: parse error before `*' token /usr/include/libxslt/numbersInternals.h:30: error: declaration of `const int _xsltNumberData::xmlChar' And so on... If you guys have any clue, It'd be nice! Quentin. ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
Hello and thanks for the quick feedback! I tried my best and applied the patch successfully but when running the 'make' command right after the './configure' I got this error : Making all in src make[1]: Entering directory `/var/swfmill-0.2.12.4/src' make all-recursive make[2]: Entering directory `/var/swfmill-0.2.12.4/src' Making all in swft make[3]: Entering directory `/var/swfmill-0.2.12.4/src/swft' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/swfmill-0.2.12.4/src/swft' Making all in xslt make[3]: Entering directory `/var/swfmill-0.2.12.4/src/xslt' xsltproc assemble.xsl simple.xml simple.xsl /bin/sh: line 1: xsltproc: command not found make[3]: *** [simple.cpp] Error 127 make[3]: Leaving directory `/var/swfmill-0.2.12.4/src/xslt' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/swfmill-0.2.12.4/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/swfmill-0.2.12.4/src' make: *** [all-recursive] Error 1 I did this with swfmill 0.2.12.4 I'm far from being a Linux expert, but I hope this helps! I'd be glad to help out on the wiki side of things, for sure! Quentin. On Dec 18, 2007 8:01 PM, Daniel Fischer [EMAIL PROTECTED] wrote: On Tue, 18 Dec 2007 17:54:58 +0100 Quentin [EMAIL PROTECTED] 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 ___ 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] useNetwork bug?
On Wed, 19 Dec 2007 10:39:02 +0100 Quentin [EMAIL PROTECTED] wrote: /bin/sh: line 1: xsltproc: command not found you'll need xsltproc- it's usually part of libxslt (maybe sth like libxslt-dev?). also, it would be much better to start from the svn sources than 0.2.12.4... -dan ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
Well, I think I'm not skilled enough for that... I've never used SVN and I'm afraid of doing something wrong! I think I know how to install xsltproc but I might not be able to go further... Too bad! Quentin. On Dec 19, 2007 5:01 PM, Daniel Fischer [EMAIL PROTECTED] wrote: On Wed, 19 Dec 2007 10:39:02 +0100 Quentin [EMAIL PROTECTED] wrote: /bin/sh: line 1: xsltproc: command not found you'll need xsltproc- it's usually part of libxslt (maybe sth like libxslt-dev?). also, it would be much better to start from the svn sources than 0.2.12.4... -dan ___ 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] useNetwork bug?
On Dec 19, 2007 5:40 PM, Quentin [EMAIL PROTECTED] wrote: Well, I think I'm not skilled enough for that... I've never used SVN and I'm afraid of doing something wrong! It's not too hard. Try this: (to get svn: sudo apt-get install subversion) cd /tmp svn co http://swfmill.org/svn/trunk swfmill cd swfmill ./autogen.sh make sudo make install Subversion can be very useful, not just for Swfmill. It's also great for your own stuff -- it's not just for teams, even if you're on your own it's a very luxurious backup solution that allows you to go back in time. HTH, Mark ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
Thanks very much for these steps, you guys are very helpful! So, I tried and I got this error while running the 'make' command : Making all in src make[1]: Entering directory `/var/swfmill-svn/src' make[1]: *** No rule to make target `gSWFParseXML.cpp', needed by `Makefile'. Stop. make[1]: Leaving directory `/var/swfmill-svn/src' make: *** [all-recursive] Error 1 Sorry about that! Quentin. On Dec 19, 2007 5:54 PM, Mark Winterhalder [EMAIL PROTECTED] wrote: On Dec 19, 2007 5:40 PM, Quentin [EMAIL PROTECTED] wrote: Well, I think I'm not skilled enough for that... I've never used SVN and I'm afraid of doing something wrong! It's not too hard. Try this: (to get svn: sudo apt-get install subversion) cd /tmp svn co http://swfmill.org/svn/trunk swfmill cd swfmill ./autogen.sh make sudo make install Subversion can be very useful, not just for Swfmill. It's also great for your own stuff -- it's not just for teams, even if you're on your own it's a very luxurious backup solution that allows you to go back in time. HTH, Mark ___ 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] useNetwork bug?
On Wed, 19 Dec 2007 18:16:32 +0100 Quentin [EMAIL PROTECTED] wrote: Sorry about that! no need to be sorry.. you do have xsltproc installed now? it's needed from autogen.sh, too. you can also try manually # cd swfmill.../src/ # xsltproc codegen/mk.xsl codegen/source.xml # cd .. # ./configure -dan ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
Hello, First of all, sorry to re-post this, but I'm working on a project that really needs to have this bug (?) fixed in swfmill! If someone out there has the ability to do it, it'd be a nice Christmas present... Once again, sorry for upping this thread... But holidays'll be here soon! Quentin. On Dec 10, 2007 3:52 PM, Quentin [EMAIL PROTECTED] wrote: As I wrote earlier, there seem to be a few hick-ups with useNetwork management in swfmill... I thought I found a way to have it working, but I have found some weird things. 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... Anyone out there knows how to fix that? That'd be nice! Quentin. dasp.free.fr On Dec 7, 2007 5:05 PM, Quentin [EMAIL PROTECTED] wrote: Hi there! I've just found out something weird with network and filesystem access parameter available in swfmill... I was trying to allow my swfs to access the network when executed on the users' desktop without having the horrible warning. So I discovered the mighty option (http://www.amfphp.org/docs/media/sandbox.gif) By reading the list archives I stumbled on these possible ways to set it: FileAttributes hasMetaData=1|0 useNetwork=network|filesystem / movie local-access=networkBut none of them worked so I went through some swf2xml'd files and I found out that the only working option is the following : FileAttributes hasMetaData=0 useNetwork=1 / placed right after the movie tag... I hope this helps! Quentin. dasp.free.fr ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] useNetwork bug?
On Dec 18, 2007 4:29 PM, Quentin [EMAIL PROTECTED] wrote: Hello, First of all, sorry to re-post this, but I'm working on a project that really needs to have this bug (?) fixed in swfmill! If someone out there has the ability to do it, it'd be a nice Christmas present... Once again, sorry for upping this thread... But holidays'll be here soon! Quentin. Quentin, I thought you had gotten it to work already -- you can simply add FileAttributes hasMetaData=0 useNetwork=1 / right after the movie/ tag as you suggested, even if it's not part of swfml-s (simple). swfml-ll (low level, what swf2xml gives you) tags within swfml-s are copied verbatim. This can potentially cause problems, especially if IDs are affected, but in this case it should be safe -- unless Swfmill already sets it as part of the movie/ tag. Did you try that already? Mark On Dec 10, 2007 3:52 PM, Quentin [EMAIL PROTECTED] wrote: As I wrote earlier, there seem to be a few hick-ups with useNetwork management in swfmill... I thought I found a way to have it working, but I have found some weird things. 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... Anyone out there knows how to fix that? That'd be nice! Quentin. dasp.free.fr On Dec 7, 2007 5:05 PM, Quentin [EMAIL PROTECTED] wrote: Hi there! I've just found out something weird with network and filesystem access parameter available in swfmill... I was trying to allow my swfs to access the network when executed on the users' desktop without having the horrible warning. So I discovered the mighty option (http://www.amfphp.org/docs/media/sandbox.gif) By reading the list archives I stumbled on these possible ways to set it: FileAttributes hasMetaData=1|0 useNetwork=network|filesystem / movie local-access=networkBut none of them worked so I went through some swf2xml'd files and I found out that the only working option is the following : FileAttributes hasMetaData=0 useNetwork=1 / placed right after the movie tag... I hope this helps! Quentin. dasp.free.fr ___ 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] useNetwork bug?
On Tue, 18 Dec 2007 17:54:58 +0100 Quentin [EMAIL PROTECTED] 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 Index: src/xslt/simple-import.xslt === --- src/xslt/simple-import.xslt (revision 234) +++ src/xslt/simple-import.xslt (working copy) @@ -444,7 +444,7 @@ /xsl:template !-- for tags that are globalized -- -xsl:template match=SetBackgroundColor mode=sprite-global/ +xsl:template match=SetBackgroundColor|FileAttributes mode=sprite-global/ xsl:template match=DoAction|End|FrameLabel|PlaceObject|PlaceObject2|RemoveObject|RemoveObject2|ShowFrame|SoundStreamBlock|SoundStreamHead|StartSound mode=sprite-global/ xsl:template match=*|@*|text() mode=sprite-global priority=-1 xsl:apply-templates select=. mode=idmap/ Index: src/xslt/simple-elements.xslt === --- src/xslt/simple-elements.xslt (revision 234) +++ src/xslt/simple-elements.xslt (working copy) @@ -86,7 +86,7 @@ Rectangle left={$left} right={$right} top={$top} bottom={$bottom}/ /size tags -xsl:if test=$version = 8 +xsl:if test=$version = 8 FileAttributes hasMetaData={$hasMetaData} useNetwork={$useNetwork}/ /xsl:if xsl:apply-templates/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org