swf
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 32
WebCharts3D 5.2
WebCharts 3 allows you to deliver general purpose and specialized 2- and 3-dimensional charts. more>>
WebCharts 3 allows you to deliver general purpose and specialized 2- and 3-dimensional charts as applets or interactive server-generated images (PNG, GIF, JPEG, SWF, SVG, PDF, TIFF, and WBMP) to Web browsers and mobile devices, or embed charts into stand-alone Swing/SWT applications.
WebCharts3D includes a WYSIWYG (What You See Is What You Get) designer that can be easily incorporated into your own applications to provide your end-users with chart editing capabilities. Full JSF support is included.
Enhancements:
- This version offers many enhancements including new chart attributes such as line and curve strokes and error bars, new maps, and improved gauges.
- It also provides a full-featured plugin for Eclipse that can be used instead of WebCharts3D Designer and offers XML, Java, and JSF/JSP/Swing/SWT code generation capabilities along with browser-based chart preview.
- The product now supports two additional formats - VML (Vector Markup Language) and CANVAS tag, which allow it to render the charts directly as vector graphics inside the browsers instead of using image generation.
<<lessWebCharts3D includes a WYSIWYG (What You See Is What You Get) designer that can be easily incorporated into your own applications to provide your end-users with chart editing capabilities. Full JSF support is included.
Enhancements:
- This version offers many enhancements including new chart attributes such as line and curve strokes and error bars, new maps, and improved gauges.
- It also provides a full-featured plugin for Eclipse that can be used instead of WebCharts3D Designer and offers XML, Java, and JSF/JSP/Swing/SWT code generation capabilities along with browser-based chart preview.
- The product now supports two additional formats - VML (Vector Markup Language) and CANVAS tag, which allow it to render the charts directly as vector graphics inside the browsers instead of using image generation.
Download (8.4MB)
Added: 2007-04-17 License: GPL (GNU General Public License) Price:
1196 downloads
SWF::Builder::ActionScript 0.15
SWF::Builder::ActionScript is a SWF ActionScript object. more>>
SWF::Builder::ActionScript is a SWF ActionScript object.
SYNOPSIS
$mc->frame_action(1)->compile( on(KeyPress, )->compile(move_mc(-5));
$mc_i->on(KeyPress, )->compile(move_mc(5));
$mc_i->on(EnterFrame)->r_rotate(15);
<<lessSYNOPSIS
$mc->frame_action(1)->compile( on(KeyPress, )->compile(move_mc(-5));
$mc_i->on(KeyPress, )->compile(move_mc(5));
$mc_i->on(EnterFrame)->r_rotate(15);
Download (0.16MB)
Added: 2007-01-02 License: Perl Artistic License Price:
1037 downloads
SWF::Element 0.42
SWF::Element is a set of classes of SWF tags and elements. more>>
SWF::Element is a set of classes of SWF tags and elements.
SYNOPSIS
use SWF::Element;
use SWF::BinStream;
$swf_stream=SWF::BinStream::Write;
....
$rect=SWF::Element::RECT->new;
$rect->configure(Xmin=>0, Ymin=>0, Xmax=>100, Ymax=>100);
$rect->pack($swf_stream);
....
SWF::Element module handles SWF tags and any other sub elements to create, configure, clone, pack to bit strings, and unpack from bit strings.
SWF::Element::*
SWF::Element class is a base class of SWF element, such as Tag, RECT, SHAPE, etc. Each SWF::Element object has one or more fields.
<<lessSYNOPSIS
use SWF::Element;
use SWF::BinStream;
$swf_stream=SWF::BinStream::Write;
....
$rect=SWF::Element::RECT->new;
$rect->configure(Xmin=>0, Ymin=>0, Xmax=>100, Ymax=>100);
$rect->pack($swf_stream);
....
SWF::Element module handles SWF tags and any other sub elements to create, configure, clone, pack to bit strings, and unpack from bit strings.
SWF::Element::*
SWF::Element class is a base class of SWF element, such as Tag, RECT, SHAPE, etc. Each SWF::Element object has one or more fields.
Download (0.050MB)
Added: 2007-01-04 License: Perl Artistic License Price:
1034 downloads
SWF::Builder::Character::Sound 0.15
SWF::Builder::Character::Sound is a SWF Sound character. more>>
SWF::Builder::Character::Sound is a SWF Sound character.
SYNOPSIS
my $sound = $mc->new_sound( ring.mp3 );
$sound->play;
This module creates SWF sound characters from MP3 or raw Microsoft WAV files.
$sound = $mc->new_sound( $filename )
loads a sound file and returns a new sound character. It supports only MP3 now.
$sound->play( [ %options ] )
plays the sound.
Options:
MovieClip => $mc, Frame => $frame
MovieClip(MC) is a parent movie clip on which the sound is played. If MC is not set, the sound is played on the movie clip in which it is defined. Frame is the frame number on which the sound is played.
Multiple => 0/1
avoids/allows multiple playing. If 0, dont start the sound if already playing.
Loop => $count
sets the loop count.
In => $in_msec, Out => $out_msec
In sets the beginning point of the sound and Out sets the last in milliseconds.
Envelope => [ $msec1, $volumelevel1, $msec2, $volumelevel2, ... ]
sets the sound envelope. Volume level is set to $volumelevel1 at $msec1, and $volumelevel2 at $msec2, ... Volume level can take a number from 0 to 32768, or a reference to the array of volume levels of left and right channels.
$sound->stop( [ MovieClip => $mc, Frame => $frame ] )
stops playing the sound. It can take MovieClip and Frame options as same as the play method.
$sound->start_streaming( [ MovieClip => $mc, Frame => $frame ] )
starts the streaming sound, which synchronizes with the movie timeline. It can take MovieClip and Frame options as same as the play method.
$sound->Latency( $msec )
sets the sound latency in milliseconds.
<<lessSYNOPSIS
my $sound = $mc->new_sound( ring.mp3 );
$sound->play;
This module creates SWF sound characters from MP3 or raw Microsoft WAV files.
$sound = $mc->new_sound( $filename )
loads a sound file and returns a new sound character. It supports only MP3 now.
$sound->play( [ %options ] )
plays the sound.
Options:
MovieClip => $mc, Frame => $frame
MovieClip(MC) is a parent movie clip on which the sound is played. If MC is not set, the sound is played on the movie clip in which it is defined. Frame is the frame number on which the sound is played.
Multiple => 0/1
avoids/allows multiple playing. If 0, dont start the sound if already playing.
Loop => $count
sets the loop count.
In => $in_msec, Out => $out_msec
In sets the beginning point of the sound and Out sets the last in milliseconds.
Envelope => [ $msec1, $volumelevel1, $msec2, $volumelevel2, ... ]
sets the sound envelope. Volume level is set to $volumelevel1 at $msec1, and $volumelevel2 at $msec2, ... Volume level can take a number from 0 to 32768, or a reference to the array of volume levels of left and right channels.
$sound->stop( [ MovieClip => $mc, Frame => $frame ] )
stops playing the sound. It can take MovieClip and Frame options as same as the play method.
$sound->start_streaming( [ MovieClip => $mc, Frame => $frame ] )
starts the streaming sound, which synchronizes with the movie timeline. It can take MovieClip and Frame options as same as the play method.
$sound->Latency( $msec )
sets the sound latency in milliseconds.
Download (0.16MB)
Added: 2006-11-13 License: Perl Artistic License Price:
1081 downloads
SWF::Builder::Character::EditText 0.16
SWF::Builder::Character::EditText is a SWF dynamic editable text object. more>>
SWF::Builder::Character::EditText is a SWF dynamic editable text object.
SYNOPSIS
my $text = $mc->new_dynamic_text( $font )
->size(10)
->color(000000)
->text(This is a text.);
my $text_i = $text->place;
my $field = $mc->new_input_field;
$field->place;
^This module creates dynamic editable text objects, which can be changed at playing time.
Basic dynamic editable text object
$etext = $mc->new_edit_text( [$font, $text] )
returns a new basic dynamic editable text object. It has interfaces to raw DefineEditText tag. $font is an SWF::Builder::Font object.
$etext->font( $font )
applies the font to the text. $font is an SWF::Builder::Font object. Unlike static text, the font is applied to the whole text. If the text will be changed in the playing time, you should add glyph data of all characters which will be used to the font by $font->add_glyph or turn off the embed flag of the font.
$etext->size( $size )
sets a font size to $size in pixel. Unlike static text, the font size of the whole text is changed.
$etext->color( $color )
sets color of the text. The color can take a six or eight-figure hexadecimal string, an array reference of R, G, B, and optional alpha value, an array reference of named parameters such as [Red => 255], and SWF::Element::RGB/RGBA object. Unlike static text, the color is applied to the whole text.
$etext->text( $string )
writes the $string.
$etext->leading( $leading )
sets the vertical distance between the lines in pixel.
$etext->box_size( $width, $height )
sets the bounding box of the text and stops auto-sizing the box. When either $width or $height is undef, it is unchanged. Fixing bounding box may cause unexpected text clipping. You should set DefineEditText flag Multiline and/or WordWrap. See SWF::Element.
$etext->draw_border
draws the border.
$etext->align( left / right / center / justify )
sets the text alignment.
$etext->methos for SWF::Element::Tag::DefineEditText
You can control details of the texts to call methods for DefineEditText tag. See SWF::Element.
Preset dynamic text object
The following objects are inheritants of the basic dynamic editable text. These are preset some proper flags of DefineEditText tag.
$dtext = $mc->new_dynamic_text( [$font, $text] )
returns a new dynamic text. It is read-only, multiline text enabled, and auto-sized its bounding box.
$htmltext = $mc->new_html_text( [$html] )
returns a new HTML text. It is read-only, multiline text enabled, and auto-sized its bounding box. The text is treated as a subset of HTML. Supported tags are < a >, < b >, < br >, < font >, < i >, < img >, < li >, < p >, < span >, < u >, and two special tags, < tab > and < textformat >. See Macromedia Flash File Format Specification and ActionScript Reference Guide for further information.
$htmltext->use_font( $font, ... )
tells $htmltext what fonts are used in the HTML. In general, upright, italic, bold, and bold italic font are in the different TrueType font files. You should prepare 2-4 fonts if you use < b > and < i > tags, like this:
my $fp = $ENV{SYSTEMROOT}./fonts; # for Windows.
my $font = $m->new_font("$fp/arial.ttf");
$font->add_glyph(a, z);
my $fonti = $m->new_font("$fp/ariali.ttf");
$fonti->add_glyph(a, z);
my $ht = $m->new_html_text;
$ht->text(test < i >string< /i >< /font >);
$ht->use_font($font, $fonti);
$mc->new_text_area( $width, $height )
returns a new editable text area. It takes area width and height in pixel.
$mc->new_input_field( [$length] )
returns a new one-line input field. $length is a max length of input string.
$mc->new_password_field( [$length] )
returns a new one-line password field. $length is a max length of input string.
<<lessSYNOPSIS
my $text = $mc->new_dynamic_text( $font )
->size(10)
->color(000000)
->text(This is a text.);
my $text_i = $text->place;
my $field = $mc->new_input_field;
$field->place;
^This module creates dynamic editable text objects, which can be changed at playing time.
Basic dynamic editable text object
$etext = $mc->new_edit_text( [$font, $text] )
returns a new basic dynamic editable text object. It has interfaces to raw DefineEditText tag. $font is an SWF::Builder::Font object.
$etext->font( $font )
applies the font to the text. $font is an SWF::Builder::Font object. Unlike static text, the font is applied to the whole text. If the text will be changed in the playing time, you should add glyph data of all characters which will be used to the font by $font->add_glyph or turn off the embed flag of the font.
$etext->size( $size )
sets a font size to $size in pixel. Unlike static text, the font size of the whole text is changed.
$etext->color( $color )
sets color of the text. The color can take a six or eight-figure hexadecimal string, an array reference of R, G, B, and optional alpha value, an array reference of named parameters such as [Red => 255], and SWF::Element::RGB/RGBA object. Unlike static text, the color is applied to the whole text.
$etext->text( $string )
writes the $string.
$etext->leading( $leading )
sets the vertical distance between the lines in pixel.
$etext->box_size( $width, $height )
sets the bounding box of the text and stops auto-sizing the box. When either $width or $height is undef, it is unchanged. Fixing bounding box may cause unexpected text clipping. You should set DefineEditText flag Multiline and/or WordWrap. See SWF::Element.
$etext->draw_border
draws the border.
$etext->align( left / right / center / justify )
sets the text alignment.
$etext->methos for SWF::Element::Tag::DefineEditText
You can control details of the texts to call methods for DefineEditText tag. See SWF::Element.
Preset dynamic text object
The following objects are inheritants of the basic dynamic editable text. These are preset some proper flags of DefineEditText tag.
$dtext = $mc->new_dynamic_text( [$font, $text] )
returns a new dynamic text. It is read-only, multiline text enabled, and auto-sized its bounding box.
$htmltext = $mc->new_html_text( [$html] )
returns a new HTML text. It is read-only, multiline text enabled, and auto-sized its bounding box. The text is treated as a subset of HTML. Supported tags are < a >, < b >, < br >, < font >, < i >, < img >, < li >, < p >, < span >, < u >, and two special tags, < tab > and < textformat >. See Macromedia Flash File Format Specification and ActionScript Reference Guide for further information.
$htmltext->use_font( $font, ... )
tells $htmltext what fonts are used in the HTML. In general, upright, italic, bold, and bold italic font are in the different TrueType font files. You should prepare 2-4 fonts if you use < b > and < i > tags, like this:
my $fp = $ENV{SYSTEMROOT}./fonts; # for Windows.
my $font = $m->new_font("$fp/arial.ttf");
$font->add_glyph(a, z);
my $fonti = $m->new_font("$fp/ariali.ttf");
$fonti->add_glyph(a, z);
my $ht = $m->new_html_text;
$ht->text(test < i >string< /i >< /font >);
$ht->use_font($font, $fonti);
$mc->new_text_area( $width, $height )
returns a new editable text area. It takes area width and height in pixel.
$mc->new_input_field( [$length] )
returns a new one-line input field. $length is a max length of input string.
$mc->new_password_field( [$length] )
returns a new one-line password field. $length is a max length of input string.
Download (0.16MB)
Added: 2007-08-13 License: Perl Artistic License Price:
808 downloads
Tubesock 0.2
Tubesock is a GTK/GNOME Shockwave player. more>>
Tubesock is a GTK/GNOME swf player released under the GPL. Currently the code right now is parsing SWF files, and can dump the contents, and can display some stuff.
Tubesock is written 100% in c, and depends on glib2 and gtk2.
Installation
./configure
make
cd src/tubesock
./tubesock PATH_TO_SWF_FILE.swf
<<lessTubesock is written 100% in c, and depends on glib2 and gtk2.
Installation
./configure
make
cd src/tubesock
./tubesock PATH_TO_SWF_FILE.swf
Download (0.18MB)
Added: 2005-05-05 License: GPL (GNU General Public License) Price:
1676 downloads
vnc2swf 0.9.1 (pyvnc2swf)
vnc2swf is a recording tool for VNC that records sessions and generates a Macromedia Flash movie file (SWF). more>>
vnc2swf is a recording tool for VNC that records sessions and generates a Macromedia Flash movie file (SWF).
The project can be used as an X11 recorder or a Windows desktop recorder.
<<lessThe project can be used as an X11 recorder or a Windows desktop recorder.
Download (0.061MB)
Added: 2006-11-09 License: GPL (GNU General Public License) Price:
1085 downloads
Other version of vnc2swf
License:GPL (GNU General Public License)
FLV::ToSWF 0.12
FLV::ToSWF is a Perl module to convert an FLV file into a SWF file. more>>
FLV::ToSWF is a Perl module to convert an FLV file into a SWF file.
SYNOPSIS
use FLV::ToSwf;
my $converter = FLV::ToSWF->new();
$converter->parse_flv($flv_filename);
$converter->save($swf_filename);
See also flv2swf.
Transcodes FLV files into SWF files. See the flv2swf command-line program for a nice interface and a detailed list of caveats and limitations.
<<lessSYNOPSIS
use FLV::ToSwf;
my $converter = FLV::ToSWF->new();
$converter->parse_flv($flv_filename);
$converter->save($swf_filename);
See also flv2swf.
Transcodes FLV files into SWF files. See the flv2swf command-line program for a nice interface and a detailed list of caveats and limitations.
Download (1.2MB)
Added: 2006-08-24 License: Perl Artistic License Price:
686 downloads
Wx::ActiveX 0.05
Wx::ActiveX provides the ActiveX interface. more>>
Wx::ActiveX provides the ActiveX interface.
It loads ActiveX controls for wxWindows.
SYNOPSIS
use Wx::ActiveX ;
my $activex = Wx::ActiveX->new( $this , "ShockwaveFlash.ShockwaveFlash" , 101 , wxDefaultPosition , wxDefaultSize ) ;
$activex->Invoke("LoadMovie",0,"file:///F:/swf/test.swf") ;
$activex->PropSet("Quality",Best) ;
my $frames_n = $activex->PropVal("TotalFrames") ;
$activex->Invoke("Play") ;
... or ...
$activex->Play ;
<<lessIt loads ActiveX controls for wxWindows.
SYNOPSIS
use Wx::ActiveX ;
my $activex = Wx::ActiveX->new( $this , "ShockwaveFlash.ShockwaveFlash" , 101 , wxDefaultPosition , wxDefaultSize ) ;
$activex->Invoke("LoadMovie",0,"file:///F:/swf/test.swf") ;
$activex->PropSet("Quality",Best) ;
my $frames_n = $activex->PropVal("TotalFrames") ;
$activex->Invoke("Play") ;
... or ...
$activex->Play ;
Download (0.053MB)
Added: 2007-03-30 License: Perl Artistic License Price:
951 downloads
WebSwf Slide Show Creator 1.0
WebSwf is a program for generating slide shows in Macromedia SWF Flash format. more>>
WebSwf is a program for generating slide shows in Macromedia SWF Flash format. WebSwf Slide Show Creator is a multi-user application with a client-server architecture. SWF generation is done with PHPs Ming extensions.
Main features:
- Multi user, every user can keep different projects, a project is a container for one or more slideshows.
- Simple and cross fading are supported.
- Client-server, all data are stored in the server database and folders.
- Modern browsers are supported, for example Firefox.
- Built upon well known open-source technologie such as PHP, MySQL and Ming SWF libraries, can be easily customized.
- Slideshows can be tailored to be used on an handheld device.
<<lessMain features:
- Multi user, every user can keep different projects, a project is a container for one or more slideshows.
- Simple and cross fading are supported.
- Client-server, all data are stored in the server database and folders.
- Modern browsers are supported, for example Firefox.
- Built upon well known open-source technologie such as PHP, MySQL and Ming SWF libraries, can be easily customized.
- Slideshows can be tailored to be used on an handheld device.
Download (MB)
Added: 2006-02-22 License: GPL (GNU General Public License) Price:
1362 downloads
swfdec 0.5.1
swfdec is a library and small player for SWF files. more>>
Swfdec is a library for rendering Flash animations and games. swfdec project was originally designed as a basis library for creating Flash plugins for GStreamer, but it is a fully standalone library which only use the libart library for drawing. Swfdec is released under the LGPL.
Included with swfdec is Gtk+-based application called swf_play and a Mozilla plug-in that uses swf_play to display SWF animations in a browser window.
<<lessIncluded with swfdec is Gtk+-based application called swf_play and a Mozilla plug-in that uses swf_play to display SWF animations in a browser window.
Download (1.3MB)
Added: 2007-08-05 License: LGPL (GNU Lesser General Public License) Price:
827 downloads
Flasm for liunx 1.62
Applies your changes to the original SWF, replacing original actions. more>> Flasm disassembles your entire SWF including all the timelines and events. Looking at disassembly, you learn how the Flash compiler works, which improves your ActionScript skills. You can also do some optimizations on the disassembled code by hand or adjust the code as you wish. Flasm then applies your changes to the original SWF, replacing original actions.
Its also possible to embed Flasm actions in your ActionScript, making optimizing of large projects more comfortable.
Flasm is not a decompiler. What you get is the human readable representation of SWF bytecodes, not ActionScript source. If youre looking for a decompiler, Flare may suit your needs. However, Flare cant alter the SWF.
Page too long? You dont have to read it all. First, make yourself familiar with usage. Then read flash virtual machine topic to understand the concept of registers and stack. Disassemble some of your SWFs, starting with simpler ones, to see the inner workings of the Flash compiler. The rest of this page tries to address questions you may have at this point.<<less
Download (85KB)
Added: 2009-04-26 License: Freeware Price: Free
180 downloads
Wx::ActiveX::Flash 0.05
Wx::ActiveX::Flash is an ActiveX interface for Shockwave Flash. more>>
Wx::ActiveX::Flash is an ActiveX interface for Shockwave Flash.
SYNOPSIS
use Wx::ActiveX::Flash ;
my $flash = Wx::ActiveX::Flash->new( $parent , -1 , wxDefaultPosition , wxDefaultSize );
$flash->LoadMovie(0,"file:///F:/swf/test.swf") ;
$flash->Play ;
EVT_ACTIVEX($this, $flash ,"FSCommand", sub{
my ( $this , $evt ) = @_ ;
my $cmd = $evt->{command} ;
my $args = $evt->{args} ;
...
}) ;
ActiveX control for Shockwave Flash. The control comes from Wx::ActiveX, and all methods/events from there exit here too.
** You will need to already have the Flash player installed.
new ( PARENT , ID , POS , SIZE )
This will create and return the Flash object.
<<lessSYNOPSIS
use Wx::ActiveX::Flash ;
my $flash = Wx::ActiveX::Flash->new( $parent , -1 , wxDefaultPosition , wxDefaultSize );
$flash->LoadMovie(0,"file:///F:/swf/test.swf") ;
$flash->Play ;
EVT_ACTIVEX($this, $flash ,"FSCommand", sub{
my ( $this , $evt ) = @_ ;
my $cmd = $evt->{command} ;
my $args = $evt->{args} ;
...
}) ;
ActiveX control for Shockwave Flash. The control comes from Wx::ActiveX, and all methods/events from there exit here too.
** You will need to already have the Flash player installed.
new ( PARENT , ID , POS , SIZE )
This will create and return the Flash object.
Download (0.053MB)
Added: 2007-01-05 License: Perl Artistic License Price:
1033 downloads
AutoTrace 0.31.1
AutoTrace converts bitmap to vector graphics. more>>
AutoTrace is a program for converting bitmap to vector graphics. The aim of the AutoTrace project is the development of a freely available application with a functionality similar to CorelTrace or Adobe Streamline.
Main features:
- Inputformats BMP, TGA, PNM, PPM, PGM, PBM and those supported by ImageMagick.
- Exportformat Postscript, svg, xfig, swf, pstoedit, emf, dxf, cgm, mif, p2e and sk
<<lessMain features:
- Inputformats BMP, TGA, PNM, PPM, PGM, PBM and those supported by ImageMagick.
- Exportformat Postscript, svg, xfig, swf, pstoedit, emf, dxf, cgm, mif, p2e and sk
Download (0.35MB)
Added: 2005-05-04 License: GPL (GNU General Public License) Price:
1646 downloads
MTASC 1.11
MTASC (Motion-Twin ActionScript2 Compiler) is an ActionScript2 cross-platform compiler. more>>
MTASC is the first ActionScript 2 Open Source free compiler.
MTASC project can compile large number of .as class files in a very short time and generate directly the corresponding SWF bytecode without relying on Macromedia Flash or other tools.
You can download it now and please read the comparison between MTASC and Macromedia compiler that is sold with Flash. If its your first time using MTASC, please read how to install and use MTASC.
INSTALL
Theses install notes are for windows user unfamiliar with commandline tools usage.
First download the MTASC package corresponding to your system and install/unzip somewhere on your computer. Then add the path of the installed executable to your PATH environment variable (see http://www.chem.gla.ac.uk/~louis/software/faq/q1.html if you dont kwnow how to do).
For example if youve installed into c:program filesmtasc you might add c:progra~1mtasc to your PATH. Now the executable is accessible everywhere. You can then write a compile.bat file containing the following text :
mtasc.exe YourFiles.as... -swf YourProject.swf
pause
Put the compile.bat file with your source files and run it when you want to compile.
USAGE
MTASC is a commandline compiler, it can then be better integrated into [Your favorite editor] by configuring it to compile .as files with MTASC. The general usage of mtasc tool is : mtasc (your .as class files) -swf (you project swf). Please note that if you have two classes Point and Line with Line.as using Point for its code, you dont need to ask MTASC to compile Point.as when compiling Line.as since it will do it automatically for you. Then if you want to include the minimal set of classes needed by your program to run, you can simply compile using mtasc Main.as where Main.as is your "main" class, the entry point of your program (if you have any).
Now that you know how to call MTASC, lets have a look at how it works : MTASC takes the SWF file specified with the -swf flag, compile all .as specified files, and update the SWF file by replacing all classes that are present inside it by the newly compiled classes. To use MTASC instead of Macromedia Flash Compiler, its simple. Open your project and publish it normally (for example project.swf). Now run MTASC using the published SWF as input : mtasc (your as files) -swf project.swf. This will compile your classes and update the SWF that you can use for your website. Please note that MTASC add the compiled classes to the SWF in replacement of ALL classes compiled by Flash.
If you have an error such as class not found, file not found, or class name mistake, you should use the -cp flag in order to add a ClassPath to MTASC (that means a directory where it will look for .as files). For example if your classes are in the /code directory, do not call mtasc code/Hello.as because it will look for the class code.Hello (with package code), but call instead mtasc -cp code Hello.as.
Additional arguments are the following :
-swf file : specify input SWF which contains assets.
-cp path : add a directory path to the ClassPath : this is the list of directories that MTASC will use to look for .as files. You can use several times -cp to add several directories.
-main : will automaticaly call static function main once all classes are registered.
-header width:height:fps:bgcolor : does not load a SWF, instead create a new one containing only compiled code and using provided header informations. bgcolor is optional and should be 6 digits hexadecimal value.
-mx : use precompiled MX classes (see section on V2 components below).
Some other arguments, for advanced users :
-version n : specify SWF version : 6 to generate Player 6r89 compatible SWF or 8 to access Flash8 features.
-v : activate verbose mode, printing some additional informations about compiling process.
-out file : change output swf file.
-msvc : use Microsoft Visual Studio errors style formating install of Java style (for file names and lines number).
-strict : will use strict compilation mode which require that all variables are explicitely typed.
-exclude file : exclude code generation of classes listed in specified file (format is one full class path per line).
-trace function : specify a custom trace function. (see Trace Facilities), or no disable all the traces.
-keep : keep AS2 classes compiled by MCC into the SWF (this could cause some classes to be present two times if also compiled with MTASC).
-frame f : will export AS2 classes into target frame of swf.
-pack path : compile all the files contained in specified package - not recursively (eg to compile files in c:flashcodemyapp do mtasc -cp c:flashcode -pack my/app).
-group : will merge classes into one single clip (this will reduce SWF size but might cause some problems if youre using -keep or -mx).
Enhancements:
- Several small fixes.
- Strongly typed arrays have been added.
<<lessMTASC project can compile large number of .as class files in a very short time and generate directly the corresponding SWF bytecode without relying on Macromedia Flash or other tools.
You can download it now and please read the comparison between MTASC and Macromedia compiler that is sold with Flash. If its your first time using MTASC, please read how to install and use MTASC.
INSTALL
Theses install notes are for windows user unfamiliar with commandline tools usage.
First download the MTASC package corresponding to your system and install/unzip somewhere on your computer. Then add the path of the installed executable to your PATH environment variable (see http://www.chem.gla.ac.uk/~louis/software/faq/q1.html if you dont kwnow how to do).
For example if youve installed into c:program filesmtasc you might add c:progra~1mtasc to your PATH. Now the executable is accessible everywhere. You can then write a compile.bat file containing the following text :
mtasc.exe YourFiles.as... -swf YourProject.swf
pause
Put the compile.bat file with your source files and run it when you want to compile.
USAGE
MTASC is a commandline compiler, it can then be better integrated into [Your favorite editor] by configuring it to compile .as files with MTASC. The general usage of mtasc tool is : mtasc (your .as class files) -swf (you project swf). Please note that if you have two classes Point and Line with Line.as using Point for its code, you dont need to ask MTASC to compile Point.as when compiling Line.as since it will do it automatically for you. Then if you want to include the minimal set of classes needed by your program to run, you can simply compile using mtasc Main.as where Main.as is your "main" class, the entry point of your program (if you have any).
Now that you know how to call MTASC, lets have a look at how it works : MTASC takes the SWF file specified with the -swf flag, compile all .as specified files, and update the SWF file by replacing all classes that are present inside it by the newly compiled classes. To use MTASC instead of Macromedia Flash Compiler, its simple. Open your project and publish it normally (for example project.swf). Now run MTASC using the published SWF as input : mtasc (your as files) -swf project.swf. This will compile your classes and update the SWF that you can use for your website. Please note that MTASC add the compiled classes to the SWF in replacement of ALL classes compiled by Flash.
If you have an error such as class not found, file not found, or class name mistake, you should use the -cp flag in order to add a ClassPath to MTASC (that means a directory where it will look for .as files). For example if your classes are in the /code directory, do not call mtasc code/Hello.as because it will look for the class code.Hello (with package code), but call instead mtasc -cp code Hello.as.
Additional arguments are the following :
-swf file : specify input SWF which contains assets.
-cp path : add a directory path to the ClassPath : this is the list of directories that MTASC will use to look for .as files. You can use several times -cp to add several directories.
-main : will automaticaly call static function main once all classes are registered.
-header width:height:fps:bgcolor : does not load a SWF, instead create a new one containing only compiled code and using provided header informations. bgcolor is optional and should be 6 digits hexadecimal value.
-mx : use precompiled MX classes (see section on V2 components below).
Some other arguments, for advanced users :
-version n : specify SWF version : 6 to generate Player 6r89 compatible SWF or 8 to access Flash8 features.
-v : activate verbose mode, printing some additional informations about compiling process.
-out file : change output swf file.
-msvc : use Microsoft Visual Studio errors style formating install of Java style (for file names and lines number).
-strict : will use strict compilation mode which require that all variables are explicitely typed.
-exclude file : exclude code generation of classes listed in specified file (format is one full class path per line).
-trace function : specify a custom trace function. (see Trace Facilities), or no disable all the traces.
-keep : keep AS2 classes compiled by MCC into the SWF (this could cause some classes to be present two times if also compiled with MTASC).
-frame f : will export AS2 classes into target frame of swf.
-pack path : compile all the files contained in specified package - not recursively (eg to compile files in c:flashcodemyapp do mtasc -cp c:flashcode -pack my/app).
-group : will merge classes into one single clip (this will reduce SWF size but might cause some problems if youre using -keep or -mx).
Enhancements:
- Several small fixes.
- Strongly typed arrays have been added.
Download (0.29MB)
Added: 2005-12-23 License: GPL (GNU General Public License) Price:
1403 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above swf search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed