Re: [swfmill] Extract static text from a SWF using swfmill?

2008-09-16 Thread Daniel Fischer
whops, sorry for the double posting. me and technology...

-dan


___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] swfmill.core

2008-06-04 Thread Daniel Fischer
quoting Gabino Travassos <[EMAIL PROTECTED]>:
> Is this some sort of temp file I can delete?

It's likely a "core dump" file that is generated by your OS because swfmill 
crashed.
You can definitely delete it.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


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

2008-05-05 Thread Daniel Fischer
quoting mawe <[EMAIL PROTECTED]>:
> I want to add that the PNG preserve its full alpha capabilities, though it 
> had been grilled by this 
> lossy compression. Means I can put something under it and this will show 
> through. I can even animate 
> the whole thing, continuous transparency still works.

Mawe,

Mark is completely right- SWF knows JPEG and "lossless/zlib" compression. If 
there is any other format it must be new and unknown to me :)

As repeatedly explained by Ralf in this thread, an alpha mask with 
JPEG-compressed images can be achieved with the mask="..." attribute. Swfmill 
doesn't provide any automatic conversion (like the Flash IDE obviously does); 
that was a design choice to keep the dependencies (and license problems) low.

hth,
-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


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

2008-05-05 Thread Daniel Fischer
quoting "Joel Poloney" <[EMAIL PROTECTED]>:
> I tested this theory and I was correct, the 8bit mask doesn't work for
> semi-transparencies (unless I'm doing it incorrectly). I followed your
> example ralf and it worked great for images with 0% or 100% transparency,
> but not for variable transparencies (ie. tinted glass). Is this a bug with
> swfmill?

Joel,

you must be doing something incorrectly. Maybe your mask image is only 1bit? It 
works well for 8bit transparency with the test at 
http://swfmill.org/trac/browser/trunk/test .

Please check the depth of your mask; if it is 8bit and the problem persists, 
please construct a small testcase.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-11 Thread Daniel Fischer
quoting "Zárate" <[EMAIL PROTECTED]>:
> Yes, we *really* need a new release of SWFMill...
> 
> The version on SVN is a lot more advanced than the current release.
> There are quite a few of us using swfmill on a daily basis and not all
> people is capable of compiling from sources. Last time i tried in
> Ubuntu i couldn't, can't even remember why.

for linux distributions, packaging work should go into
distribution-specific binary packages, not into a binary release on
swfmill.org. and it really should compile quite easily,
if it doesnt, please report a bug.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] maintainer-wanted (was: Re: mp3 import bug)

2008-04-11 Thread Daniel Fischer
quoting "Zárate" <[EMAIL PROTECTED]>:
> What about SWFMill 0.4??

0.3 is first ;)

for me, i wouldn't mind just promoting the current SVN to 0.3, to
communicate the steps and stability improvement it made recently.

thing is, my compile-to-windows setup broke and is not easily
recreatable. also, the OSX machine i've been using to make the mac
versions doesn't exist any more.

so. swfmill surely needs a release. but first, it needs a maintainer to
coordinate compiles for the three platforms.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] SWFMill bug with filters applied to movieclips and importing (version 0.2.12.4 and earlier)

2008-01-26 Thread Daniel Fischer
On Fri, 25 Jan 2008 11:16:26 -0500
Alex H <[EMAIL PROTECTED]> wrote:

> It seems that having any type of filter applied to a movieclip at
> design time breaks SWFMILL's import routines.

Hey Alex,

thanks for the detailled bug report. First question: i assume you are
using the latest release version, 0.2.12? Do you have a way to test
this with SVN?

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] CentOS problem:

2008-01-21 Thread Daniel Fischer
On Mon, 21 Jan 2008 22:28:27 +0100
Daniel Fischer <[EMAIL PROTECTED]> wrote:

> I just had a similar problem

sorry, i still have it. update when it's solved.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] CentOS problem:

2008-01-21 Thread Daniel Fischer
On Mon, 14 Jan 2008 10:27:21 -0800 (PST)
denny shimkoski <[EMAIL PROTECTED]> wrote:

> XPath error : Undefined variable
> compilation error: element Symbol

Denny,

sorry for the long delay. I just had a similar problem on RedHat
RHEL4. It seems their libxslt package doesnt include libxslt in a
standard way (which is really strange considering Daniel Veillard,
libxslt author, seems to work for RH),

one solution is to install libxslt manually. Another could be to modify
swfmill's configure.ac file to check for libxslt (and maybe add -lexslt
to LIBXSLT_LIBS).

For a manual install, you might want to follow:
http://www.lyingonthecovers.net/?p=157

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Patch: Specify text encoding for string in swf

2008-01-21 Thread Daniel Fischer
On Mon, 21 Jan 2008 21:36:19 +0900
INADA Naoki <[EMAIL PROTECTED]> wrote:

> Do anyone want this option?
> I want this patch applied to swfmill. But if no one wants this
> option, making swfmill Japanese branch is better for me, maybe.

That should be fine; i'll review your patch when i find some time.
There's another few patches in the queue but a release should follow
soon.

Thank you very much!

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] New SWFMILL build?

2008-01-17 Thread Daniel Fischer
On Thu, 17 Jan 2008 14:52:29 +0100
Quentin <[EMAIL PROTECTED]> wrote:

> it would push new fixes to a wider
> audience...

well, i agree.

i can likely compile a windows build, but for OSX, the server i had
access to no longer exists--

anyone running an OSX server and willing to install developer tools and
give me a user account? (I'd need only around 200 megs).

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] runtime error: fd + ant + swfmill

2008-01-17 Thread Daniel Fischer
On Thu, 17 Jan 2008 14:21:39 +0100
"Dipl. Des. Hagen Aedtner" <[EMAIL PROTECTED]> wrote:

> can anybody help me to find out what's wrong here?

