Questions tagged [swfmill]

swfmill is a free software command line tool that generates [tag:swf] files

It is an XML-to-SWF and SWF-to-XML processor. It uses SWFML, an XML dialect closely modeled after the SWF format. It comes with XSLT capabilities, and a more accessible dialect of SWFML to generate SWF files.

swfmill may be used to generate SWF files that contain library assets for use with MTASC. Currently, it imports images (JPEG, PNG), fonts (TrueType), SVG and other SWF files. It may also place assets on the stage, create movieclips with multiple frames, textfields, among other things.

Read more

12 questions
14
votes
5 answers

Why is Ruby throwing a Segmentation fault on only my system, and only in this Rails application?

I'm not exactly sure how to properly debug this but have tried a few different approaches that have chewed up time, but not solved the problem. At least 4 other people in my office can execute this code on identical machines with the same version of…
Luke Bayes
  • 3,234
  • 2
  • 25
  • 20
3
votes
0 answers

mtasc for Lion OSX?

I'm having a bit of trouble setting up mtasc on my Lion OSX machine. I'm currently trying to run a makefile script that is: SWFMILL := swfmill MTASC := mtasc MTASCSTDLIB := /usr/share/mtasc/std main: $(SWFMILL) simple src/jscam.xml…
Michael Vattuone
  • 319
  • 1
  • 7
  • 18
2
votes
1 answer

How to do a proper Haxe preloader for Flash, or what do you think is the best way to do it?

I have recently begun to develop a game in Haxe which targets the Flash platform. I can say that I'm not really used to Flash and how it works, it is really apparent that it was intended for animations. But anyway, now that game I'm making is…
Frank
  • 2,640
  • 2
  • 21
  • 21
1
vote
1 answer

Reverse compiling with swfmill returns different result

I have this very simple SWF file http://www.2shared.com/document/OgYwRBR6/test2.html and I simply converted it with swfmill into and xml. This is the result: http://pastebin.com/UgvfeYT6 Unfortunately the reverse (compiling the xml with swfmill)…
Mike
  • 3,017
  • 1
  • 34
  • 47
0
votes
2 answers

Help with MTASC and SWFMill for CamCanvas

Hey folks wondering if you can help me. I am trying to compile locally the following: https://github.com/taboca/CamCanvas-API- This is camcanvas a javascript api for a webcam. Anyhow - its build.sh remakes the swf for which the javascript makes…
RenegadeAndy
  • 5,440
  • 18
  • 70
  • 130
0
votes
1 answer

Flash 10 Attaching a png file from an external swf compiled with swfmill

I wish to load an external swf compiled with swfmill, at run time. In other words, loading it asynchronously (not compiled together with the file). This swf contains 2 assets: file1.png and file2.png. It's mostly working, except for this problem:…
Jonu
  • 3
  • 1
0
votes
1 answer

HOw to play sound from swf library in javascript

i'm not a flash developer, so i don't know if this is possible, please clarify it if you can :) My situaion: I have to play some sound on a webpage with javascript, and probably flash is the best choise, so i created an swf library with mi sounds…
Laphroaig
  • 619
  • 4
  • 12
  • 26
0
votes
1 answer

Does swfmill embed or load images

I was curious to know if swfmill actually embeds image's into the swf or creates a loader? In the documentation it says "Add to Library". but in examples I see the author importing flash.display.LoaderInfo; and using bitmaps.
Bryan
  • 143
  • 1
  • 10
0
votes
1 answer

AS3 & Swfmill: How to access assets in swfmill-generated library swf

I'm creating library swfs in as3 this way, works like a charm (except for the slow mxmlc compiler): package { import flash.display.Sprite; public class Library extends Sprite { [Embed(source="assets/test.png")] public var…
Cambiata
  • 3,705
  • 9
  • 35
  • 45
0
votes
1 answer

Using sound assets in Haxe

I am having trouble playing sound assets in Haxe. I am able to import mp3s with swfmill without error: ... other resources…
dunstantom
  • 551
  • 2
  • 5
  • 10
0
votes
1 answer

Attaching swf elements by ObjectID

I have swf file with some graphics I need to use in my haxe(future compiled to swf too) program. There is no problem with embedding pictures by swfmill, so i tried to disassemble the swf with swfmill and found some entries like DefineSprite and…
stroncium
  • 1,430
  • 9
  • 8
0
votes
1 answer

swfmill import swf in library with parameters

I have this piece of XML that I use in order to create a new swf file via swfmill:
Mike
  • 3,017
  • 1
  • 34
  • 47