Re: [swfmill] [Fwd: Re: Font Embedding]

2009-01-15 Thread Mark Winterhalder
What is vera.ttf ? it is the real TrueType file? Yes. The ID (vera in this case) may be anything? or should be the font name, and how do you use it in the TextField? Yes, both -- it /may/ be anything, but /should/ be the font name for clarity's sake. What's missing in the tutorial, because

Re: [swfmill] Does swfmill have any options for image compression?

2008-05-04 Thread Mark Winterhalder
Tested it at work, with a 24 bit PNG with semi-transparent areas, saved for web out of Photoshop: - Original PNG: 858 KB - SWF output size, with JPEG quality for publishing set to 0 (zero): 177 KB - SWF output size, JPEG quality set to 100 (hundred): 627 KB The low quality version

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Mark Winterhalder
On Thu, Apr 24, 2008 at 7:15 PM, Walton, Lynn [EMAIL PROTECTED] wrote: Does swfmill have any options for image compression? Hmm... the reply I just sent to the other thread would have fit better here. :) I think the compression setting in Flash only affects JPGs (where Swfmill just takes what

Re: [swfmill] Does swfmill have any options for image compression?

2008-04-24 Thread Mark Winterhalder
On Thu, Apr 24, 2008 at 11:32 PM, Joel Poloney [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 2:23 PM, Mark Winterhalder [EMAIL PROTECTED] wrote: I think the compression setting in Flash only affects JPGs (where Swfmill just takes what you pass to it, so you'd have to use another program

Re: [swfmill] mp3 import bug

2008-04-11 Thread Mark Winterhalder
Zárate, if you like, I can send you my binary. Not sure if that would work, but it might be worth a shot. It's built on Gentoo for Pentium-M. Mark On Fri, Apr 11, 2008 at 9:49 AM, Zárate [EMAIL PROTECTED] wrote: Yes, we *really* need a new release of SWFMill... The version on SVN is a

Re: [swfmill] The call tag and HaXe / AS3

2008-04-09 Thread Mark Winterhalder
All the examples containing the call tag seem to refer to MTASC. Is the call tag usable with HaXe if you target Flash 9? No, it's not usable for anything but AS2. call/ is left over from the very early days of Swfmill, IIRC the problem was that MTASC compiled code executed before the SWF

Re: [swfmill] compiling png's to swf with diferent quality settings

2008-03-27 Thread Mark Winterhalder
On Thu, Mar 27, 2008 at 5:02 PM, Baluta Cristian [EMAIL PROTECTED] wrote: hello list. i'm new to swfmill and i want to use it with haXe. but i have a question wich does not have importance where i'll use. can i import many png's to diferent frames into swf, and then set jpg quality of this

Re: [swfmill] compiling on Linux

2008-01-11 Thread Mark Winterhalder
On Jan 11, 2008 9:24 PM, Will [EMAIL PROTECTED] wrote: Moving from OSX now to Linux, I have a linux server running Fedora core 5. I got a list of missing things after running autogen.sh: This looks like you need gcc, the GNU Compiler Collection. Mark

Re: [swfmill] useNetwork bug?

2007-12-19 Thread Mark Winterhalder
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

Re: [swfmill] useNetwork bug?

2007-12-18 Thread Mark Winterhalder
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

Re: [swfmill] WARNING: this file is not a valid MP3

2007-12-14 Thread Mark Winterhalder
On Dec 14, 2007 12:21 PM, Ryan van Roode [EMAIL PROTECTED] wrote: I am trying to figure out a way of reducing the size of flash sound files and these 44100Hz mp3s are still quite large. Is this sampling rate imposed by flash, or is it some limitation of swfmill? Is it possible for the swfmill

Re: [swfmill] wma - mailing list

2007-12-03 Thread Mark Winterhalder
On Dec 3, 2007 8:05 AM, Axel Huizinga [EMAIL PROTECTED] wrote: Hi, 1. is there a linux tool to use wma audio with swf? No, the FlashPlayer doesn't understand that and Swfmill doesn't convert it, so you need to convert it to mp3 or wav yourself. 2. will it be possible to setup a

Re: [swfmill] Impossible to compile from sources

2007-12-02 Thread Mark Winterhalder
Hi Zárate, swfmill: error while loading shared libraries: libswft.so.0: cannot open shared object file: No such file or directory this means Swfmill can't find the library. If you compiled from sources, it should be in /usr/local/lib. If not, run 'locate libswft' (and 'updatedb' before that

Re: [swfmill] Accessing frames in AS3

2007-11-13 Thread Mark Winterhalder
1:58 AM, Mark Winterhalder [EMAIL PROTECTED] wrote: If everything fails, maybe somebody with access to Flash CS3 could produce a minimal SWF for both AVM1 and AVM2, so we could compare the swf2xml and look for the difference? I checked into this. I took the same movie

Re: [swfmill] How to use swfmill to check the duration of a swf

2007-11-12 Thread Mark Winterhalder
On Nov 13, 2007 5:07 AM, ying lcs [EMAIL PROTECTED] wrote: Is it possible to use swfmill to find out the duration of a swf? For example how many frames in that swf and how long each frame should play? Sure, when you do swfmill swf2xml infile.swf | less you can see the number of frames and

Re: [swfmill] error: input not UTF-8

2007-11-10 Thread Mark Winterhalder
When I create the SWF file with swfmill, it says the following: error : xmlEncodeEntitiesReentrant : input not UTF-8 This (unresolved) issue from an ancient thread just came up for me: I've just compiled Swfmill off SVN for my new system, and I get the error when I try swf2xml. What is /really/

Re: [swfmill] Tag Fields, Types swfmill simple tags...

2007-10-11 Thread Mark Winterhalder
On 10/11/07, Mehdi Ahmadi @ The JD Project [EMAIL PROTECTED] wrote: Is there a way specifying glyph=all / all the avalible range in a .ttf? Seems like with a bit of reverse engineering I am getting closer to my original need. Mehdi, the default behaviour is to include all glyphs, so, if you

Re: [swfmill] Tag Fields, Types swfmill simple tags...

2007-10-11 Thread Mark Winterhalder
On 10/11/07, Mehdi Ahmadi @ The JD Project [EMAIL PROTECTED] wrote: Thanks for the response Mark... what about alpha/numeric ranges? is it possible to define A...z or perhaps a char code / UTF code range? No presets that I knew of. But I could be wrong. So far, you have to list all the

Re: [swfmill] newbie drawing api

2007-09-21 Thread Mark Winterhalder
Hi Hari, there are two swfml xml dialects, swfml-ll (low level/basic) and swfml-s simple). The examples you can find on http://osflash.org/swfmill are for swfml-s, but you can't draw in that one. Normal Swfmill use is to use swfml-s and import pre-existing graphics, the Svn version (Ralf posted a

Re: [swfmill] Flash9 support

2007-07-17 Thread Mark Winterhalder
On 7/17/07, Ralf Fuest [EMAIL PROTECTED] wrote: Hello Mark, I'm sorry to render your tool obsolete. ;) Ah, well. I'll find some uses for it, I'm sure. :) I hope you like the swfmill internal solution. Yeah, swfmill doesn't even use a hack. My approach was to abuse DefineBitsLossless2 and to

Re: [swfmill] Flash9 support

2007-07-17 Thread Mark Winterhalder
On 7/17/07, Ralf Fuest [EMAIL PROTECTED] wrote: Hello Mark, you are right. You just use class Foo extends BytaArray {}. At least it works in haXe this way, I don't know about AS3. Cool, I will adjust my tool to use that instead. Damn, and I was so proud of my hack. :) Mark

Re: [swfmill] Flash9 support

2007-07-16 Thread Mark Winterhalder
On 7/16/07, Ralf Fuest [EMAIL PROTECTED] wrote: Hello, I just want to write a short update about the things I worked on for the past days. I've added support for some flash 9 tags to swfmill. This includes the DoABC and DoABCDefine tags and the ABC format that is used to represent the AS3

Re: [swfmill] Problem with haXe SWF9 library

2007-07-09 Thread Mark Winterhalder
Hi Ralf, I didn't really understand what you wrote about the bounding boxes. The SVG import calculates the bounding boxes to fit the paths (at least I hope it does correctly). it seems like the size of the bounding box is calculated correctly, however, the reference point isn't. Sub-groups

Re: [swfmill] Small tool to help with SWF9 SVG import

2007-07-08 Thread Mark Winterhalder
OK, I made a half-proper version for your testing pleasure: http://www.snafoo.org/swfmillsvglibtool/ The usage has changed: $ swfmillsvglibtool swfmillsvglibtool is a primitive tool to help you with preparing an SVG file for Swfmill import, to be used with haXe for SWF9. version 0.0.1 usage:

Re: [swfmill] Problem with haXe SWF9 library

2007-07-07 Thread Mark Winterhalder
if the group is positioned at 0,0 with the visible part being somewhere else (or does it even do that already? I didn't manage to display anything yet, so I don't know). Maybe I'm just doing something wrong, I don't know. Mark On 7/7/07, Mark Winterhalder [EMAIL PROTECTED] wrote: Hi, I'm

Re: [swfmill] SVG support committed

2007-07-07 Thread Mark Winterhalder
Quick bug report before I'll go drinking: It appears that there is an extra anonymous DisplayObjectContainer in between containers. So, if you have Foo.Bar.Baz, what you get is Foo.anonymous.Bar.anonymous.Baz. That's not a new problem, it already existed in the old Swfmill SVG import. Could be my

Re: [swfmill] SVG support committed

2007-07-06 Thread Mark Winterhalder
On 7/7/07, Ralf Fuest [EMAIL PROTECTED] wrote: Hello Mark, the current SVN version of SWFShapeMaker.cpp is only 399 lines long and your compile log shows that your file is at least 481 lines long, so there seems to be a problem with your source files. Try to do a fresh checkout to fix this.

Re: [swfmill] embed fonts Flash 9

2007-06-01 Thread Mark Winterhalder
Hi, this is a working one I use: ?xml version=1.0 encoding=iso-8859-1 ? movie width=320 height=240 framerate=12 version=7 frame library font name=kass07 id=kass07 import=/home/m/.fonts/Kassiopeia07 regular.ttf / /library import

Re: [swfmill] building svn version

2007-05-28 Thread Mark Winterhalder
can you tell me the exact steps for compiling swfmill. Below is what I have to do, on Gentoo. That means I don't have to deal with dependencies, because it's close to impossible to have a working system without having everything swfmill needs already... lucky me. :) What you do need, apart from

Re: [swfmill] Unrecognized tags

2007-05-16 Thread Mark Winterhalder
On 5/16/07, Sergei [EMAIL PROTECTED] wrote: Hi, Sometimes when I convert swf 2 xml, I see that sme tags were not recognized by swfmill. These are mosty Flash Lite commands (like fscommand2, etc). In xml these are named 'UnknowTag' or something like that. The question is: when I convert that

Re: [swfmill] convert a svg file to swf

2007-05-14 Thread Mark Winterhalder
On 5/14/07, Flash Developpeur [EMAIL PROTECTED] wrote: Hello everybody, I don't see in the documentation how to convert a svg file to a swf. Is anybody can explain me how to make my xml file, please ? Hi Matthieu, simply import it just like everything else: clip id=mySVG

Re: [swfmill] Improved SVG support

2007-05-10 Thread Mark Winterhalder
On 5/3/07, Mark Winterhalder [EMAIL PROTECTED] wrote: I hope to find the time to test it soon, hopefully later tonight. Well, only one week has passed and I finally got around to do some tests -- and I must say I'm very happy with the results. :) Here are Tux and the tiger: http

Re: [swfmill] Improved SVG support

2007-05-03 Thread Mark Winterhalder
Wow, this is excellent news to wake up to! :) I hope to find the time to test it soon, hopefully later tonight. Proper SVG import is a huge step, IMHO. Maybe we can talk Dan into a fresh release... Thanks for the hard work! Mark On 5/3/07, Ralf Fuest [EMAIL PROTECTED] wrote: Hello, I've

