Re: [swfmill] Problem with swfmill+mtasc+FP8 for fonts
Hi, Sorry for the late answer. But what is the swfmill version that you use ? Be sure to use the last prerelease located at http://swfmill.org/pre/swfmill-0.2.11.18.tar.gz http://swfmill.org/pre/swfmill-0.2.11.18-win32.zip The example posted on (my) blog works with swf8. I use it know. So it might be a swf tag issue. Send me an example of your font.swf. HTH --- 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
Re: [swfmill] [help needed] release script for OSX universal binaries
it would be great if someone with mac-compilation experience could give me a hand in trying to get the release procedure straight. I'd like to produce universal binaries (ppc/intel) for OSX. i have rather little idea how to approach this. Sorry, I don't have an intel based osx. So I won't be of any help. alternatively, send over an intel powerbook to have me care about it myself ;) I'll ask Santa Claus also ! --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] RecursionLimit tag 65
I'm not familiar with this recursion limit tag, but it sounds interesting. Could you explain how it is used? TIA It's a tad in the swf file format. It used to give flash a timeout when it is freezed by an inner process. Check this url : http://www.nowrap.de/flasm.html And seek for 'scriptLimits tag' string. HTH --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] error: input not UTF-8
I now uploaded the full code to http://dev.marcreichelt.de/emff/emff_0.5_dev_2006-08-22_0.tar.bz2 if you want to try it out. In the directory bin there is a useful bash script to create the file emff_standard.swf, run it like this: ./createskin.sh standard Don't run it in any other directory, since it *might* do something that you don't want it do (but usually, it should just exit in that case). Windows users may run the script too if they have Cygwin installed and MTASC and swfmill running in Cygwin. ;-) FYI, I had no problem to build it on osx with your shell script. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [ANN] prerelease 0.2.11.18
any enlightenment on how to _properly_ build with autoconf and static linking on osx will be very appreciated. Dan, I know nothing about thsi black magic, but swftools FAQ maybe of interest. Here is an excerpt : 6.) How do I compile swftools on Mac OS X? You need to get fink (http://fink.sourceforge.net), and install it. After this, you need to install all the required libs (jpeg, freetype, lame): fink install libjpeg libjpeg-shlibs freetype2 freetype2-shlibs lame lame-shlibs Then, you have to inform configure of where they are: LDFLAGS=-L/sw/lib CPPFLAGS=-I/sw/include -I/sw/include/lame ./configure make sudo make install HTH --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] RecursionLimit tag 65
Hi, Seems that swfmill don't add RecursionLimit tag. Number 65 in Alex's reference. Would it be hard to add it ? Furthermore, when I use swfmill swf2xml on a file that was created by swfmill, I get an undefined tag : 0x18. This tag is for prohibiting some swf to be read in the Flash IDE. Strange that it was inserted by swfmill but not andrestood ?! --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [ANN] prerelease 0.2.11.18
That's exactly what I got every time. To build swfmill dynamically linked to the relevant libraries, edit the Makefile.am files in the src and swft directories and comment out the lines at the top pertaining to Macs. This will at least enable you to get a working OS X build up and running until Dan can churn out the official builds. Apparently Dan added a Mac-centric build file to the repository in a recent revision, but I've not had time to check it out yet, Thanks, I'll check that. I wait for le grand Dan .for the secret. PS. Sorry if the above doesn't makes sense. Today is my last day at my old company before I join Yahoo! on Monday, and I'm more than a little inibriated. Woohoo! Err... I mean Yahoo! He he he! No kidding, Steve ?! I must say yahoo too :) Best luck --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [ANN] prerelease 0.2.11.18
the mac build script (release-mac.sh) was specific to the setup there, what i basically was doing is to cut-n-paste the failing link line (ld...) and removing, alternatively adding, the --all-static flag. dont ask me :/ strangely, nothing really changed on this within at least the last half year, so i can't figure why you suddenly have those problems when you didn't have them before... I didn't know that there were a release script to build the differents versions. Great. I've corrected the shell script a bit (no acces to scp on swfmill.org) I've managed to build the new release for osx. Dan, do you want it ? --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] [ANN] prerelease 0.2.11.18
the OSX version will be delayed a little (hopefully no longer than tonight), as my compile server is currently being redone. Dan, Is there something special to build osx binary ? I used : #./configure --program-suffix=-0.2.11.18 #sudo make I got those errors : ld: can't locate file for: -lcrt0.o make[3]: *** [swfmill] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 #sudo make install ld: can't locate file for: -lcrt0.o make[3]: *** [swfmill] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install] Error 2 make: *** [install-recursive] Error 1 Any idea ? Need other depencies ? Thanks. Don't reply the build is soon to come, I want to build mine ! :P --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] font issues
Le 5 juil. 06, à 13:30, [EMAIL PROTECTED] a écrit : I've been trying to follow the dynamic embedding tutorial here: http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- example-the-last-stand/ which basically uses swfmill to create a shared font library. Everything works fine but the font I want to use isn't aligned properly - text in textfields is moved up by up to 20 pixels. Do you compile for swf8 ? Could be the issue as the new tags for fonts are not yet included in swfmill. This is only a problem with swfmill and only a problem with some fonts. The font in question is Avenir from Linotype in TTF format. I'm guessing it's something to do with the font's metric information - is there a solution? Beware anyway that font are converted to vector in the swf. Be sure that the glyphs don't use big space around them. Give a look at it with fontforge (excellent software) You'll get probably a clue. So not sure it's a metric problem. I use font embedding with swf8 and don't (i think) get any position shift. Best luck. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] future of swfmill
Maybe I'm just missing something because I haven't tried any of the FP8 features yet, but what else would have to be supported? Font metrics for the new text renderrer engine 5flashtype or something). Frankly, it's been a long time since I ran into any limitations with swfmill, apart from the experimental SVG import. Same here. Best regards. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] SWFMill and SWF:s created in the FlashIDE
Is it possible to use movie clips/symbols created in Macromedia:s Flash 8 professional with swfmill? Sure you can. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Flash 8 ConvolutionFilter from IDE
I just realised that one filter I've yet to implement is the ConvolutionFilter. That's because I couldn't find a way to apply that filter to a MovieClip at author-time in the IDE. Does anyone have any idea on how to do this? Sorry no clue. Don't use it anymore ;) --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Filter and blending mode support
I'll go on now to work on swfmill-simple support for this. Any/all suggestions for simple syntax for applying filters and blending modes to the place/ element are welcome at this point. Wow, there are so much combinaisons with those filters params ! What about creating a filters tag. Those could be collections of filters mode like : place hasFilter=true blend=overlay id= filters dropdownshadow param=… blur param=… /filters /place HTH. PS : did you manage to look at DefineFont3 swftag ? Best --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] install trouble...
It's a pretty common problem with SWFs and Linux and came up on the osflash list a couple of times -- missing fonts. Some fonts are often assumed to be installed on every system (e.g. Arial) when they really aren't (not on Linux anyway). It's no problem on the Mac or Windows, that's why hardly anybody notices during tests. Erixtekila described how to prepare a font library SWF for runtime sharing here: http://www.v-i-a.net/blog/archives/44.html There is also an english version that use slightly the same technique : http://www.deja-vue.net/blog/2006/05/26/as2-sharedfonts-datagrid- example-the-last-stand/ HTH --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] DefineFont3 was : Filter and blending mode support
PS : did you manage to look at DefineFont3 swftag ? Not yet. Is that one of the bugs listed on the Trac site? If so, point me to it and I'll have a look when I get time. OK, done : http://mirror1.cvsdude.com/trac/osflash/swfmill/ticket/18 If you need more details… --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] install trouble...
(Just kidding, couldn't resist -- I didn't post the link to your original entry, but to the one after that where you link to both articles) Mark_ has always been so clever. ;) erixtekila !roulette Best. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] swfmill enhancement
Hi list, As a new feature, I suggest that swfmill could somehow register linkage id of the assets's imported in an actionscript object. That way it'll very easy to know at runtime the id included in each swfmilled swf. There is already Swfmill class to register Classes with MovieClip. Why not use that one to bind static values. IMO a very usefull feature. Tell me. Cheers. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Font glyphs range
Great Steve. But I admit this not really my idea, but KineticFusion's authir ones. Great tool I must admit. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] Fwd: DefineFonts3 and Font metrics
Any thought on this ? Début du message réexpédié : De: erixtekila [EMAIL PROTECTED] Date: 25 mai 2006 20:28:33 GMT+02:00 À: swfmill@osflash.org Objet: DefineFonts3 and Font metrics Hi, It seems that swf8 define new tags for font metrics. swfmill doesn't actually output that when version=8 is used. Here are the tags : UnknownTag id=0x4B UnknownTag id=0x49 There also seems to have another one for anti-aliasing (tag 74) Seems to be a bytecode equivalent to : TextRenderer.setAdvancedAntialiasingTable public static setAdvancedAntialiasingTable(fontName:String, fontStyle:String, colorType:String, advancedAntialiasingTable:Array) : Void Sets a custom continuous stroke modulation (CSM) lookup table for a font. This is an advanced method. Flash Player only includes advanced anti-aliasing settings for 10 basic fonts; and for these fonts, advanced anti-aliasing settings are only provided for the font sizes from 6 to 20. For these fonts, all sizes below 6 use the settings for 6; all sizes above 20 use the settings for 20. Other fonts map to the supplied font data. The setAdvancedAntialiasingTable() method lets you set custom anti-aliasing data for other fonts and font sizes, or override the default settings for the provided fonts. I've found on this reference good infos about that : http://wiki.jswiff.com/Wiki.jsp?page=Flash8Tags Is it a hard job to implement that ? Thanks. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Font glyphs range
This would be fantastic, it would really help me with adding better font embedding options to FlashDevelop (which calls swfmill). FYI, there is already a glyph attribute iin font tag that permit the embedding or certain font. Did you know ? Best. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] DefineFonts3 and Font metrics
Hi, It seems that swf8 define new tags for font metrics. swfmill doesn't actually output that when version=8 is used. Here are the tags : UnknownTag id=0x4B UnknownTag id=0x49 There also seems to have another one for anti-aliasing (tag 74) Seems to be a bytecode equivalent to : TextRenderer.setAdvancedAntialiasingTable public static setAdvancedAntialiasingTable(fontName:String, fontStyle:String, colorType:String, advancedAntialiasingTable:Array) : Void Sets a custom continuous stroke modulation (CSM) lookup table for a font. This is an advanced method. Flash Player only includes advanced anti-aliasing settings for 10 basic fonts; and for these fonts, advanced anti-aliasing settings are only provided for the font sizes from 6 to 20. For these fonts, all sizes below 6 use the settings for 6; all sizes above 20 use the settings for 20. Other fonts map to the supplied font data. The setAdvancedAntialiasingTable() method lets you set custom anti-aliasing data for other fonts and font sizes, or override the default settings for the provided fonts. I've found on this reference good infos about that : http://wiki.jswiff.com/Wiki.jsp?page=Flash8Tags Is it a hard job to implement that ? Thanks. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] Font glyphs range
Hi, Could it be possible as an addition to swfmill simple language to add a new attribute to font element ? I propose glyph-range, but it could be utf-range or something. The purpose could be to embed certain glyph based on their utf-8 code in the table. I've for example face dtrouble to embed special chars from eclipse's ant on osx (you'll say 'im dumb ;). If it was possible to specify a character range in the utf table, that could be interesting for some. Something like : font name=test glyph-range=[a-z-0-9] Tell me. Greetings. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] New tags documented
Hi Steve and Dan, I have tried to document the recents changes on the wiki page. Could you please verify if i did it right. I can't remember all exactly. I think it's possible to defione multiple meta tags. Do meta has to be a child of FileAttribute ? Thanks. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] New tags documented
Almost. Flash 8 filters and blending modes are not yet implemented, though they're nearly ready. Sorry, I meant import assets that will be used by actionscript with filters and blending. I can't remember all exactly. I think it's possible to defione multiple meta tags. Do meta has to be a child of FileAttribute ? You can only supply one meta/ tag, and it should be a child of movie. movie meta title= description= / movie What about FileAttribute ? FileAttributes hasMetaData=1|0 useNetwork=network| filesystem / Thanks. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] device fonts
Hi list, I didn't find the way to use device fonts outline instead of embedded. Any idea ? Here is something that works. libraryfont id=DejaVu import=/Library/Fonts/DejaVuSans-Bold.ttf glyphs=version.0123456789 / /library textfield id=version width=150 height=20 size=8 font=DejaVu text=version ${version_application}/ that don't : textfield id=version width=150 height=20 size=8 font=Arial text=version ${version_application}/ nor font=_sans I tried to look inside swfmill-ll, but no clue. It seems that when using no @font for the textfield node, it is not inserted in the output. Here is a basic swfmill-ll output of a swf generated with flash without embedding the font outlines : DefineFont2 objectID=1 isShiftJIS=0 isUnicode=0 isANSII=0 wideGlyphOffsets=0 italic=0 bold=0 language=1 name=_sans glyphs/ /DefineFont2 DefineEditText objectID=2 wordWrap=0 multiLine=0 password=0 readOnly=1 autoSize=0 hasLayout=1 notSelectable=0 hasBorder=0 isHTML=0 useOutlines=0 fontRef=1 fontHeight=280 align=0 leftMargin=0 rightMargin=0 indent=0 leading=40 variableName= initialText=salut I was not able to produce the same directly from simple language. If someone could help. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] call no more implemented ?
Hi, Seems that call object=net.via.utils.ApplicationLoader method=main/ is not implemented anymore. I've searched in th src xslt repositry, and found the way it was implemented : __Packages.swfmill.call When decompiling the resultinf swf, no mention of this. Can some confirm ? Thanks. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Actionscript use with swfmill
FYI, the first tool that was able to produce xml from swf was called KineticFusion. http://www.kinesissoftware.com/index.php The first version, which was free, was able to insert as1, drawings and bitmpas. I don't know if this tool is still available, ask his author, Alex Bradley. Written in java, it was the first time we could swf - xml, like swfmill do today. Now, KineticFusion is a mature tool that is able to compile as2 and swf8 new tags. It is commercial, but it worth the price. There is even a server component that is able to deploy applications serverside. Not like OpenLaszlo, more like ming, because one could produce the whole swf and there is no included components. I'd like to see swfmill able to place as2. I don't what time it could take to do. The major possibilities comes from the xslt and his extendible nature. So if one feel to enhance the simple xml vocabulary, it'd be pretty easy. Perhaps, Dan should tell us the basics of doing it by ourselves. Maybe we could add to swfmill. Best. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] Actionscript use with swfmill
However, I've recreated swf's solely with swfmill including the AS, animations, etc. Swfmill is fully capable of handling all aspects of swf creation. I've noticed that everytime I mention anything about using only swfmill for swf creation the thread dies. I, for my side, would be very happy to know how you do it actually. Which are the ways to embed scripts with swfmill. Animations and so on… The xslt features are really nice. Can you tell us more about the way you do it. Thanks. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Export for runtime sharing
Le 19 févr. 06, à 00:51, jim a écrit : Yeah, I am generating the SWF file with the images in it cannot access them with script in the SWF I am loading them into. If I use mtasc to put some Actionscript on the SWF wit hthe images in I can place them on the timeline so I know they are there. Probably you try to use shared lib with flash 8 swf exported from Flash IDE ? If this is the case it won't work. The reason is that the filters effects add new tags in the swf bitcode. swfmill is aware of this nowadays. HTH --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Shared Library?
What is the swf version you are publishing for ? If it's flash 8, you won't be able to use shared libs. The bytecode for importing assets has changed bertween 7 and 8. Le 23 déc. 05, à 12:27, [EMAIL PROTECTED] a écrit : I am trying to create a preloader for my main movie. I would like to create a seperate SWF for the preloader. when I do a loadmovie in MTASC everything but the assets from the main movie show up. I take it that I need to share these assets between both movies. That said Do I: 1. Create a seperate swf with swfmill and use the import file=library/library.swf url=http://foo.com/library.swf/ syntax to import my assets? Yes. 2. import my whole main movie? ? 3. Do I not understand the concept? My main movie has it's own swfmill file that I used to create it. Yes and no. Be clearer. Also, once I import using swfmill, how do I access the imported assets? Do I still use attachMovie or LoadMovie? I have not had much succes with either. First, be sure to loadMovie the shared lib swf. Then, attachMovie will be usuefull. You have to load an ID that you used to import your asset. hth --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] font change between 2.6 and 2.7
but when I used swfdump to look at the file generated by 2.6 and 2.11, I saw the same export name. One thing I did find odd, is that 2.11 does the export twice: Are you sure that you don't embed different outlines : italic, regular, bold ? I use swfmill 2.11 and am sure that the glyphs are only embed once. --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Importing SVG
I'm not sure there is a tutorial aanywhere. BTW, you get an overview by looking at the source which is XSLT files. You'll see how the transformations goes behind the scene. HTH Le 16 déc. 05, à 18:33, Dan Shryock a écrit : I was just wondering if anyone had any functional examples of importing svg that I could get my hands on. I'm trying to get this working, and I think I'd have much better luck if I had a working starting point. Thanks Dan ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] SWF8 new tags
Hi, Thanks to the knowledge of Nicolas C., there is a start of SWF8 tag documentation : http://wiki.jswiff.com/Wiki.jsp?page=Flash8Tags HTH --- erixtekila http://blog.v-i-a.net/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org