Projects tagged ‘haxe’ and ‘swf’


Jump to tag:

Projects tagged ‘haxe’ and ‘swf’

Filtered by Project Tags haxe swf

Refine results Project Tags flash (5) actionscript (3) neko (3) swc (2) js (2) as3 (1) hx (1) avm1 (1) flv (1) cpp (1) devtool (1) compiler (1)

[9 total ]

4 Users

SamHaXe is a command-line asset library assembler for flash with a pluggable resource import module architecture. It is written in HaXe for the NekoVM platform.
Created 3 months ago.

1 Users

hxFormat is the repository for different file-formats support for the haXe language. FormatsCurrently supported formats are : FLV (Flash Video) AMF0 (Flash serialized object) PDF (only generic ... [More] file structure and partial decryption) ZIP TAR GZ PBJ (PixelBender Binary file) SWF (Flash file format) ABC (Flash AS3 bytecode format) MP3 Planned future formats include : AMF3 (supported in FlashPlayer 9+) PE (Windows EXE) DMG (Mac ISO) PNG, JPG ... anything you want to contribute (please ask on the haXe mailing list) InstallationhxFormat is available on haxelib, so simply run the following command : haxelib install format. To use the library, simply add -lib format to your commandline parameters. Package StructureEach format lies in its own package, for example format.pdf contains classes for PDF. The format.tools package contain some tools that might be shared by several formats but don't belong to a specific one. Each format must provide the following files : one Data.hx file that contain only data structures / enums used by the format. If there is really a lot, they can be separated into several files, but it's often my easy for the end user to only have to do one single import format.xxx.Data to access to all the defined types. one Reader.hx class which enable to read the file format from an haxe.io.Input one Writer.hx class which enable to write the file format to an haxe.io.Output some other classes that might be necessary for manipulating the data structures It's important in particular that the data structures storing the decoded information are separated from the actual classes manipulating it. This enable full access to all the file format infos and the ability to easily write libraries that manipulate the format, even if later the Reader implementation is changed for example. [Less]
Created 12 months ago.

0 Users

Usageswflink -V # get version swflink [-v] [-o output.swf] main.swf lib1.swf [... libN.swf] # link lib* into main then write to outputLimitationsCurrently only tested with mtasc generated swfs, and ... [More] all lib.swf contains code only. No ABC (AS3) support yet, I think one can use swc easily with Flex SDK. Please report as new issue if you find any bug there. Buildcheckout SWFTools and compile core part of it. cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/cvsroot/swftools checkout swftools cd swftools ./configure cd lib make cd ../..checkout SWFLink and compile svn checkout http://swflink.googlecode.com/svn/trunk/ swflink cd swflink make SWFTOOLS=../swftools # if you see "ld: in ../swftools/lib/libbase.a, archive has no table of contents" in osx # give "ranlib ../swftools/lib/libbase.a" a trynow try it ./swflinkLicenseThe tool is developed based on GPLed SWFTools by Matthias Kramm. So it follows as GPL. Enjoy~ [Less]
Created 11 months ago.

0 Users

SwfFS creates a SWF that contains the content of a directory. On the client, those files will be accessible as ByteArrays. There is an example included in the package that hopefully is easy to understand.
Created 12 months ago.

0 Users

Perl script to generate a haxe extern tree from an existing actionscript project.
Created 12 months ago.

0 Users