Re: [swfmill] www.swfmill.org offline

2007-04-30 Thread Mark Winterhalder
On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does anybody know, what happened to the swfmill-project? Did it move? No, there seems to be a problem with the server. I couldn't get hold of Dan (yet), but left a message and sent an SMS. I'm sure it'll be fixed soon if he's somewhere near

Re: [swfmill] xml2swf (advanced mode)

2007-04-13 Thread Mark Winterhalder
On 4/13/07, Christian Giordano [EMAIL PROTECTED] wrote: Hi guys, I would need to generate a swf with embedded an image and rotated/colored texts. I presume the latter is not possible to do in simple mode (I read about the rotation patch but I would need also to set some text formatting, and I

Re: [swfmill] newbie: creating animation from a series of jpg files various timings

2007-03-23 Thread Mark Winterhalder
On 3/23/07, XIX [EMAIL PROTECTED] wrote: The frame rate you ask for and the frame rate flash actually runs at seldom seem to be the same. I don't mean frame dropping due to rendering time. From personal tests I've seen a request for 30fps actually yield 25fps even when nothing is being drawn

Re: [swfmill] Bug introduced in rev. 203?

2007-03-11 Thread Mark Winterhalder
On 3/12/07, Alex Midgley [EMAIL PROTECTED] wrote: In revision 203, the first character of src/xslt/simple-tools.xslt is an 'h', so it doesn't compile. Is this a bug, or are my tools reading a byte order mark wrong or something? Looks like your tools work properly, it's also there on Trac:

Re: [swfmill] newbie: creating animation from a series of jpg files various timings

2007-03-05 Thread Mark Winterhalder
So what happens in between each frame... if file1.jpg is captures at 10seconds before file2.jpg, I just stick (10x10) 100 frame / tags as filler in between the two images. There must be a better way than this. Also, since I'm converting from milliseconds to frames per second... I think I'm

Re: [swfmill] swfmill-0.2.12.2 prerelease doesn't find libswft.so.0

2007-03-05 Thread Mark Winterhalder
On 3/5/07, daniel fischer [EMAIL PROTECTED] wrote: Mark Winterhalder [EMAIL PROTECTED] (on Mon, 5 Mar 2007 11:59:24 +0100): swfmill: error while loading shared libraries: libswft.so.0: cannot open shared object file: No such file or directory hum, did make install install a libswft.so

Re: [swfmill] Question about swfmil output

2007-03-04 Thread Mark Winterhalder
On 3/4/07, Joseph Donth [EMAIL PROTECTED] wrote: Pardon the question but as a newcomer to this list I'm not sure what the rules are yet. Mark's comment ...you won't get any meaningful help here unless you come up with a convincing story that explains why you need to do it. prompted me want

Re: [swfmill] Question about swfmil output

2007-03-04 Thread Mark Winterhalder
On 3/4/07, ying lcs [EMAIL PROTECTED] wrote: I am trying to investigate why certain swf files (the ones find in public sites) can't play on the gnash (an opensource flash player). That's /very/ legitimate. :) That tag (PlaceObject) places an object on the stage -- it does /not/ define that

