Christopher Simon | 2 Apr 15:19 2008

Define Shape?

Hello,

due some researches about swfmill, i converted some swf files to swfml. 
Although i found this code snipped:

DefineShape objectID="2">
         <bounds>
           <Rectangle left="0" right="14800" top="0" bottom="8800"/>
         </bounds>
         <styles>
           <StyleList>
             <fillStyles>
               <ClippedBitmap2 objectID="1">
                 <matrix>
                   <Transform scaleX="20.00000000000000" 
scaleY="20.00000000000000" transX="0" transY="0"/>
                 </matrix>
               </ClippedBitmap2>
             </fillStyles>
             <lineStyles/>
           </StyleList>
         </styles>
         <shapes>
           <Shape>
             <edges>
               <ShapeSetup x="14800" y="8800" fillStyle1="1"/>
               <LineTo x="-14800" y="0"/>
               <LineTo x="0" y="-8800"/>
               <LineTo x="14800" y="0"/>
               <LineTo x="0" y="8800"/>
(Continue reading)

Walton, Lynn | 3 Apr 00:49 2008
Picon

Could someone give me a windows binary of 2.12.5 or higher?

Hi all, 

I'm looking to get rid of the problem "WARNING: end of tag DefineFont2
is  <at> 41083, should be  <at> 25178"  when a space char is used in the glyphs
attribute. 

Ralf said in this post back in July 2007 <g>  that it's fixed, but it
doesn't seem to be fixed in 2.12.4 which is the latest I see a prepared
windows build for.  

> Subject: Re: [swfmill] Problem with space char in font import
> 
> Hello David,
> this problem doesn't occur with the current SVN version. But it still
> happens in the latest prerelease, so you'll have to wait until the
next
> prerelease or build the SVN version yourself.
> 
> Ralf

Could anyone please (pretty please <g> ) give me a windows binary of
something with this fix?  It seemed also like there was talk about a new
release being made back in October when Ralf said:

I think we should try to release a 0.2.13 soon, so that people, that
don't read the mailing list or know the prereleases, don't think swfmill
is dead.

Is there a particular hold up that is preventing a binary relase? 

(Continue reading)

Rostislav Hristov | 5 Apr 00:49 2008
Picon

mp3 import bug

Hey guys,

I started using swfmill again after about 2 years pause. The project
requires about 200 movies and using swfmill is the best option
available.

All works great except a strange bug with the mp3 import.

The first prototype used 2 mp3s and after converting them from joint
stereo to normal stereo they work fine.
One of the 2 mp3s in the second prototype get imported somewhere from
the middle. It's the same like the others and it's 14 seconds long.

I was able to fix the situation using Flash, swf2xml and xml2swf to
change the binary representation of the sound asset and finally get a
good SWF.

If anyone is interested in looking into the issue I will prepare a
test case of 4 similar mp3s including a buggy one.

Best,
Rostislav

--

-- 
Asual - Open software that pushes the limits
http://www.asual.com/
Jarosław Pendowski | 5 Apr 15:25 2008

Movieclips with filters do not move

Hi there - swfmill is a great tool but today using it I realized that it 
has a serious bug. I've made an example of that bug.
I have a movie clip that has a filter (blur) and that movie clip is 
moving using motion tween.
When I import that movie clip and create a swf using swfmill the movie 
clip doesn't have a filter anymore and it doesn't move.
If I delete filter in flash - it's working fine. It also works if I 
apply filter to that movie clip using ActionsScript istead of Flash IDE.
SWF's that I use with swfmill is prepared by graphic and I don't want to 
force him to use ActionScript instead of Flash IDE functionality. And 
it's a lot harder to tween filters using AS too - he's not a programmer.

Here are some files that shows the problem:
* source file : http://shwsite.org/outside/swfmill/filtry.fla
* result of that file : http://shwsite.org/outside/swfmill/filtry.swf
* swfmill XML file : http://shwsite.org/outside/swfmill/swf.xml
* result of swfmill : http://shwsite.org/outside/swfmill/wynik.swf

I'm using the latest swfmill release for Windows (0.2.12.4-win32).
Eric Priou | 5 Apr 16:41 2008
Picon

Re: Movieclips with filters do not move

> I'm using the latest swfmill release for Windows (0.2.12.4-win32).
I don't think that this pre-release version handles swf8 filter  
correctly.
Try the SVN version, which seems to be more up-to-date.
But maybe a NEW pre-release version would be a must-have for all of  
us… :P

----
Eric Priou
aka  erixtekila
Articles : http://www.v-i-a.net/inprogress
Oregano : http://www.v-i-a.net/inprogress/doku.php/oregano
Oregano forum : http://www.v-i-a.net/forum/
Ralf Fuest | 5 Apr 16:58 2008
Picon
Picon

Re: Status of importing anti-aliased fonts?