'hXgraphiX saves your lineTo's and beginFill's in swf format.' It aims to provide the same set of methods as flash.display.Graphics The output is a DefineShape swftag or swf file. hXgraphiX is written ... [More] in haXe.(A compiled swc is available for AS3). Supported drawing methods: beginFill lineStyle moveTo lineTo curveTo endFill endLine clear drawCircle drawEllipse drawRect drawRoundRect drawRoundRectComplex Example(AS3): package { import HxGraphix; import flash.display.*; import flash.net.*; import flash.utils.*; public class Main extends Sprite { var _graphics:HxGraphix; public function Main() { _graphics = new HxGraphix(); _graphics.lineStyle(3, 0x000000); _graphics.beginFill(0xff0000, 1); _graphics.drawRect(10,10,100,100); var swf = _graphics.getSWF(); var bytes:ByteArray = swf.getData(); //Save it as swf: (FP10) new FileReference().save(bytes, 'test.swf'); //Display it: var loader:Loader=new Loader(); loader.loadBytes(bytes); addChild(loader); } } } (More examples can be found in the downloads directory) [Less]
Created 3 months ago.

0 Users

CrossProcessing is a Processing API, parser, and evaluator available for Flash and JavaScript (using the Canvas API). CrossProcessing is developed in !haXe. Alpha coming soon!
Created 9 months ago.

0 Users

hXswfMLhXswfML is an SWF-compiler written in haXe which takes an xml-file as input. To compile from sources you need the haXe compiler which can be downloaded here: http://haxe.org/download To run ... [More] the hXswfML.n or hXswfML.exe you need the Neko VM which can be downloaded here: http://nekovm.org/download For Windows there is an installer available. Currently supported swf tags are: swfheader fileattributes setbackgroundcolor scriptlimits metadata definebitsjpeg2 defineshape definesprite definebutton definebinarydata definesound definefont defineedittext defineabc definescalinggrid placeobject removeobject startsound tween symbolclass framelabel showframe endframe XML: Notes ? or path are mandatory attributes, rest are default values. Element names are not casesensitive. Attibute names are casesensitive.See wiki for more info: Linking classes to assets SWFTags SWF Example: in.xml compile with : neko hxswfml in.xml out.swf (More examples are available in the downloads directory.) A GUI frontend by http://code.google.com/p/haxegui/ is available in the Source branches directory. [Less]
Created 3 months ago.

0 Users

This project contains a collection of Ant tasks which help you integrate haXe with Ant. Tested and working on Ant 1.7.0, 1.7.1 InstallationTo install anthx, use: haxelib install anthx Declare ... [More] anthx TasksTo declare all anthx tasks within Ant so that you can use it in your Ant build files, place the following inside the project element of your Ant build file: Note the path to Ant HX This must be the path to AntHX in your haxelib folder. Type haxelib path anthx to retrieve this. For example, on my install the declaration looks like this: UseOnce you have declared the tasks as above, you can use them like any other Ant task. TaskshaxeEnv - Set global haxe paths for all anthx tasks. haxeEmbed - Executes haxe as script within an ant buildfile. haxe - Generically call haxe. neko - Run a neko file. haxelib - Run haxelib. getHaxelibPath - Return the path to a haxelib library. haxe2neko - Compile .hx files to a Neko file. haxe2swf - Compile .hx files to a Flash .swf file. haxe2js - Compile .hx files to a Javascript file. haxe2as3 - Compile .hx files to Actionscript 3 files. haxe2php - Compile .hx files to PHP files. haxe2cpp - Compile .hx files to C++ files. Paths to haXe and nekoBy default, the tasks here try to call haXe and neko within the current environment i.e. they assume that haXe and neko will run from the command line and all the appropriate environment variables are set. You can override these using the haxeEnv task. FeedbackFeedback to ian (at) eirias (dot) net ChangelogVersion 0.7Added dependency checking (thanks to Gábor Szuromi) and forceRebuild/cacheFolder attributes. Fixed  issue 1  (classpaths with spaces) Added if= and unless= attributes to haxe-based tasks (again, thanks to Gábor). Added haxe2cpp Version 0.6Fix to NEKOPATH when executing haxeEmbed Version 0.5Fix to getHaxelibPath (due to changes in haxelib) Version 0.5Fix to getHaxelibPath (due to changes in haxelib) Version 0.4Updated to be compatible with haXe 2.0 Added haxe2php Version 0.3Now includes haxeEnv, haxe, neko, haxelib, getHaxelibPath, haxe2neko, haxe2swf, haxe2js, haxe2as3 Renamed anthx task to haxeEmbed. [Less]
Created 12 months ago.