paths in swfml-simple xml are always relative to the current working
directory when executing swfmill, not to the XML file. Now i don't know
what is the current working directory when using FlashDevelop, but it
obviously isnt src/*/.

try  .

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] useNetwork bug?

2007-12-19 Thread Daniel Fischer
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?

2007-12-19 Thread Daniel Fischer
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?

2007-12-18 Thread Daniel Fischer
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  just
> > > > after the  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 /@local-access ('filesystem' or 'network'), and
the existence of any  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 @@
 
 
 
-
+
 
 
 	
Index: src/xslt/simple-elements.xslt
===
--- src/xslt/simple-elements.xslt	(revision 234)
+++ src/xslt/simple-elements.xslt	(working copy)
@@ -86,7 +86,7 @@
 
 			
 			
-
+
 	
 
 
___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Impossible to compile from sources

2007-11-25 Thread Daniel Fischer
On Sun, 25 Nov 2007 23:10:26 +0100
Ralf Fuest <[EMAIL PROTECTED]> wrote:

> So I will be able to build all 3 versions when my mac
> arrives.

So would you step up as maintainer? That'd rock.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Accessing frames in AS3

2007-11-14 Thread Daniel Fischer
On Wed, 14 Nov 2007 15:11:15 -0800
"Joel Poloney" <[EMAIL PROTECTED]> wrote:

> It would be nice if I
> didn't have to compile twice.

Joel,

it's sometimes a tad dangerous, but you can insert lowlevel tags into
the simple dialect. So just add the  at the start of
your , and this *should* work.

Thanks for your persistence on this, btw.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


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

2007-10-13 Thread Daniel Fischer
On Fri, 12 Oct 2007 14:49:22 +0200
Ralf Fuest <[EMAIL PROTECTED]> wrote:

> Version 0.2.12 is the latest official release. But there are more
> current prereleases. You can find them here: http://swfmill.org/pre/
> (or http://pereluk.de/swfmill/swfmill-0.2.12.5-win32.zip if you use
> windows)

Ralf: we'll need to get some release strategy going. Any suggestion?

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] Fw: swfmill 0.2.12 - Softpedia 100% CLEAN Award

2007-08-12 Thread Daniel Fischer


Begin forwarded message:

Date: Sat, 11 Aug 2007 22:01:16 +0300 (EEST)
From: Softpedia Editorial Team <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: swfmill 0.2.12 - Softpedia 100% CLEAN Award


Hello,

Your product "swfmill 0.2.12" has been tested by the Softpedia labs and
found to be completely clean of adware/spyware components.

We are impressed with the quality of your product and encourage you to
keep this high standards in the future.

To assure our visitors that "swfmill 0.2.12" is clean, we have granted
it with the "100% CLEAN" Softpedia award. Moreover, to let your users
know about this certification, you may display this award on your
website, on software boxes or inside your product.

More information about your product's certification and the award is
available on this page:
http://www.softpedia.com/progClean/swfmill-Clean-81648.html 

Your product review page is located at:
http://www.softpedia.com/get/Internet/WEB-Design/Flash/swfmill.shtml

Please feel free to link to us using the URL above. 
If you choose to link to the award page for your product, you may use
the award graphic or a text link such as: "100% CLEAN award granted by
Softpedia"

Don't hesitate to contact us for more information.

Sincerely,
The Softpedia Team


---
Softpedia is a library of over 70,000 free and free-to-try software 
programs for Windows and Unix/Linux, games, Mac software, Windows
drivers, mobile devices and IT-related articles.
We review and categorize these products in order to allow the
visitor/user to find the exact product they and their system needs. 
We strive to deliver only the best products to the visitor/user 
together with self-made evaluation and review notes. 
---
Softpedia - the encyclopedia of free software downloads
http://www.softpedia.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] FW: Resize and Scale SWF file

2007-07-09 Thread Daniel Fischer
On Mon, 9 Jul 2007 18:53:32 +0300
"Magen-Shaked Tamar" <[EMAIL PROTECTED]> wrote:

> But when I'm changing the scaleX and/or scaleY in the Transform
> element, The all size is getting bigger, and my purpose is to stay
> with a fixed size and just zoom into specific object in the frame.

of course, yes. So the object in question doesnt fill the SWF "stage"
area? You'd need some kind of clippath... hmm.. unsure if thats
possible with swfmill (easily). :/

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] FW: Resize and Scale SWF file

2007-07-09 Thread Daniel Fischer
On Mon, 9 Jul 2007 18:17:29 +0300
"Magen-Shaked Tamar" <[EMAIL PROTECTED]> wrote:

> I would like to rephrase my question:
> 
> Is it possible to "zoom in" into a given SWF file (by changing its
> appropriate XML),
> 
> without changing its original size on the display?

Hey,

the easiest way is probably to import the SWF into a new one with  and then place it with a specific transformation..

regards,
-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Dependancy problem during ./config

2007-06-26 Thread Daniel Fischer
izak marais <[EMAIL PROTECTED]>, on Tue, 26 Jun 2007 05:14:13 -0700 (PDT):
>  Should I edit the environment variable in the config file to use libttf2? 
> How would that look?

i've not heard of libttf(2) yet. try installing "freetype2-dev" first.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Dependancy problem during ./config

2007-06-26 Thread Daniel Fischer
Hey Izak,

izak marais <[EMAIL PROTECTED]>, on Tue, 26 Jun 2007 02:57:45 -0700 (PDT):
> I checked the package manager for libxml, but there is no package named 
> 'libxml-2.0' only 'libxml2' which is obviously (?) the same but with the 
> wrong name? libxml2 was already installed. 

on debian-derived distros, you'll need -dev packages to build dependant 
projects. try to apt-get libxml2-dev or sth similar..

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Help grokking SWFML basic (newbie)

2007-06-25 Thread Daniel Fischer
Emmet,

sorry for the long delay. Maybe i can still shed some light:

Emmet Caulfield <[EMAIL PROTECTED]>, on Wed, 20 Jun 2007 23:25:12 -0400:

> Now, the way it appears (to me) to work is this:
> 
>   * There is one cumulative invisible stack from which things are
> added and removed for each slide. From reading online stuff, it
> appears to be called the "stage".

right.

>   * The Define{Shape3,Text,Bits{JPEG3,Lossless2}} elements are
> declarations that define individual components of each slide, such
> as a run of text or a picture, and associate an objectID with it.

also correct.

>   * PlaceObject2 places an object, identified by objectID, on the
> stage.

again.

>   * RemoveObject2 removes an object, identified by objectID, from the
> stage (presumably placed there before the last )

also right. I've noticed some strange behaviours with RemoveObject2, but cannot 
currently recall what exactly...

>   * Each  element renders the current contents of the
> stage for viewing (opening the curtains, perhaps?)

still right.

> I surmised that I should be able to re-order the elements to put all
> the Define* elements at the beginning, then have only 
> and  elements between the s. I implemented
> a simple XSL-T to do this, generated the SWF, and it works as
> expected.
> 
> In any case, it appears that each slide is not an "addressable" object
> in its own right that can be shown or hidden (under ActionScript
> control?).

You're completely on the right track in understanding SWF :)

> Is there some way that I can put the blocks (currently between
> s) of  and  tags inside
> some other element to make them identifiable in whatever sense I need
> them to be to show/hide them via ActionScript?

Yes, you can wrap them in a new Sprite, i.e. create a new DefineSprite in which 
you place all the PlaceObject2's. You can then place (and use from script) this 
new sprite and regard it as "a slide".

> Alternatively, could I achieve the same thing, but eliminate the
>  tags and, instead, put in whatever sequence of
> s would constitute the background (not sure how I would
> identify them yet, but that's a different problem) after clearing the
> stage in some way? Is there a stage-clearing command that would help?

I think you could PlaceObject2 a new object at the same ID as, say, an older 
slide and it should get replaced. there is some "replace" attribute on 
PlaceObject2 which you might have to use.

> There is an . Is this going to bite me?

probably not :)

> Finally, am I barking up the wrong tree altogether?

nup, as far as i can see your guessing is correct. My knowledge of SWF is also 
mostly based on guessing, though.

hth,
-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Bounding boxes for glyphs bug?

2007-06-19 Thread Daniel Fischer
Ralf Fuest <[EMAIL PROTECTED]>, on Tue, 19 Jun 2007 16:57:36 +0200:
> I have svn access since yesterday. I've already fixed some things in
> svn and committed the gradient patch a few minutes ago.

and thanks very much in the name of all swfmill users for your work!
I'm sorry i can't spend more time on swfmill, but if capable people
like you take over, that's more than great!

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] readpng license incompatibility; swfmill distribution is back.

2007-04-30 Thread Daniel Fischer
Daniel Fischer <[EMAIL PROTECTED]>, on Mon, 30 Apr 2007 15:40:18 +0200:
> Until the situation has cleared up, i have stopped distribution of
> swfmill's source and binary archives. I have asked Greg for
> permission/relicensing of the code, to allow me to put the stuff back
> online.

So, Greg has turned out to be a nice guy, and gave permission right
away:

Greg Roelofs <[EMAIL PROTECTED]>, on Mon, 30 Apr 2007 09:01:24 -0700:
> I have no interest in being petty
> about this--and I've already been leaning toward copyleft licensing
> in my other projects over the last few years--so I've decided to go
> ahead and dual-license the pngbook code (readpng{,2}, writepng,
> rpng{,2}-{x,win}, wpng) under the GNU GPL v2 or later.  You may take
> this message as explicit permission insofar as it's likely to be a
> while before I actually get around to releasing a new version of the
> code--I'm working on XV right now and have pngcheck and a couple
> others queued up next.
and
> I'm fine with the current change applying to the old code, too;

Thanks to Greg for the png reading code that swfmill has ever been
using! And thanks to Miriam Ruiz for pointing it out (and working on a
debian pkg)!

swfmill.org is now back to normal, with all release binaries (and
source) back online.

Sorry for the interruption ;) I thought better be safe than sorry..

-dan


___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] readpng license incompatibility; swfmill distribution (temporarily) stopped.

2007-04-30 Thread Daniel Fischer

Dear List,

i have been made aware of a small license breach in swfmill's use of
Greg Roelof's "sample code" for using libpng to read PNG files. It was
published under a 3-clause BSD license requiring advertisement of the
author's copyright with all distribution, which is incompatible with
the GPL, swfmill's favoured license.

Until the situation has cleared up, i have stopped distribution of
swfmill's source and binary archives. I have asked Greg for
permission/relicensing of the code, to allow me to put the stuff back
online.

If i/we dont get permission, we'll have to rewrite the functionality.
It's not a major problem, but as usual i might be lacking the time for
it, and also i currently don't have access to my usual machine for
compilation on Windows and OSX, so it might take a while to get back to
the distribution standard you've gotten accustomed to.

Meanwhile, i hope for your understanding.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] www.swfmill.org offline

2007-04-30 Thread Daniel Fischer
[EMAIL PROTECTED], on Mon, 30 Apr 2007 13:09:55 +0200:
> Does anybody know, what happened to the swfmill-project? Did it move? 

nup, sorry, there was an (unidentified) problem with apache on the
server.

the site is back and alive.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Ticket #11

2007-04-11 Thread daniel fischer
Ralf Fuest <[EMAIL PROTECTED]> (on Wed, 11 Apr 2007 21:40:38 +0200):

  > i've fixed the problem described in ticket #11. The problem was that the
  > isSetup bit wasn't preserved during the conversion of empty TextRecords,
  > so every empty TextRecord is interpreted as the end of the records list.

wicked. applied, thanks!

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] prerelease 0.2.12.4

2007-04-11 Thread daniel fischer
"Tobias Hinz" <[EMAIL PROTECTED]> (on Wed, 11 Apr 2007 19:17:56 +0200):

  > So this means we have to wait a few more hours or days until the new release
  > is usable?

if you're using the binary release, you should be allright. the problem was 
related to freetype versions, it's fixed on svn.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] prerelease 0.2.12.4

2007-04-11 Thread daniel fischer
Ralf Fuest <[EMAIL PROTECTED]> (on Wed, 11 Apr 2007 01:50:53 +0200):

  > swft_import_ttf.cpp:52: error: invalid conversion from 'int
  > (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'

on svn trunk, i've re-added the "const"s and am casting the functions to 
(FT_Outline_*ToFunc)... works here, and i guess it should work for you too.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] prerelease 0.2.12.4

2007-04-11 Thread daniel fischer
Ralf Fuest <[EMAIL PROTECTED]> (on Wed, 11 Apr 2007 01:50:53 +0200):

  > swft_import_ttf.cpp:52: error: invalid conversion from 'int
  > (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'

on svn trunk, i've re-added the "const"s and am casting the functions to 
(FT_Outline_*ToFunc)... works here, and i guess it should work for you too.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] prerelease 0.2.12.4

2007-04-10 Thread daniel fischer
Ralf Fuest <[EMAIL PROTECTED]> (on Wed, 11 Apr 2007 01:50:53 +0200):

  > I just tried 0.2.12.4 and it fails to compile. You have removed the
  > const keywords in swft_import_ttf.cpp and now gcc 4.1.2 on ubuntu 7.04
  > complains that there is an invalid conversion in these lines. After
  > adding the consts it compiled again.

heh- i had the exact opposite-- that's why i removed the consts. Seems we have 
some conflicting freetype versions? I'm using 2.1.10 here, what's yours?

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Bitmap filter effects on buttons

2007-04-10 Thread daniel fischer
Ralf Fuest <[EMAIL PROTECTED]> (on Tue, 10 Apr 2007 22:31:27 +0200):

  > the current swfmill version doesn't support filters and blend modes for
  > buttons. I've written a patch to add support for this features.

great, thanks! it's in 0.2.12.4.

got any more of these up your sleeve?

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] prerelease 0.2.12.4

2007-04-10 Thread daniel fischer

Dear All,

a bunch of contributions from Ralf, Alex and Jey brings us a new
prerelease:
  http://swfmill.org/pre/swfmill-0.2.12.4.tar.gz
  http://swfmill.org/pre/swfmill-0.2.12.4-win32.zip

no OSX today - server is down.

differences of .4 to a plain 0.2.12:
correctly count frames for s (thanks to Alex Midgley)
scalex/scaley, skewx/skewy in simple's  (thanks to Jey)
ShiftedRadialGradient (fillstyle 0x13)
fix TTF import for some fonts (thanks to Ralf Fuest)
fix (one of many) segfaults in SVG import (Ralf)
Bitmap Filter effects on Buttons (Ralf again!)


i'm unsure how to proceed. the new features/fixes surely justify a .13 release. 
maybe i should drop the fourth number and prerelease idea altogether and just 
release and wait for reports if regressions occur? what do you guys think?

It'd still be nice of you to give this a spin on your present swfmill usage. If 
noone shouts "this breaks my stuff" or "add this other patch too", i'll prob'ly 
just shoot this as .13 in a few days.

So many thanks to the contributors, and sorry for sometimes being slow with 
applying/responding. I'm new to the maintainer business :)


-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Font import patch

2007-04-10 Thread daniel fischer
Ralf Fuest <[EMAIL PROTECTED]> (on Sun, 08 Apr 2007 14:30:25 +0200):

  > An comparison between the new and old code is available at:
  > http://pep-mp.de/swfmill/import_ttf.png
  > The patch: http://pep-mp.de/swfmill/import_ttf.patch
  > 
  > I also made another unrelated little patch, that fixed a segfault while
  > importing an SVG file: http://pep-mp.de/swfmill/css.patch


Great, thanks Ralf!

I'll apply this as soon as i get round to it. This week should happen...
(also other pending patches/fixes on this list-- sorry guys, i've got a lot 
around my head ATM, but you wont be forgotten!)

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Exporting binary? glyphs for sIFR3 (flash 8)

2007-03-07 Thread daniel fischer
Brice Burgess <[EMAIL PROTECTED]> (on Tue, 06 Mar 2007 11:10:34 -0500):

  > Has Adobe/Macromedia thrown yet another curve ball in there to keep Free 
  > Software and Industry Standard loving people in the same old 
  > condundrum?? Or, is there a possible way out of this?

Brice,

i dont think this is done to offend us ;) It shouldn't really be a problem, 
either. Flash8/9 movies work fine with DefineFont2 tags, i don't think sIFR3 
*requires* DefineFont3s. I am not sure what the difference is between the two 
(except that the latter is not understood by swfmill) - but i think it's 
minimal for normal usage.

I dont see why an app as simple as sIFR should require >7, either. Sticking 
with v7 would probably be gnash-compatible.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


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

2007-03-05 Thread daniel fischer
"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[.0[.0.0]]? it should've. 

if it indeed did, try adding the path (likely /usr/local) to LD_LIBRARY_PATH. 
if that works, there's still sth wrong with your setup. running "ldconfig" once 
(as root) might help, but i'm unsure.

greetings from (sunny :P ) barcelona.
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mix simple and lower level tags

2007-02-28 Thread daniel fischer
Benjamin Campin <[EMAIL PROTECTED]> (on Wed, 28 Feb 2007 15:34:02 -0500):

  > Dan, correct me if I am wrong,
  > 
  > This works if we use the 
  > 
  > swfmill simple foo.xml foo.swf
  > 
  > However it is not working with 
  > 
  > swfmill xml2swf foo.xml foo.swf


no correction here, you're exactly right. sorry, could've mentioned that.

all the "hard lifting" for import (ttf,png,jpg) is coded in c and triggered by 
swft: functions from the simple stylesheet. no grand automatisms when you use 
lowlevel...

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mix simple and lower level tags

2007-02-28 Thread daniel fischer
Benjamin Campin <[EMAIL PROTECTED]> (on Wed, 28 Feb 2007 13:10:29 -0500):

[boiled down quote:]
  > 
  >   
  >   

this works if you place the right object. With DefineEditText, you're defining 
id 2, but with PlaceObject2 you're placing #3 (which doesnt exist). 

It's maybe not quite obvious that PlaceObject2's objectID *references* an 
existing object while Define* -well- *define* them.

hth,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] alternative vector sources

2007-02-28 Thread daniel fischer
Christopher Brian Jack <[EMAIL PROTECTED]> (on Wed, 28 Feb 2007 09:13:29 -0800 
(PST)):

  > Am I catching that right?  Flash just imports everything to a bunch of
  > actionscript?  With the only difference being the stuff in DefineShape
  > supports multiple frames whereas runtime AS doesn't?

There is no script code in the star.xml at all, it's basic SWF tags. 
Actionscript is compiled to bytecode (to be found in DoAction2 tags, amongst 
others) by Flash (or MTASC, or haXe).

There's a lot you can't do from script (importing fonts comes to mind), and a 
lot you can't do without script (any program logic more complex than really 
simple buttons). That's why there's MTASC/haXe *and* swfmill :)

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] alternative vector sources

2007-02-28 Thread daniel fischer
Christopher Brian Jack <[EMAIL PROTECTED]> (on Wed, 28 Feb 2007 08:21:24 -0800 
(PST)):

  > >   > Yes.  So if I went to flash, drew a star, then run the above what 
would I
  > >   > be getting in the XML?
  > >
  > > Why not just try it? This is how i started understanding the SWF format.
  > 
  > I don't own flash. :(


fair enough, me neither-- i had my flatmate produce test swfs at the time :)

i've attached a simple star swf (boiled down from
http://swfmill.org/trac/browser/trunk/test , imported from svg :) for your 
review. The LineTos is what you're probably interested in. CurveTo works just 
the same but with x1,y1 (control point) and x2,y2 ("destination" point). Note 
that the flash player doesnt render cubic beziers natively (you need to 
approximate them with quadratic ones :().

obviously, you'd need to understand some basics of SWF too (DefineSprite, 
PlaceObject2) to analyze/produce more complex drawings. also, please note that 
the structure of these is not swfmill's domain- swfmill's "lowlevel dialect" 
just resembles the SWF structures as XML. all weirdness thanks to macromedia 
(or even futuresplash) :)

hope that helps.
-dan


-- 
http://0xDF.com/
http://iterative.org/


star.xml
Description: application/xml
___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] alternative vector sources

2007-02-28 Thread daniel fischer
Christopher Brian Jack <[EMAIL PROTECTED]> (on Wed, 28 Feb 2007 07:40:56 -0800 
(PST)):

  > Yes.  So if I went to flash, drew a star, then run the above what would I
  > be getting in the XML?

Why not just try it? This is how i started understanding the SWF format. 

You'll get a pretty ugly DefineShape2 structure, not very fun to work with, but 
surely possible.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mix simple and lower level tags

2007-02-28 Thread daniel fischer
Benjamin Campin <[EMAIL PROTECTED]> (on Mon, 26 Feb 2007 14:56:03 -0500):

  > I was not able to get the expected results, I am not able to mix the 2
  > formats. My font is not included in the result. Perhaps I missed something ?

can you send me a sample of this? maybe i can get it to work :)

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] alternative vector sources

2007-02-28 Thread daniel fischer
Christopher Brian Jack <[EMAIL PROTECTED]> (on Wed, 28 Feb 2007 03:55:03 -0800 
(PST)):

  > Okay since everyone seems religiously opposed to making bug-free SVG
  > importing in swfmill 

Brian, i really dont know how you get that idea. As said, i am *lacking the 
resources* to work on the SVG import. I surely would like to have it bug-free, 
too, even though it doesnt solve your problem at all..

Ian is right, even if swfmill could import SVG fine, you still couldn't access 
or manipulate the shape structures (except transformations on a high level). 
JSON is one option (see google). Your idea of using (generating?) a haxe class 
another. You could also parse SVG from actionscript, generate some haXe 
datastructure to store your shapes, or use haXe's -resource flag to embed the 
shapes in some format that you can parse..

  > While AS can use the drawing primitives to draw into movieClips there's
  > no way to change control points or make use of frames when done this way
  > (except to redraw the shape in the movieClip each time).

that is a flash "limitation" (or design decision), ie, something you'll have to 
live with.

  > What does a vecotr object drawn in flash proper come out as in smfmill's
  > XML output?

? i dont understand this question.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] trac login

2007-02-23 Thread daniel fischer
Quentin, Eric,

formerly, swfmill's trac didn't require a login at all, you could just specify 
a name/email at submission time. i closed this anonymous posting, because most 
unclosed trac instances i know are now under heavy spam fire.

as both of you are regular bug reporters, i took the liberty of setting up 
accounts for you. anyone else, just send me a private email or post the bug 
here and i "forward" it to trac.

-dan


Quentin <[EMAIL PROTECTED]> (on Thu, 22 Feb 2007 12:26:10 +0100):

  > Same issue here, I know I have an account but I can't log in...
  > My login might be my email address but the password I think I was using for
  > this Trac site doesn't seem to work!
  > 
  > Someone's got clues ?
  > 
  > On 9/30/06, Eric Priou <[EMAIL PROTECTED]> wrote:
  > >
  > > Hi Dan,
  > >
  > > Is there any mean to recover my user login/pass ?
  > > I've a ticket to post.
  > >
  > > I don't even remember how did I register.
  > >
  > > Thanks.
  > > ---
  > > Eric Priou
  > > (aka erixtekila)
  > > In progress tech blog : http://blog.v-i-a.net/
  > > Oregano XML Socket forum : http://forum.v-i-a.net/
  > >
  > >
  > > ___
  > > swfmill mailing list
  > > swfmill@osflash.org
  > > http://osflash.org/mailman/listinfo/swfmill_osflash.org
  > >



-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Bug with (oldschool) setProperty and x/y properties...

2007-02-23 Thread daniel fischer
Quentin <[EMAIL PROTECTED]> (on Thu, 22 Feb 2007 12:40:13 +0100):

  > I'm very happy with the 0.2.12 version but I've come across an issue today :
  > when using the outdated setProperty function combined with _x and
  > _yproperties (and
  > _xmouse and _ymouse), SwfMill seems to swap values... Which was not the case
  > with 0.2.11.20!

Hey Quentin,

thanks for the report. Writing of FLOATs (used in StackFloat in your case) was 
broken since [181] (0.2.11.23) - should be fixed in 0.2.12.2

  http://swfmill.org/pre/swfmill-0.2.12.2.tar.gz
  http://swfmill.org/pre/swfmill-0.2.12.2-win32.zip
  http://swfmill.org/pre/swfmill-0.2.12.2-macosx.tar.gz (still compiling)

please report if this works.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mix simple and lower level tags

2007-02-23 Thread daniel fischer
Hey Ben,

welcome to swfmill.

Benjamin Campin <[EMAIL PROTECTED]> (on Fri, 23 Feb 2007 10:42:45 -0500):
  > How to mix simple and lowerlevel xml tags to generate a swf using swfmill
  > xml2swf ?

DefineFont[2|3] cannot be used directly to import TTF. Your approach is 
basically right, but the current (0.2.12) release of swfmill doesnt translate 
IDs of lowlevel tags used within the simple dialect.

I've added this feature to svn and built a new prerelease, and while i
have not tested your example, i suspect it works fine now. Please try and 
report:
  http://swfmill.org/pre/swfmill-0.2.12.1.tar.gz
  http://swfmill.org/pre/swfmill-0.2.12.1-win32.zip
  http://swfmill.org/pre/swfmill-0.2.12.1-macosx.tar.gz

Anyway, though, if it stays with what you do there (DefineEditText and
PlaceObject2), you can do that with simple only...

hth,
-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Actionscript 3 / Flex compatibility

2007-02-18 Thread daniel fischer
<[EMAIL PROTECTED]> (on Fri, 16 Feb 2007 14:18:40 -):

  > After weeks of searching I was finally pointed in swfmill's direction by 
Alex from Kinesis author Kinetic Fusion a Rich Vector Markup Language (RVML) 
which is no longer publicly available.

interesting, hope i didn't invalidate their commercial case? Sorry Kinesis...


  > Is there an xml2swf option that will create an Actionscript 3 SWF?

In general, swfmill is version-agnostic, i.e., the  
attribute defines the SWF version. swfmill doesn't support AS3/AVM2 bytecodes 
per-se, but *mostly* the swf tags containing them should be transformed fine 
(as UnknownTags), especially if you dont need the "simple" dialect. There might 
be problems regarding Assets (images etc), and of course you'll not be able to 
modify the AS3 bytecode itself...

Maybe you could run some tests to see if swfmill is "finished enough" to do 
what you want. If not, i'm available for extension work given a little monetary 
incentive (although full AVM3 support is quite a bit of work).

-dan

 

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Object of type Rest?

2007-02-14 Thread daniel fischer

Hey Justin,

"justin girard" <[EMAIL PROTECTED]> (on Tue, 13 Feb 2007 20:12:50 -0500):

  > What is an "Object of type Rest"?

a "Rest" is just a dumpyard for anything that swfmill doesnt "really" 
understand- it captures the rest of the tag data (that's why it's called Rest), 
and stores it for future writing. It's there to make it possible to 
swf2xml2swf-roundrip tags that are otherwise unknown (or feature some complex 
internal structures that swfmill doesnt understand (yet)).

  > Also, is there any means - other than manual - of converting swf2xml
  > basic output to the simple XML dialect? This may sound stupid, I don't
  > know, but it seems that if you can use it as input, there might be a
  > way to do so.

No. "simple" is a one-way thing.

-dan



-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] JPEG with alpha mask

2007-02-04 Thread daniel fischer
Hey Måns,

Måns Sewerin <[EMAIL PROTECTED]> (on Fri, 2 Feb 2007 11:13:37 +0100):

  > transparent parts = 0 white
  > opaque parts = 255 white
  > semitransparent parts = 1-254 white depending on alpha value

it's just the other way round- black is transparent (opacity/alpha 0), while 
255 is opaque (full opacity/alpha).

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] MTASC and SWFMILL

2007-01-26 Thread daniel fischer
Christopher Brian Jack <[EMAIL PROTECTED]> (on Thu, 01 Jan 1998 17:45:18 -0800 
(PST)):

  > 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 could make SWF not an option if
  > there's no way to get more than one SVG into a SWF project.

Sorry Brian, that doesn't really make me consider spending any time on SVG 
import-- why should i care if you use SWF?

Furthermore, there is a workaround: convert the SVGs one-by-one to SWF first, 
then import those SWFs. You wont be able to manipulate any of those shapes from 
flash though, either way (although certainly you can /use/ them).

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] [ANN] swfmill 0.2.12 'it's a long, long road'

2007-01-25 Thread daniel fischer

Hello,

first, let me thank all those that responded to my call for help in
various ways. I had two small contractor jobs related to swfmill since
then that will keep me warm for a month or even two. Jon promised to
work on documentation. Many have tested the late prereleases. Warm
thanks to all of you who helped, or will help in the future!

Now, after a year (!) of pre-release madness, I finally present to you
(proudly): swfmill release 0.2.12. It accumulates all the incremental 
fixes and improvements collected over the last year, most notably:

 * Steve's support for the Flash8 tags (not completely complete, but a
huge step!)
 * JJ's basic MP3 import
 * Gerrit's improvements to SVG import
 * the new "swfmill library" mode to easily produce asset libraries
 * OSX universal binaries
 * fixes all over (thanks to the other contributers!)

I hope to get into the release groove somewhat more now, using
prereleases really only to send out improvements for testing. As soon
as testers report "OK", a release should follow.

Here are the download URLs:

Source code (should compile easily on most Linuxes)
  http://swfmill.org/releases/swfmill-0.2.12.tar.gz

Windows binary
  http://swfmill.org/releases/swfmill-0.2.12-win32.zip

OSX universal binary
  http://swfmill.org/releases/swfmill-0.2.12-macosx.tar.gz


Please, as usual, let me know about any regressions or bugs. There are
some still waiting for attention, but let us at least collect them...

Kind regards, and (still) a happy 2007 to all swfmill users!
-daniel

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] MTASC and SWFMILL

2007-01-24 Thread daniel fischer
"Mark Winterhalder" <[EMAIL PROTECTED]> (on Wed, 24 Jan 2007 21:21:44 +0100):

  > Are you using the latest prerelease (I think it's 0.2.11.25, see
  > )?
  > I believe this has been fixed. I ran into this before and noticed that
  > converting shapes into paths helped.

nup, this aint fixed. see http://swfmill.org/trac/ticket/17

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] MTASC and SWFMILL

2007-01-24 Thread daniel fischer
Hudson,

"Hudson Ansley" <[EMAIL PROTECTED]> (on Wed, 24 Jan 2007 10:45:56 -0500):

  > > nice to hear someone's using the class="..." hack. You should be aware 
however, that it's a hack :) Not an ugly one, but it works only for mtasc and 
only for flash7.
  > >
  > 
  > Hmmm, only flash 7? I've been using your "beautiful hack" with mtasc
  > and  flash 8 without any problems. Anything I should be watching out
  > for?

sorry, /tested/ only for mtasc and flash7. might work somewhere else, too. 
also, i meant to say "flash9". flash8 should be fine, as it uses the old 
bytecodes.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] MTASC and SWFMILL

2007-01-24 Thread daniel fischer
Jon Molesa <[EMAIL PROTECTED]> (on Wed, 24 Jan 2007 09:23:20 +):

  > Wasn't aware it was a "hack".  For a hack it works great.  I found it
  > when I discovered the natural-entry point and for a hack it's truly
  > useful.
 
depends on the definition of "hack", i guess :)

for me, there's ugly hacks and, well, "beautiful" hacks. the latter is of 
course desirable.

the class=".." hack does nothing else but to include some AS code to call 
"Object.registerClass()". you can look it up in 
src/xslt/simple-tools.xslt[1] (the 'register-class' template). seeing that this 
kind of hacking is where swfmill's xslt foundation really becomes a beauty, 
this probably classifies as a "beautiful hack".

it could be of interest if this is maybe also possible for haXe/flash9. 
someone'd need to hack in the AVM2 bytecodes to src/codegen/source.xml first, 
though ;)

-dan


[1] http://swfmill.org/trac/browser/trunk/src/xslt/simple-tools.xslt

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] MTASC and SWFMILL

2007-01-24 Thread daniel fischer

Hey Roxlu,

nice to hear someone's using the class="..." hack. You should be aware however, 
that it's a hack :) Not an ugly one, but it works only for mtasc and only for 
flash7.

Roxlu <[EMAIL PROTECTED]> (on Wed, 24 Jan 2007 14:08:52 +0100):

  > Though, why can't I use only a "import movieclipclassname;" in my mtasc 
  > main class? Strangely it only works when I specifically add the 
  > movieclip-class to my mtasc compile line. Though "imports" which are not 
  > movieclip-classes are compiled like they should be.

I'm not sure i understand your problem. What do you mean with '"imports" which 
are not movieclip-classes are compiled like they should be.'? How do you know 
they're compiled?

I dont know if mtasc maybe only compiles the classes when they are actually 
used, i.e., an import statement is not enough. That would maybe explain the 
behaviour you see. If my assumption is right, a different way to force 
inclusion of those classes could be to use those classes somehow from a 
function that is maybe never called. I doubt this is more elegant than 
including them on the command line, though.

hth,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Universal Binary

2007-01-19 Thread daniel fischer

Thanks Måns and JJ for the reports. You should note, however that .23 contains 
a bug concerning BitmapFill styles- lots of bitmaps will simply turn out red. 
I've just upped a .24 that fixes that (and adds DefineShape5 support).

I'm fine with the success reports so far, so the road to 0.2.12 is free now. I 
just need some time to compile the release notes etc... so it'll come real soon 
now (likely next week).

reg'z
-dan


Måns Sewerin <[EMAIL PROTECTED]> (on Tue, 16 Jan 2007 00:53:37 +0100):

  > Hi!
  > 
  > Thanks for the fast build, working great. Did import some 2000 jpegs  
  > with png masks,
  > linked some shared libraries, created some mcs, all look like they  
  > should do :)
  > Nice to see you still are on top of things, I love this product!
  > 
  > /Måns
  > 
  > On 16 jan 2007, at 00.11, daniel fischer wrote:
  > 
  > > Hi Måns,
  > >
  > > thanks for the praise :)
  > >
  > > Måns Sewerin <[EMAIL PROTECTED]> (on Thu, 11 Jan 2007 13:56:11  
  > > +0100):
  > >
  > >> I recently got a new mac with intel processor and was wondering if
  > >> there is a build of the newest swfmill
  > >> prerelease that is both for the Intel and the PPC?
  > >
  > > looks like i finally managed to convince the ppc mac i have access to
  > > to compile such a beast. could you try
  > > http://swfmill.org/pre/swfmill-0.2.11.23-macosx.tar.gz and report  
  > > if that works on your machines?
  > >
  > > -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



-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Flash Lite 1.1 output

2007-01-18 Thread daniel fischer
Martin Brynskov <[EMAIL PROTECTED]> (on Wed, 17 Jan 2007 11:03:04 +0100):

  > Is there an easy way to have swfmill create FL1.1 compliant output?  
  > E.g. an equivalent of setting version="8" in the xml.

>From what little i know from my phone, flash lite is basically version="4" and 
>compression="false". Of course, you cannot use >v4 tags, swfmill's simple 
>dialect doesn't handle that situation. Then again- my standard test worked 
>fine with only these modifications.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] swfmill - need help getting started.

2007-01-18 Thread daniel fischer
Hey Gernot,

next time, please post your questions to the mailing list. The Answers might be 
helpful for others, too.

"Gernot Frisch" <[EMAIL PROTECTED]> (on Tue, 16 Jan 2007 16:16:00 +0100 (MET)):

  > I'm currently writing a very easy to use program for small kids to create 
stop-motion movies. I saw your program and was totally
  > amazed how great this would fit into my project. I got a "Sprite" (Clip?) 
moving and with set framerate it works great.
  > 
  > However, I have  afew questions left, which I can't find any information to.
  > Is there any site describing the swfml format you are using?

there is a rough draft on http://www.swfmill.org/doc/reference.html . It might 
be a bit outdated, though.. 

  > So far my concerns:
  > - how to rotate a clip
  > - how to zoom a clip

Assuming you dont want to use script code, you can insert a  within 
a  tag. It might be best to construct a simple SWF in the Flash 
IDE and swf2xml it to learn. Zooming can be accomplished easily, but rotation 
will be a combination of scale and skew. Look up some 2d matrix maths to do it 
:)


  > - how to play a sound (mp3) at the beginning of a clip

I have no idea, sorry. Oh wait, there is , that might help. You'll 
have to take care of the objectIDs yourself, though. Or you could sponsor 
improvement in the area.


  > - is it possible to have smooth movement between 2 frames, or
should I raise frame rate? 

A frame is a frame (is a frame). The flash player doesnt put new frames 
inbetween the ones you define. You might want to fiddle with morph shapes.

hth,
-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Universal Binary

2007-01-15 Thread daniel fischer
Hi Måns,

thanks for the praise :)

Måns Sewerin <[EMAIL PROTECTED]> (on Thu, 11 Jan 2007 13:56:11 +0100):

  > I recently got a new mac with intel processor and was wondering if  
  > there is a build of the newest swfmill
  > prerelease that is both for the Intel and the PPC? 

looks like i finally managed to convince the ppc mac i have access to
to compile such a beast. could you try
http://swfmill.org/pre/swfmill-0.2.11.23-macosx.tar.gz and report if that works 
on your machines?

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] swfmill needs your help.

2007-01-12 Thread daniel fischer
"Hudson Ansley" <[EMAIL PROTECTED]> (on Fri, 12 Jan 2007 13:26:40 -0500):

  > I tested 0.2.11.22 on my problem cases (not the made up ones, but the
  > real ones) and had no problems (yay!).

Great, thanks Hudson. That makes four. Now, who's going to contribute the final 
success report? If possible, someone who made a direct switch from 0.2.11[.0] 
to .22.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] swfmill needs your help.

2007-01-12 Thread daniel fischer
Hey Jon,

good to hear you're still in. Basically, what kind of documentation you'd want 
to write is of course up to you- anything helps. What seems most important to 
me, though, is geting a comprehensive reference to the swfml-simple 
functionality, with examples. Very much like Mark's guide or the osflash page 
(but complete). The OSFlash page also misses some basic introduction into 
swfmill's function as a XSLT processor, the difference between lowlevel and 
simple dialects, etc..

  > My offer still stands for documentation.  I need someone to first tell
  > me what type of documentation I'm drafting as I'm incapable of deciding.

As for the "hacks", that would of course be interesting too, but to me they 
have a much lower priority-- as anyone capable of creating a swfmill-XSLT-based 
hack will also have the competence to dig into it's function from what little 
info there is...


Thanks also to Marc and Brian for the heads-up and success report. I've 
received another "0.2.11.22 works ok on my ~350 SWFs" off-list, so that makes 
three-- two more success reports to go before i'm willing to release (Note that 
if swfmill receives more fixes, we'll have to test again-- so be quick).

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] swfmill needs your help.

2007-01-09 Thread daniel fischer

Dear swfmill-Community,

as you all know, swfmill hasn't seen a release in all of 2006. That is a very 
bad thing, for two major reasons:
  * People that dont track the prereleases (probably the majority of users) 
don't profit from all the enhancements and fixes.
  * People start thinking swfmill is dead- while it's just stabilizing.

I'd say the causes for this are also two:

  * swfmill is somewhere near feature-complete: it actually does what it was 
designed to (mainly importing assets), it does so ok, and there's little reason 
to change it. a few corner cases break swfmill and surely there are more bugs 
to be found, Adobe will come up with new versions and tags all the time (the 
new vm bytecodes are still unsupported), SVG import could suck less, etc. pp., 
but (as i think most people on this list can confirm) for most of it's 
"traditional" use cases it should work just fine.

  * my personal involvement has dropped considerably. please allow me one 
paragraph of lamenting: i've spent somewhere near 1k unpaid hours on swfmill. 
around a year ago i've tried earning some money with swfmill- one company 
offered to pay me 500E/month for a while to continue the (at that time, pretty 
fast) pace of swfmill development (and feature their logo). sadly, the guy that 
initiated the idea (and lobbied his company) left the corp before the paperwork 
was done, so it never happened. i've received two "donations" coupled to 
specific support/development questions, 100EUR and 100USD respectively, and one 
"real" (uncoupled) donation weighting 10EUR. I live cheap for german standards, 
but need (that is, for food and shelter) about double that amount a month. The 
two bigger donations took about a week of focus each. The idea was to pay some 
of the swfmill development time by cashing in on the increased "image". Do the 
maths.
  Now stop the lamenting! I found well-paid contract work early last year that 
still pays my life, so i really cannot complain. It wasnt swfmill-(or even 
flash-)related at all, and of course the code now belongs to the customer, and 
it's hopeless to lobby him into opensourcing it in any way. But after, i could 
focus away from the money onto other projects. As swfmill is "done" (see 
above), now there is (as many of you likely know) xinf.
  So. I learned a lesson: Dont do open-source for the money.

The other lesson i learned with swfmill, though, is: open-source might just 
work. Many of you have contributed, in some way or the other, even if only by 
generating testcases for bugs. Steve's involvement shows that it's possible for 
an outsider to gain a deep-enough understanding of swfmill to be able to extend 
it to a new flash version (and fix other stuff). So swfmill surely got a lot 
better by being open. Of course, i also shouldn't neglect that probably nobody 
would know about swfmill today if it wasn't free (at least as in beer).

So much for the past, now let's think about swfmill's future. Which is in 
*your* hands, as my involvement will rather continue to decline than increase. 
Now, it's probably not yet time to look for a new maintainer, but i do need 
some help:

 * test the latest prerelease (0.2.11.22), and *report if it works*. As the 
useOutlines issue showed, my fear of introducing regressions is not completely 
psychological. I want to see at least about 5 reports of "i use swfmill in 
this-or-that-context, and 0.2.11.22 works flawless" before finally going 
0.2.12. If you want to help more, start organizing the construction of an 
extended set of simple test cases for automatic regression tests.
 * swfmill needs documentation. there is a lot floating around, but it needs a 
loving hand of collecting and organizing it into something like a manual. 
Please, someone, step forward and take on this issue. It could be one weekend 
of work, but would make an incredible difference and you could be certain of 
the thanks of many a newbie.
 * (obviously, if you can fix/contribute anything in the code---)

when and if swfmill gets a release and some better docs, it is back on the road 
to being a stable tool. is that in your interest?

if you need help helping swfmill, let me know. 

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Bug in swfmill's svg import

2007-01-09 Thread daniel fischer
daniel fischer <[EMAIL PROTECTED]> (on Tue, 9 Jan 2007 16:54:24 +0100):

  > "Balázs Andorkó" <[EMAIL PROTECTED]> (on Fri, 3 Nov 2006 11:25:54 +0100):
  > 
  >   > I used the swf2xml function on the generated swf 
(bugExamleDecompiled.xml)
  >   > and i found that swfmill assigned the objectID="2" twice
  > 
  > swfmill's svg import is full of bugs. if you can fix any, please share the 
results.

Sorry Balázs, i could've been more helpful here. Reading through your mail 
again, it became clear to me that swfmill's svg import simply doesn't support 
importing multiple SVGs. I've added a ticket as 
http://swfmill.org/trac/ticket/17 .

A workaround might be to "convert" these SVGs to SWFs first (with single 
swfmill wrappers), then import them.

Sorry again, i'm sure it's frustrating to only get a "please fix it yourself" 
after 2 months of nothing. I have spent a lot of free time on swfmill, and i'm 
not willing to do so at the moment. There's only these irregular short rounds 
of maintenance...

thx for your understanding,
-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] prerelease 0.2.11.22

2007-01-09 Thread daniel fischer
daniel fischer <[EMAIL PROTECTED]> (on Tue, 9 Jan 2007 16:48:59 +0100):

  >  * fixes font import (broken since a while- nobody noticed though :)

sorry, nobody except eric and mark that is :) thanks for reporting, guys.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Bug in swfmill's svg import

2007-01-09 Thread daniel fischer
"Balázs Andorkó" <[EMAIL PROTECTED]> (on Fri, 3 Nov 2006 11:25:54 +0100):

  > I used the swf2xml function on the generated swf (bugExamleDecompiled.xml)
  > and i found that swfmill assigned the objectID="2" twice

swfmill's svg import is full of bugs. if you can fix any, please share the 
results.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] duplicating chars of TrueType font glyphs makes the output swf file big

2007-01-09 Thread daniel fischer
[EMAIL PROTECTED] (on Wed, 27 Dec 2006 17:54:35 +0900):

  > Why not the swfmill preprocess the glyphs' string to remove
  > character-duplications and make it contain unique characters?

That is an okay idea. Would you contribute a patch?

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Encryption questions...

2007-01-09 Thread daniel fischer
Quentin <[EMAIL PROTECTED]> (on Mon, 8 Jan 2007 17:29:14 +0100):

  > Is it hard for those who develop SwfMill to add a -encrypt option that would
  > act just like Amateya Encrypt (http://www.amayeta.com/software/swfencrypt/)?

AFAIK, there is no such thing as "proper" swf encryption. All tools that claim 
to encrypt swf seem to be extended obfuscators. As this clearly contradicts my 
ideology of keeping things hackable, i surely wont be the one to implement 
anything like that- although i neither would opt against including something in 
swfmill should someone contribute a patch.

regards,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] prerelease 0.2.11.22

2007-01-09 Thread daniel fischer

hey all,

i'm just uploading swfmill 0.2.11.22.

 * fixes font import (broken since a while- nobody noticed though :)
 * adds TiledBitmap2 fill style (0x42)
 * adds fix for some fonts, courtesy of Kazuaki MATSUHASHI (thanks!)
 * fixes cacheAsBitmap in PlaceObject3

find the prerelease at:
http://swfmill.org/pre/swfmill-0.2.11.22.tar.gz
http://swfmill.org/pre/swfmill-0.2.11.22-win32.zip
http://swfmill.org/pre/swfmill-0.2.11.22-macosx.tar.gz (still uploading).

a proper fix for Hudson's other problem (with ColorTransform) is still pending- 
i don't know how to proceed here as the specs are clearly not working with the 
sample files (see the 0.2.11.21 thread).

regards,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Call for Bugs :)

2007-01-09 Thread daniel fischer
[EMAIL PROTECTED] (on Mon, 18 Dec 2006 06:45:38 -0800 (PST)):

  > Here's a 1kb swf that reproduces:
  > http://www.andrewlucking.com/temp/reduced.swf

Great, Andrew, thanks. Much easier to fix this way.

Turns out Alexis' swf reference was wrong at the time when i added the 
BitmapFills (now it is correct). Flash 7 added two bitmap fills (0x42 and 0x43) 
which are the same as 0x40 and 0x41 (TiledBitmap and ClippedBitmap), but with 
"hard edges" as opposed to "smoothed edges".

Next prerelease includes the fix, thanks again.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] dead links on relevant links of swfmill in osflash.org

2007-01-09 Thread daniel fischer

Merlin,

thanks for reporting those. OSFlash is a wiki though, you can simply register 
and fix them yourself. Would you, please?

-dan
 

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Call for Bugs :)

2007-01-09 Thread daniel fischer
Eric Priou <[EMAIL PROTECTED]> (on Sat, 6 Jan 2007 02:46:20 +0100):

  > unregistered variable useOutlines
  > xmlXPathCompiledEval: evaluation failed

indeed. that was broken since revision 171. next prerel should fix it again.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Call for Bugs :)

2007-01-09 Thread daniel fischer
[EMAIL PROTECTED] (on Tue, 9 Jan 2007 09:51:41 +0900):

  >   "reorder point array for glyphs starting with a control point"
  >   http://swfmill.org/trac/ticket/13

Christian, Kazuaki,

i've finally applied your (Kazuaki's) patch, will be in the next prerel (soon). 
Christian, please check if that fixes your problem.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] prerelease 0.2.11.21

2007-01-02 Thread daniel fischer
"Hudson Ansley" <[EMAIL PROTECTED]> (on Tue, 2 Jan 2007 11:35:12 -0500):

  > I've posted two example SWFs with issues in a zip file at:
  > http://hlamedia.com/swfmillPlaceObjectError2.zip

Thanks Hudson, the files are perfectly small and crashing.

I think i found the problem with toimport.swf, seems we'll have to parse 
another byte if cacheAsBitmap is used (does it have different modes?). But 
before i prerelease this, i'd like to find out more about the other problem,

which is caused by the ColorTransform filter in your toimport_filter.swf. I can 
parse the swf fine if i reduce the expected size of the color matrix from 20 to 
18. But ColorMatrices should have 20 values, no?

How did you generate that swf? with flash? how many values can you set there?

also, it might be good to do tests for the other filters. Convolution uses a 
matrix of dynamic size... Steve, have you tested these at the time?

and even further on, swfmill and the osflash community at large could profit 
from a set of well-crafted test cases that cover most of what the flash player 
(or players, including gnash et al and earlier versions) do-- if possible in a 
clearly visible way so pass/fail could be detected automatically by comparing 
screenshots...

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] prerelease 0.2.11.21

2007-01-02 Thread daniel fischer

hey list,

sorry for the delay; Steve's fix for #16 is in prerelease 0.2.11.21,
see 
http://swfmill.org/trac/browser/trunk/NEWS for a changelog.

2007 will see a release for sure and probly a haxe port :)

all the best to yous all.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Call for Bugs :)

2006-12-15 Thread daniel fischer
[EMAIL PROTECTED] (on Thu, 14 Dec 2006 16:11:08 -0800 (PST)):

  > Is the problem I ran into here a bug?
  > http://osflash.org/pipermail/swfmill_osflash.org/2006-October/000983.html

likely yes. can you make the SWF smaller somehow? 154k is pretty much to wade 
thru. if not, i'll try my luck with that.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] swfmill Digest, Vol 19, Issue 5

2006-12-15 Thread daniel fischer
"Hudson Ansley" <[EMAIL PROTECTED]> (on Fri, 15 Dec 2006 14:58:08 -0500):

  > [exec] WARNING: end of tag PlaceObject3 is @11208, should be @11207

that is a pretty generic error (just like "unknown fill style") that gets 
triggered often when some parsing goes wrong. yes, this is usually a bug in 
swfmill.

if possible, boil down SWFs that trigger that to be as small as possible, and 
post them somewhere.

thx,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] Call for Bugs :)

2006-12-11 Thread daniel fischer

Hey list,

are there any other known problems except the ones noted on
  http://swfmill.org/trac/report/1 ?

It's hard to keep track of issues on the mailing list, so please poke me when i 
forget about something. Putting it into trac tickets helps me find my focus for 
the next fixing session :)

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Swfmill simple very slow with some SWF...

2006-12-11 Thread daniel fischer
Quentin <[EMAIL PROTECTED]> (on Mon, 11 Dec 2006 17:22:37 +0100):

  > ps : If you need my "swfmill simple stamper" XML file, please let me know, I
  > could also share (via email) the SWFs that slow things down, but I'm not
  > allowed to upload it to the Trac site, sorry about that...

yea, sorry about that. i still havent found the time to add a anti-spam 
solution to swfmill's trac.

please send some samples to me privately.

the delay might well be non-fixable though, simple's swf import has do do some 
complex processing-- it might just be that the swf is formed in such a way that 
it takes its time. i'll try to have a look though.

thx,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] prerelease 0.2.11.20

2006-12-11 Thread daniel fischer

hey all,

i've integrated Gerrit Karius' latest (september, ahem) SVG patch, and
DefineButton2 support into a new prerelease:

  http://swfmill.org/pre/swfmill-0.2.11.20.tar.gz
  http://swfmill.org/pre/swfmill-0.2.11.20-win32.zip
  http://swfmill.org/pre/swfmill-0.2.11.20-macosx.tar.gz

it would be lovely if people who use 0.2.11 until now could give this a spin 
and report any problems. so many changes have gone into 0.2.11.x that i'm a bit 
unsure it's still backward-compatible enough.

Please give some feedback on this, as we should really do a 0.2.12 for xmas - 
people might start to think swfmill is dead, while it's just stable :)

regards,
-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] DefineButton SWF tag is not supported ?

2006-12-11 Thread daniel fischer
"Andriy Panas" <[EMAIL PROTECTED]> (on Mon, 11 Dec 2006 17:56:05 +0200):

  > Does swfmill supprt DefineButton SWF tag?

not until now. It's a bit hard to test, but your cut-n-paste finally gave me at 
least a single sample to do it.

It's supported in the upcoming 0.2.11.20 prerelease (see next mail). Thanks.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Some glyphs from MSGOTHIC.ttc reshaped "angular"

2006-12-11 Thread daniel fischer
kazuaki,

[EMAIL PROTECTED] (on Fri, 8 Dec 2006 16:39:31 +0900):

  > I hope this patch is considerd for the next revision of the swfmill
  > somethime.

definitely, thanks very much for diggin in. 

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Installing Swfmill on Fedora Core 2 - Configure Error

2006-11-29 Thread daniel fischer
[EMAIL PROTECTED] (on Wed, 29 Nov 2006 00:26:43 -0800 (PST)):

  > Can someone please explain how I can alter the configure script to find 
this file?

did you install freetype with a fedora-core-endorsed method?

you can simply add /usr/local/lib/pkgconfig to your PKG_CONFIG_PATH, as the 
error message suggests:

try:
  PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig ./configure

hth,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] jpeg import error

2006-11-02 Thread daniel fischer
"Mark Winterhalder" <[EMAIL PROTECTED]> (on Thu, 2 Nov 2006 18:49:36 +0100):

  > Maybe swfmill has problems with progressive jpegs?

swfmill doesnt know anything about jpeg but extract the width and height (and 
maybe strip some header). the bulk of a jpg images is simply copied 1:1 into 
the swf.

Mark just told me (in RL) that fp7 doesnt handle progressive jpegs- so maybe 
it's the problem after all.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] FileReference + swfmill

2006-10-25 Thread daniel fischer
Helko Lehmann <[EMAIL PROTECTED]> (on Wed, 25 Oct 2006 09:24:43 +0200):

  > I should have thought of that before ;-)

alright, nice. thank's for letting us know. (always good to have a solution in 
the list archive if someone stumbels over the same thing).

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] eps import

2006-10-25 Thread daniel fischer
Helko Lehmann <[EMAIL PROTECTED]> (on Wed, 25 Oct 2006 11:05:49 +0200):

  > it seems that I cannot use them directly as assets in 
  > the input xml for swfmill. Is this correct? Is there another way to do so, 
if the target swf is Flash 8? It would be also a workaround for me to get vector
  > graphics in the swf (without using the not yet perfect svg support).

well, an eps import would be even less perfect for the time being. swfmill 
doesnt read eps. maybe there's an eps2swf tool somewhere so you could go via 
swf...

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] svg conversion to flash

2006-10-23 Thread daniel fischer
Martin Ficzel <[EMAIL PROTECTED]> (on Thu, 19 Oct 2006 12:41:23 +0200):

Martin, 

i had a closer look and there are some issues (too many to be fixed all too 
quickly). your assumptions are quite correct, if you can fix some things please 
do :)

while i don't have the time ATM, i added a ticket so i dont forget (or a bored 
developer comes around :) - http://swfmill.org/trac/ticket/12


  > is there a documtentation howto build swfmill on windows/eclipse (wich
  > compilers / tools etc. are necessary) i would like to play around a bit

wheep, no. swfmill builds with autoconf, plus a manual step (i'm afraid). on 
windows, you might try to use either mingw or cygwin with autotools and gcc, or 
try to get it into eclipse (likely by digging into ant-- if you go for that 
task, i can detail you the neccessary build steps).

sorry i have no better news for now.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] FileReference + swfmill

2006-10-23 Thread daniel fischer
Helko Lehmann <[EMAIL PROTECTED]> (on Mon, 23 Oct 2006 21:22:42 +0200):

  > I've just started using swfmill. I created an swf file that opens a 
FileReference dialog with ActionScript and mtasc and it works fine. As soon as 
I run it through swfmill
  > however all calls for opening a FileReference dialog fail (results in 
nothing happening), the rest seems to be ok though.
  > Anyone an idea what the problem could be?

no idea, sorry. is the FileReference dialog some mx component? what exactly do 
you mean by "run it through swfmill", swf2xml then xml2swf?

you could also post me a simplified test case to have a look.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] DefineBitsJPEG3 conversion with swfmill

2006-10-23 Thread daniel fischer
dormando <[EMAIL PROTECTED]> (on Mon, 23 Oct 2006 13:14:02 -0700):

  > I can pull out the alpha mask and compress the original image as 
  > a jpeg, but can't convince swfmill to do the final packaging. Anyone 
  > afford to give me some hints and/or an example XML doc? :(

sounds like a nice hack :)

have a look at the swft_import_jpega function in swft/swft_import_jpeg.cpp. it 
produces a DefineJPEG3 (see also xslt/simple-import.xslt line 107 and 351+) 
from a .jpg source and 8-bit .png mask. you could either use that directly from 
the simple dialect (), or even patch 
it to (be able to) get the data from some existing xml node if you want to do 
the whole transformation from xslt.

hth, ask more if that wasnt clear.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] svg conversion to flash

2006-10-18 Thread daniel fischer
Martin Ficzel <[EMAIL PROTECTED]> (on Wed, 18 Oct 2006 14:53:10 +0200):

  > PS: shall i send you the svg files wich made swfmill crash

yes please, also the ones that dont crash but are invisible.

thx,
-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] svg conversion to flash

2006-10-18 Thread daniel fischer
hey martin,

Martin Ficzel <[EMAIL PROTECTED]> (on Wed, 18 Oct 2006 10:43:50 +0200):

  > on the long run it would be
  > really cool if swfmill could convert and embed svg content as a mc.

well- it can. the functionality is a bit experimental still, so you might have 
to do some adaptions to the xslt, but it works quite nice for most inkscape 
things and if your svg is not more than a bunch of s and s, you might 
be set. you can import svg like any other asset. please try and let us know how 
it goes, this sounds like a nice project.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] getURL lost during xml2swf

2006-10-10 Thread daniel fischer
"Eric Kolve" <[EMAIL PROTECTED]> (on Tue, 3 Oct 2006 15:43:28 -0700):

  > I was playing around with calling javascript from flash and wanted to
  > see if swfmill could support it, so I started with the animation on
  > this page: http://www.quirksmode.org/js/flash_call.html
  > (http://www.quirksmode.org/js/pix/movie1.swf).  I ran swfmill swf2xml
  > movie1.swf > movie1.xml then swfmill xml2swf movie1.xml > movie2.swf.
  > 
  > In the XML it shows the getURL call to javascript: fromFlash(), but
  > the resulting movie2.swf doesn't make the call.  Is this a bug,
  > feature or something that is on the list of todos?


Eric,

i tried this, got the .html and the swf, fed the swf thru swf2xml and back, and 
it still works as expected..

i'm using the latest prerelease (0.2.11.18). please try again.

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] prerelease 0.2.11.19 'meta-informations' (was: Re: 0.2.11-18 meta not work)

2006-09-27 Thread daniel fischer

hey,

i've managed to properly preserve namespaces in the metadata output, and 
correctly transform the title and description. also, you can define additional 
contents in the meta tag a la:


blah


disclaimer: for this example, you have to correctly define the dc: namespace ( 
a la xmlns:dc="http://purl.org/dc/elements/1.1/"; in some parent element), and 
dc:something is not a dublin-core-approved metadata name. also, the plural of 
information is information :)


the fix is available in 0.2.11.19 on http://swfmill.org/pre/ . There's no mac 
version (yet), as my compile server is down (again). i need a better place to 
compile for OSX.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] 0.2.11-18 meta not work

2006-09-27 Thread daniel fischer
Eric Priou <[EMAIL PROTECTED]> (on Wed, 27 Sep 2006 17:30:10 +0200):

  > Romain has contacted me and I've tested directly from the bin, with 
  > bash… unfortunatly, the bug is there.
  > This is not a matter of as2ant.

oi, sorry then. i see the CDATA takes care of as2ant not handling everything i 
(or steve) happen to add to swfml.

it's a real bug then, affirmed. the rdf namespace is not properly included in 
the text written to the swf. i'll look into it when time (namespace handling is 
a bit messed up since we did the meta stuff).

as for the FileAttributes problem- reviewing the simple xslt, it should be set 
automatically if version>=8, hasMetaData will be 1 (true) as soon as the 
 contains a  element, and useNetwork can be set with  or  respectively.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Bug with various letter spacings in static textfield.

2006-09-27 Thread daniel fischer
Quentin <[EMAIL PROTECTED]> (on Fri, 8 Sep 2006 17:25:32 +0200):

  > And I've noticed it's the same with various fonts...
  > Hope someone will find the bug, and smash it!


Quentin,

i've added a bug in the tracker ( http://www.swfmill.org/trac/ticket/11 ) until 
i get around to investigate.

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] 0.2.11-18 meta not work

2006-09-27 Thread daniel fischer
"Romain Ecarnot" <[EMAIL PROTECTED]> (on Fri, 22 Sep 2006 13:29:46 +0200):

  > I open result in ActionScriptViewer and..SWF meta is incorrect, this is
  > the error message :

Hey Romain,

your problem, AFAICS, lies with as2ant. swfml-s syntax within ant files has to 
be understood by as2ant and converted to a standalone file for swfmill to 
process, and obviously, as2ant doesnt understand the new tags (yet). As a 
workaround, use a standalone xml file for swfmill.

@Steve, i've closed bug submission for the time being in fear of trac-spam. bug 
reports have to be sent to me, i'll add them there. if circumstances require, i 
could appoint a "bug manager" to do that :)

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] Inkscape SVG

2006-09-27 Thread daniel fischer
"Gerrit Karius" <[EMAIL PROTECTED]> (on Wed, 20 Sep 2006 12:24:07 +):

  > my compromise for the xslt is now that it checks 
  > whether an original node actually has a transform or is simply placed at 
the 
  > origin. if it's placed at the origin, the wrapper can safely be omitted. 
  > that way, everyone should be happy. :)

hey gerrit, and thanks for the update. it'll linger around until i find the 
time to apply it.

regarding the problem though, do you agree that the proper way to fix it would 
be to apply the transformation to all of the contained elements (say, 
s and s? It might be a bit of an effort in xslt, but 
maybe with the help of another xpath function...?

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] pixel fonts wrong rendering

2006-09-27 Thread daniel fischer
<[EMAIL PROTECTED]> (on Wed, 20 Sep 2006 02:21:25 -0700):

  > I'm having the same issue someone faced in the past, I found the threads
  > googling. Basically, with swfmill, pixel fonts seem to be wrongly rendered 
(they
  > go offset orizzontaly) getting blurred. Based on the threads it seems no one
  > sorted this issue so far. And, considering that the last version of the 
software
  > is dated 2005, I'm a bit worried there isn't a solution yet.
  > 
  > Can anyone bring me some optimism with good news? :)

hey chr,

seeing that you worked around the problem already you're probably fine. i would 
nevertheless like to ask you if you used the latest prerelease (0.2.11.18) to 
do the import, or a plain 0.2.11. i am not quite sure, but something might have 
changed. if the problem persists, could you send me the font in question so i 
can try to fix? i really want pixelfonts to render nicely (there is a "problem" 
with swfmill and "non-antialiased" mode which wont be fixed, but proper 
pixelfonts should render fine. i had the problem you described with a font of a 
friend of mine, but i cannot remember if i fixed swfmill or he fixed the font :)

-dan


-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] prerelease 0.2.11.18 for OSX

2006-08-25 Thread daniel fischer

is finally here:
  http://swfmill.org/pre/swfmill-0.2.11.18-macosx.tar.gz

(PPC only still)

-dan

-- 
http://0xDF.com/
http://iterative.org/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


  1   2   3   >