Re: [swfmill] Not understanding the frame command (I think)

2007-03-01 Thread Mark Winterhalder
The SWF file that is being created (after MTASC and SWFMILL) consists of ONE frame i.e. Flash.totalFrames = 1 (where as if I use the original file from the pdf2swf program I get the actual 12 frames. That is correct -- you're importing a 12 frame MovieClip (SWF) into a 1 frame SWF. The one in

Re: [swfmill] SWFMill no-anti aliased text + wiki

2007-01-26 Thread Mark Winterhalder
Hi Roxlu, it seems like Flash does the aliasing of the fonts. IIRC, when you include a font with anti-aliasing switched off the SWF will get smaller. So, it seems not to be a setting but actually different glyphs, ant swfmill can't do that. As for the wiki, I think it would be best to use the

Re: [swfmill] MTASC and SWFMILL

2007-01-24 Thread Mark Winterhalder
On 1/2/98, Christopher Brian Jack [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2007, daniel fischer wrote: I'd really like to be able to use SVG properly (ie: more than one in the SWF project). Can't do a proper game without being able to manipulate vectorized shapes. In fact this one thing

Re: [swfmill] jpeg import error

2006-11-02 Thread Mark Winterhalder
http://relivethefuture.com/work/test.jpg jpeginfo says it's progressive: [EMAIL PROTECTED] ~ $ jpeginfo test.jpg test.jpg 301 x 113 24bit JFIF P 11187 Maybe swfmill has problems with progressive jpegs? Mark On 11/2/06, Martin Wood-Mitrovski [EMAIL PROTECTED] wrote: I've got a problem

Re: [swfmill] swfmill error

2006-10-18 Thread Mark Winterhalder
On 10/19/06, Myriam [EMAIL PROTECTED] wrote: sorry i tryed that first and it didn't work: Here the error with another jpeg and the right path: swft:import-jpeg() : failed to read file '../library/test.jpg' Hmm. If you leave it as library/test.jpg, and move the XML into the Myfirstproject

Re: [swfmill] (flash8) add linkage to jpg/png directly - *STILL* possible ? + Fonts (Text version of previous post)

2006-07-21 Thread Mark Winterhalder
Hi, from memory (no Flash IDE to test, sorry), the difference between aliased and non-aliased fonts is really the outlines that get embedded. To verify this (as I'm really not sure), simply make two otherwise similar SWFs with an embedded font and compare the size, then have a closer look at the

Re: [swfmill] future of swfmill

2006-06-27 Thread Mark Winterhalder
On 6/27/06, daniel fischer [EMAIL PROTECTED] wrote: Steve Webster [EMAIL PROTECTED] (on Tue, 27 Jun 2006 17:32:46 +0100): * i've started a rewrite of the core SWF-read/write functionality of swfmill- in haXe/neko. the project is (currently) called hxswf. Interesting. I saw you

Re: [swfmill] install trouble...

2006-06-07 Thread Mark Winterhalder
On 6/7/06, Hansi Raber [EMAIL PROTECTED] wrote: Allright, to know what i'm talking about you should maybe play once at http://www.benettonplay.com/toys/oddoneout/pair/Kashmir Cool :) And yeah, I've had problems with loadMovie, too, way before swfmill came along. There's one problem I have

Re: [swfmill] swfmill + mtasc + emacs (Beginner)

2006-05-19 Thread Mark Winterhalder
Hi Andrei, basically, there are two methods: - make swfmill swf first, then tell mtasc to compile the code /into/ it, or - compile mtasc swf first, then have a clip import=classes.swf / somewhere in your swfml-s Personally, I have always used the latter. It has the advantage of being able to

Re: [swfmill] swfmill + mtasc + emacs (Beginner)

2006-05-19 Thread Mark Winterhalder
Hi Andrei, This looks correct, is the resulting SWF smaller if you !-- comment out -- the clip import=... / part? If so, it gets imported as it is supposed to. (It doesn't have to be inside a library/ tag, btw.) The way it is now, it assumes you have a class Main with a static method main() in

Re: [swfmill] Bug with numbers in text fields...

2006-04-21 Thread Mark Winterhalder
On 4/21/06, Quentin [EMAIL PROTECTED] wrote: Thanks for the link ! Sorry to bother, but how can you explain the SWF generated by the Flash IDE works fine, but the one rendered via swfmill has this floating point problem ? The one generated by the IDE does *not* have this problem? I have no

Re: [swfmill] Bug with numbers in text fields...

2006-04-21 Thread Mark Winterhalder
On 4/21/06, Quentin [EMAIL PROTECTED] wrote: No, no quotes ! I sent a FLA on the Trac site, but if you are on Linux you might not be able to open it, but the only actionscript line in it is what I posted before ( tfVal.text = 9.8;) ! The textfield was not created by actionscript, but within

Re: [swfmill] Bug with numbers in text fields...

2006-04-21 Thread Mark Winterhalder
On 4/21/06, Quentin [EMAIL PROTECTED] wrote: Here is what I did, according to what you suggested : Put together a FLA with only a dynamic textfield on the stage with an instance name tf Wrote an ActionScript class that simply sets the textfield content to 9.8 Injected the code via MTASCThe

Re: [swfmill] Bug with numbers in text fields...

2006-04-20 Thread Mark Winterhalder
On 4/20/06, Quentin [EMAIL PROTECTED] wrote: Hi ! I have a very simple FLA with only a dynamic textfield on the stage, and some actionscript that says tfVal.text = 9.8; but when I placed the generated SWF with swfmill the textfield is not filled with 9.8 but with 9.8019073486 ! Quite

Re: [swfmill] Buttons with swfmill?

2006-03-11 Thread Mark Winterhalder
hi Marc, i know this is a bit confusing, but there are two swfml dialects, swfml-s and swfml-ll. the document you found refers to swfml-ll (low level), which basically is an xml representation of the SWF file format -- i.e., not really what you want to work with, if you don't plan to use swfmill

Re: [swfmill] import svg with swfmill

2006-02-11 Thread Mark Winterhalder
hi kenichi, this would be just how it's done, except of course that you don't display it on the stage the way your example is right now -- but the clip import=my.svg / is correct, you import it like any other asset. i don't know why it doesn't work in your case. the SVG import is highly

Re: [swfmill] Doing a loading animation? (Newbie)

2006-01-23 Thread Mark Winterhalder
hi Uli, from your description, it seems like your code is executed in the second frame, not the first. you could try to verify that by setting the framerate to 1, and see if the flashing in the beginning takes longer. normally, in flash it's: execute code, display updated graphics, move playhead

Re: [swfmill] font rendering issue

2006-01-23 Thread Mark Winterhalder
23:15:18 +0100 From: Mark Winterhalder [EMAIL PROTECTED] Subject: Re: [swfmill] font rendering issue To: swfmill@osflash.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 hi Marc, do you use the latest version of swfmill? the font import changed

Re: [swfmill] questions about swfmill

2006-01-11 Thread Mark Winterhalder
On 1/11/06, ai829 [EMAIL PROTECTED] wrote: i read the doc before,but I can not find the type action , and the detail about the tag DoAction and DoInitAction there is none in swfml-s (which almost certainly is the one you want to use). those are tags from swfml-l, SWF opcodes. you can see some

Re: [swfmill] Importing SVG

2005-12-16 Thread Mark Winterhalder
On 12/16/05, Dan Shryock [EMAIL PROTECTED] wrote: Cool, thanks for the info. no problem. just thought of one more thing -- sometimes there seem to be clips named in the hierarchy. that causes problems, e.g. when you try to set _alpha. it just won't work. also, expect clips named instance1 and