Sorry for the late answer, but I was very busy last week.
The fonts imported by swfmill are anti-aliased. But the result,
especially for small font sizes, might be more blurry. This is related
to the DefineFont3 Tag you mentioned.
I'm not sure when a new release will be made, but I hope it happens
soon. Perhaps even this year ;).

You can download a current swfmill win32 build from:
http://pep-mp.de/swfmill/swfmill-0.2.12.6-win32.zip

Ralf

> I’ve tried to read as much as I can from the archives about font
> support in swfmill.   I’m unclear on the latest status of what is
> supported and not in the 0.2.12 release and any newer builds in SVN ?
> 
> I’m trying to find out if having a font appear anti-aliased when
> you’ve imported it using swfmill is supported and is this related to
> defineFont3 tag being supported? 
> 
>  
> 
> My usage scenario is the following: 
> 
>  
> 
> I start with a swf , say template.swf,  that does not embed assets or
> fonts but refers to them in actionscript assuming they’ll be put there
> when we compile it with swfmill. 
> 
(Continue reading)

Ralf Fuest | 5 Apr 17:00 2008
Picon
Picon

Re: mp3 import bug

Which version of swfmill did you use? There was a problem with truncated
mp3 files, but this was fixed some time ago.

Ralf

> Hey guys,
> 
> I started using swfmill again after about 2 years pause. The project
> requires about 200 movies and using swfmill is the best option
> available.
> 
> All works great except a strange bug with the mp3 import.
> 
> The first prototype used 2 mp3s and after converting them from joint
> stereo to normal stereo they work fine.
> One of the 2 mp3s in the second prototype get imported somewhere from
> the middle. It's the same like the others and it's 14 seconds long.
> 
> I was able to fix the situation using Flash, swf2xml and xml2swf to
> change the binary representation of the sound asset and finally get a
> good SWF.
> 
> If anyone is interested in looking into the issue I will prepare a
> test case of 4 similar mp3s including a buggy one.
> 
> 
> 
> Best,
> Rostislav
(Continue reading)

Ralf Fuest | 5 Apr 17:06 2008
Picon
Picon

Re: Define Shape?

The code defines a rectangular shape that is filled with a bitmap. You
can look at the Alexis' SWF Reference if you want more information about
the flash file format.

Ralf

> Hello,
> 
> due some researches about swfmill, i converted some swf files to swfml. 
> Although i found this code snipped:
> 
> DefineShape objectID="2">
>          <bounds>
>            <Rectangle left="0" right="14800" top="0" bottom="8800"/>
>          </bounds>
>          <styles>
>            <StyleList>
>              <fillStyles>
>                <ClippedBitmap2 objectID="1">
>                  <matrix>
>                    <Transform scaleX="20.00000000000000" 
> scaleY="20.00000000000000" transX="0" transY="0"/>
>                  </matrix>
>                </ClippedBitmap2>
>              </fillStyles>
>              <lineStyles/>
>            </StyleList>
>          </styles>
>          <shapes>
>            <Shape>
(Continue reading)

Ralf Fuest | 5 Apr 17:14 2008
Picon
Picon

Re: kerning - screen and print are different

I think you already mentioned this last october. Or is this a different
problem? I asked you for some test files back then, but perhaps you
didn't read my message and didn't answer to that request. Without some
test files I won't be able to fix the problem.

Ralf

> Hey guys,
> 
>  
> 
> we are using swfmill to generate font libraries for flash to use em on
> the screen.
> 
> Php calls swfmill and generates these libs.
> 
> works fine so far BUT if we use the same ttf files in pdf documents we
> get kerning differences.
> layout on the screen is different than the layout in the pdf files.
> 
> these pdf files get generated by some xml files which are used to
> generate our flash content on the screen.
> 
> strange thing is if we use the same ttf files and generate ttf libs
> directly in the flash ide(embedding them by hand) then it works just
> fine.
> 
> seems like swfmill is using another method to embed the fonts than
> flash ide is? 
> 
(Continue reading)

INADA Naoki | 7 Apr 13:20 2008

[patch] fix some bad manners.

This patch fixes following bugs. (not effect to behavior)
 1. SWF::File leaks memory when destructed.
 2. SWFReader::getData() doesn't return a value.

---
Sorry about my poor English.
INADA Naoki  <inada-n@...>
                    KLab Inc.
Index: src/SWFFile.h
===================================================================
--- src/SWFFile.h	(revision 242)
+++ src/SWFFile.h	(working copy)
 <at>  <at>  -8,6 +8,7  <at>  <at> 
 class File {
 	public:
 		File();
+		~File();
 		int load( FILE *fp, Context *ctx = NULL, unsigned int filesize=0 );
 		int save( FILE *fp, Context *ctx = NULL );
 		void dump();
Index: src/SWFFile.cpp
===================================================================
--- src/SWFFile.cpp	(revision 242)
+++ src/SWFFile.cpp	(working copy)
 <at>  <at>  -15,6 +15,10  <at>  <at> 
 	header = NULL;
 }

(Continue reading)


Gmane