-
Abdul Qabiz
Replied:
(
3/10/2005
At
2:13 PM)
Flash IDE does more than just compiling ActionScript.
Are we talking of doing everything by code? If yes, then this is the way....
What about development cost & time?
-
Pavel Simek
Replied:
(
3/10/2005
At
2:46 PM)
Yes, Flash IDE is perfect tool for organising assets (creating frame animations, etc.) IMHO the possible way how to improve your productivity (when building large project) is to mix "asset SWFs" (made with Flash IDE) and "code SWFs" (made with MTASC and other open source tools).
-
Carlos Rovira
Replied:
(
3/10/2005
At
3:14 PM)
As I mention in the article this is an emergin alternative to commercial solutions (only have a few months of life). We don't have to expect the same facilities at this time as we could get in commercial products.
...but open source community is alive and moving quickly to bring us better and wonderful tools.
-
eric
Replied:
(
3/10/2005
At
10:09 PM)
I'm suprised you never mentioned SEPY. If you're doing external AS, checkout it out http://www.sephiroth.it/python/sepy.php.
-
Abdul Qabiz
Replied:
(
3/10/2005
At
11:47 PM)
Carlos-
It's really nice article, you have put together lot of things. I personally like eclipse platform, which is IDE for many projects(languages) and also a platform building IDEs...
FYI! I also like idea of Open Source software and have been part of some such projects in past...
But, in this case I would say Macromedia Flash IDE is worth buying because it provides lot of things...Not sure, any open source software ever would be able to compete because Macromedia keep adding things to IDE and relatively it would be ahead all the time...No offenses...
Regards,
-abdul
-
distatica
Replied:
(
3/11/2005
At
2:34 AM)
"...Not sure, any open source software ever would be able to compete because Macromedia keep adding things to IDE and relatively it would be ahead all the time...No offenses…" -- abdul
http://gimp.org
http://blender3d.org
http://distrowatch.com/
http://heroinewarrior.com/cinelerra.php3
These amazing open source projects all compete with larger, commercial projects. And they do one hell of a job at it, in my opinion (and many others). Ironically most of them were behind their time, but sometimes you just save the best for last. ;)
Unfortunately the Flash environment (mostly the animations part, in my opinion) is pretty damn good, and after a long and hectic day looking around for some decent, 2d vector animation software, i'm having a hard time finding things that compete. I think there's a large problem with people being too afraid to dedicate time and opinions to other projects, because a concentration of efforts would sure help speed things up. Sadly, sometimes that's not just possible though. :(
I for one refuse to spend $500 just so I can make some free animations and tutorials/videos for people. Also keep your eyes on this project, hopefully with some attention it will pick up again. http://dot.kde.org/1071590847/ (Flash4Linux) If you can donate time, or money, or whatever, do so it would really help them. Personally I will try to dedicate some time to them but i'm not a programmer (python is as wet as these feet get) and i'm poor. :/
-
Carlos Rovira
Replied:
(
3/11/2005
At
3:20 AM)
Abdul,
The fact I write an article about open source alternatives doesn't means I don't like Macromedia and his products. I love Flash IDE and love the Flex technology, but I love this new way to do things, because I love Java and Eclipse IDE as well.
I think that Open Source is always wellcome and sure that MM likes it because it's good for Flash technology for Flash developers and for the people behind the product. At last they maintains their product with the last updates as they modify the Flash Player.
I think all the events happening in the Flash world this last months are all very positive.
I don't mention SEPY (that I use too) because is out of the scope of this article centered. There's a lot of Open Source proyects to talk about...maybe NaturalDocs, or ARP, but I can't mention everyone. I like it all!! ;)
Thanks for your comments :)
-
Oscar Trelles
Replied:
(
3/11/2005
At
4:01 AM)
Historically, open sources initiatives have provided alternatives to full-featured development environments through grass roots approches that suited one or many different sets of basic needs. In time, what Carlos is describing as an heterodox development methodology could become or set the path for a solid free (or cheap) alternative to how we develop Flash applications today, and that´s fine. Not only it even the field a little for professionals in countries where acquiring software is very expensive, but will force Macromedia to create a better product justify its price. As I see it, it could be a win-win situation.
Also, I remember seeing this a little while ago:
http://ktoon.toonka.com/
Something like that could become the missing piece, to manage assets, animation, etc.
-
Joan Garnet
Replied:
(
3/11/2005
At
1:20 PM)
Nice article Carlos!
I see this set of tools as the perfect complement to Flash IDE for Windows users, but most important, a great opportunity for non Windows users to deploy their skills with ActionScript.
I think we should support such things as it gives a very healthy variety of choice.
-
JT
Replied:
(
3/11/2005
At
11:40 PM)
Quick question: I'm trying to configure my Eclipse MTASC/Flashout plugins, but I need to point to the Macromedia Core Classes. I don't own MX2004, so I of course don't have these classes. Any idea where to get these classes? Or am I forced to buy MX2004 to use this 'open source' alternative?
-
Staticreator
Replied:
(
3/12/2005
At
12:47 AM)
You might also want to try Colorer-take5, an Eclipse plugin that does syntax coloring for dozens of languages, including Actionscript.
http://colorer.sourceforge.net/eclipsecolorer/
-
Pål Østerud
Replied:
(
3/14/2005
At
1:52 PM)
As a full time professional flash programmer, I really appreciate that you have spent time putting this information together. The Macromedia IDE is outstanding for smaller isolated projects, for fast prototyping, for vectorbased GUI creations.
But for large, scalable, solutions with a lot of classes, we are in urgent need of a professional tool that resembles Microsofts visual studio in functionality and integration. There is still a lot of work to do, but eclipse is, untill now by far the best alternative i have seen.
For the record I use SEPY and Emacs as standalone editors, and they are great, but you cant really compare them to a fully integrated development framework/platform either.
Keep up the good work :-)
-
Satori
Replied:
(
3/14/2005
At
11:26 PM)
Hi Carlos,
GREAT ARTICLE!! I've been looking forward to reading it since we talked about it a few weeks ago. I just now had some free time to try everything out. Thank you for the great walkthrough in putting this all together.
As a viable development alternative, I can definitly see the virtues in this system. People need to remember that there are two different kinds of flash developers these days. The artists and animators are anchored to the MM IDE. When it comes to vector based animation, Flash is still the only real game in town. But for the code hounds that like to develop Flash in straight up code, this is kind of a neat development environment.
-
iS
Replied:
(
3/14/2005
At
11:41 PM)
I've been using the same setup ever since ASDT was released. There is no point in buying a copy of Flash for every developper when all they do is code in AS2.0. Eclipse is an excellent environnement. The only mssing thing is an UML modeler plugin that can handle AS.
Macromedia tried to to split Flash in two with the pro and non-pro version, but they failed, because most designers still need the pro version and that version really didn't go far enough for developers (very bad code view, no CVS, etc.). Flash 8 is even more clearly intended for designers, so it's great to have alternatives like ASDT/MTASC within Eclipse.
-
python_
Replied:
(
3/15/2005
At
11:49 PM)
I use Macromedia Flash Mx at work to create E-Learning applications in the windows environment. It is a great product and certainly unique. However one major concern about the software is the documentation. I feel the documention for the ActionScript Language Reference requires more detail. AActionscript 2.0 has now become more of a programming language very simular to Java so more coders will now be at home and have more power.
I am a 100% Linux user at home so i cant run Macromedia Flash unless i use WINE or CrossOver Office. Which does work i have tried it. But im only really interested in the coding side of it. So using Eclipse is a good thing for me, specially as i use it for java too, this means i dont have to install another IDE or get familiar with more software.
The project will be behind its just begun and Macromedia has been going for a while now, so its a bit unfair to compare them. This isnt aiming to be a Macromedia Flash MX clone, its aiming to be a programming tool for developers. In time if the project takes off, the project could become more powerful than Macromedia in terms of programming power. Macromedia have only just begun deploying Object Orientated Programming too.
In the open source world with so many good programmers, and thousands of them things can move very fast conmpared to propriety software.
All most forgot too, thanks for doing the Linux port, as Linux is lacking in this software area for Flash Dev. Gotta say this is the best ive seen yet!
-
Ero
Replied:
(
3/16/2005
At
8:01 AM)
The AS has big error!!
static var SymbolName:String = "__Packages.com.flashweek.TestClip";
static var SymbolOwner:Object = TestClip;
static var SymbolLinked = Object.registerClass(SymbolName, SymbolOwner);
-
Pål
Replied:
(
3/16/2005
At
2:23 PM)
Ero, the code in the article works perfectly for me without any changes... just cut and paste...
Btw: I am currently looking into ANT builds on eclipse with MTASC tasks. Very interesting and usable tool!
-
JT
Replied:
(
3/16/2005
At
4:21 PM)
I couldn't get this stuff working on my Mac, but after some help from this article's author and the Flashout developer, I figured out the problems.
First of all, this stuff only works if you're using Eclipse 3.1. 3.0 gives you some some errors (I believe this is true for Windows users as well).
Second, the Flashout plugin doesn't work for Linux or Mac yet, but the next version will probably support these systems. You can still develop AS 2 projects though, you just can't view your swfs in the Eclipse IDE.
Third, you need to point the ASDT plugin and the Flashout plugin to the Macromedia Core Classes. In the basic Flash MX2004 installation, these are located at c:\\Documents and Settings\\\\Local Settings\\Application Data\\Macromedia\\Flash MX 2004\\en\\Configuration\\Classes\\.. If you don't own a copy of Flash MX2004, then you'll have to get these classes somehow. I don't think MM makes them available online (not that I could find anyways), so perhaps we can convince MM to make all their classes available.
Finally, for another Mac open source IDE alternative, you can develop AS in xCode, check out this:
http://blog.pixelconsumption.com/index.php?p=15
This option requires that you have a Flash MX2004 installation, as it uses JSFL to compile things. Perhaps someone will find a way to use the MTASC compiler instead, so that you can use xCode to develop AS 2 even if you don't own FMX2004.
Thanks again Carlos for the article. I've been waiting for this for a long time.
-
John Dowdell
Replied:
(
3/17/2005
At
12:49 AM)
"python_" wrote:
"However one major concern about the software is the documentation. I feel the documention for the ActionScript Language Reference requires more detail. AActionscript 2.0 has now become more of a programming language very simular to Java so more coders will now be at home and have more power."
For structure, coding conventions and best practices, try any ECMAScript reference. For individual DOM entries, have you tried requesting specific clarifications within LiveDocs?
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/js/html/wwhelp
Regards,
John Dowdell
Macromedia support
-
Jamie Pratt
Replied:
(
3/20/2005
At
1:12 PM)
Hi,
An intersting article, thanks Carlos.
I'm developing a module for Moodle an open source leaner management system distributed under the GPL. I've used phpobject to allow comms between Flash and Moodle which is written in php. It allows recording of grades in the moodle gradebook, recording of answers, etc. etc. PHP and Flash are a great combination for interactive activities.
See my site jamiep.org for more info.
Also for those interested in code libraries for Flash which are LGPL / GPLed. See php object at http://ghostwire.com Also Mako at http://flashpusher.net has produced some interesting code for rendering xhtml in Flash and scroll panes (site seems to be down though).
I would be interested in anymore code that is GPLed.
Jamie
-
Jamie Pratt
Replied:
(
3/20/2005
At
2:08 PM)
Hi,
Following up on my own post.
There is of course the very interesting Deng project :
http://claus.packts.net/
Deascription from Sourceforge.net :
"DENG is a modular class library written in OOP Actionscript 1, turning the Macromedia Flash Player 6 into a webbased, zero-install, cross browser/platform, modular and standards compliant XML/CSS2 browser."
I expect there is a lot of code there that could be reused in other GPL projects.
Jamie
-
narasiman.j
Replied:
(
3/23/2005
At
1:36 PM)
hai i am studing in II year B.Tech IT and i need uour help to imporve my knowledge in flash and aslo to participate in animation & game contest
thanking you
yours faithfully
narasiman.j
-
narasiman.j
Replied:
(
3/23/2005
At
1:41 PM)
hai
i have created and web site in name
www.spacetourism.bravehost.com/index.html and this website contains full of flash files and i when to display in system where no flash players in not available
-
stefan
Replied:
(
3/25/2005
At
8:59 AM)
carlos -
THANK YOU SO MUCH FOR YOUR CONTRIBUTION TO THE FLASH DEVELOPMENT COMMUNITY!
wonderful work.
stef
-
Philip Double
Replied:
(
3/27/2005
At
4:57 AM)
Carlos,
Great article. I hadn't looked into Eclipse in some time - I am a Mac user and it was always a bit clunky on that platform. After reading your article, I was inspired to give it another look. I am glad to say that performance on the Mac is dramatically improved. I had recently been looking to do what you explain here in this article, with XCode (If you are a Mac developer, you owe it to yourself to look into the work done by Sam Robbins at pixel consumption). I am very impressed with the improvements that have been made over the past year. Thanks again, Carlos, for opening my eyes to this option.
Phil
-
Darkblue
Replied:
(
3/27/2005
At
10:19 PM)
Thanks for sharing this, Carlos. I think I'll have a try at Flashout soon.
-
Philip Double
Replied:
(
3/29/2005
At
9:09 AM)
P.S. Do you know why flashout won't work on Mac? Is this something that could be easily resolved?
-
Carlos Rovira
Replied:
(
3/29/2005
At
11:18 AM)
Philip, please read comment 18.
btw, another link to note:
Image Injector: Round 2
http://www.richapps.de/?p=6#comments
-
nick
Replied:
(
3/29/2005
At
6:41 PM)
"I was blind and now i can see"
Thank u so much!
-
d~l
Replied:
(
4/1/2005
At
3:17 AM)
In following the tutorial I progressed as far as ..
___________________________________
"setting up the environment and creating a project in 10 steps"
6. Create the "src" and "deploy" folders. To accomplish this task right click the "Flash_OS_prj" project folder and select New > Folder.
___________________________________
but when I right click on Flash_OS_prj .. then New ..
there is no New > Folder option in menu ..
there are
Project
Example
Other
where is "New > Folder" .. to setup "src" and "deploy" folders?
...
Incidentally, to answer an earlier point, Macromedia Core Classes are available if the evaluation version of Flash MX is installed (no need to purchase Flash MX).
-
d~l
Replied:
(
4/1/2005
At
2:47 PM)
Sorry for posting the above problem too soon .. it seems that I had a corrupt installation of Eclipse (probably from playing around with earlier plugins). A fresh installation of Eclipse 3.0.1 has restored the full navigation menu, including New > Folder.
-
akin
Replied:
(
4/2/2005
At
7:25 PM)
hello, i appreciate ur effort in the frontline of flash application.
well i will like to have send to me some code that would enable me create button control page and how to reference actionscript with other language..
thanks!
then also how to display large text in flash dynamically with or without button control.
-
yassine(Hacker)
Replied:
(
4/9/2005
At
8:07 PM)
<noscript>
-
Gustavo González
Replied:
(
4/10/2005
At
8:18 PM)
Great article... i just want to add another reference about another FLASH-related open source project:
http://ktoon.toonka.com
Good Luck!
-
joe jordan
Replied:
(
4/12/2005
At
3:23 PM)
I dont have a MTAS folder. I have everything installed correctly. I been tring for hours trying to figure out what your talking about. Any help would be great. Thanks!!
-
d~l
Replied:
(
4/12/2005
At
5:14 PM)
referring to "MTASC folder" in step 2 .. go to ..
Windows > Preferences > ActionScript 2 > MTASC
-
joe jordan
Replied:
(
4/12/2005
At
5:23 PM)
But i dont have that folder in Eclipse not do i have a Windows > Preferences > ActionScript 2 > MTASC.
Just Windows > Preferences. I'm using Eclipse 3.0.2 does thta make a differnce?
-
Carlos Rovira
Replied:
(
4/12/2005
At
6:56 PM)
Please Joe upgrade your Eclipse to 3.1...(see comment 18)
Thanks.
-
joe jordan
Replied:
(
4/12/2005
At
7:04 PM)
but if you go to there web site you will see there is only 3.0.2 which i have
-
d~l
Replied:
(
4/12/2005
At
7:05 PM)
I would check that you have installed the plugins correctly as in the tutorial ..
ActionScript Development tool
http://sourceforge.net/projects/aseclipseplugin
asplugin .. expands to org.asdt_0.0.7
which you must place in c:\\Eclipse\\plugins
...
same with flashout plugin .. expands to com.potapenko.flashou_0.1.7.9
which is placed in plugins folder
...
MTASC is simply downloaded and installed in some convenient location .. say c:\\MTASC-1.0.3\\
then Windows > Preferences > ActionScript 2 > MTASC
should be setup to point to this location of the executable.
...
Restart Eclipse and run Project > clean to force loading of plugins.
-
d~l
Replied:
(
4/12/2005
At
7:38 PM)
Using Help > Find and Install I used the wizard to upgrade from Eclipse v3.0.1 to v 3.0.2 .. and this works for me
(I think that post #18 was an error .. referring to version "3.1" .. should be version "3.0.1").
Also go to Help > About Eclipse Platform > Plug-in Details
and check that you have (at least) these two plug-ins .. referred to in tutorial ..
POTAPENKO - Flashout Plug-in - 0.1.7.9 - com.potapenko.flashout
asdt.org - ActionScript2 - Plug-in 0.07 - org.asdt
-
joe jordan
Replied:
(
4/12/2005
At
8:36 PM)
i just upgraded to 3.1 ans still not seein gthe menus your talking about. Nevermind I'll stick with SE | PY.
-
sean
Replied:
(
4/15/2005
At
6:31 PM)
seeking a little help...
all goes well right up to step 9. i've got plugins installed, MTASC is pointed to. i've downloaded the flash mx trial to get the macromedia classes and pointed at them.
now step 9 seems to be assuming that a .swf file will be sitting in my deploy folder... no such luck.
MTASC is telling me 'no errors' and appears to be building, but i can't tell what. and nothing in the editor seems to give me the option of creating the .swf
any suggestions?
-
joe jordan
Replied:
(
4/15/2005
At
6:47 PM)
yeah just use either SciteFlash or SE | PY. because the who wrote this is no help and its just way to much work to get it work. I dont think guy is right with his tutorial some where. good luck.
-
sean
Replied:
(
4/15/2005
At
7:00 PM)
don't give up yet joe, it sounds like you only started a few days ago.
que'est-ce que c'est SciteFlash? i found their site, but it doesn't seem to offer a compiler. does it link to MTASC?
SE|PY looks like it's open-source as well...
but i've already started here and i'm interested in the eclipse editor so i'll push onwards
-
joe jordan
Replied:
(
4/15/2005
At
7:44 PM)
Yeah your right i did give up. I want to use it but its just to hard to get it to work. Here go to http://prdownloads.sourceforge.net/sepy/SEPY-ActionScript-Editor-1.0.6.68.exe?download
to download SE|PY. Yes, it uses MTASC but you have to configure it to do so. After you have SE | PY installed and make sure its version 1.0.6.68. GO to Tools >Preferences>MTASC and point to the MTASC exe. the MTASC is where ever you extrated the file. thats it. I love SE|PY it works great for me and way better then the flash compiler but as far as writing Java your gonna have to look for something else, but it is great for Actionscript 2 and oop pratices...as far as actionscript 1.0 i'm not sure if it supports it.
-
d~l
Replied:
(
4/15/2005
At
8:31 PM)
These tools are all very good .. and there is no reason to stick to using only one tool ..
Eclipse has the advantage of having many sources of plugins (e.g. PHPEclipse) to draw upon.
SE|PY is elegant and has a useful Flash API.
Scite also is good .. and there are other like tools ..
In the Eclipse configuration (step 9) I just created a blank text file and renamed it to test.swf, placed it in deploy folder, then pointed to this dummy file.
Has anyone got http://www.as2lib.org ActionScript classes to compile in this Eclipse IDE? I tried.
-
joe jordan
Replied:
(
4/15/2005
At
8:43 PM)
i'm tryin gto use Eclipse IDE but i always get this error when i run the compiler;
C:/Program Files/Macromedia/Flash MX 2004/en/First Run/Classes/mx/controls/SimpleButton.as:449: characters 28-31 : type error Cannot access member variable frs in static function
plus Eclipse has no syntax checker
-
d~l
Replied:
(
4/15/2005
At
8:55 PM)
Can't help on that first problem .. but being curious, a quick google search found these references over at MTASC mailing list .. the compiler errors are similar ..
http://www.google.com/search?sourceid=navclient&ie=UTF-...
what version of MM classes are you using?
...
Regarding syntax checking I have added Eclipse colorer plugin .. go to Eclipse plugin downloads and hunt around.
-
d~l
Replied:
(
4/15/2005
At
9:00 PM)
long web links don't seem to work too well here !
try putting the phrase "Classes/mx/controls/SimpleButton.as" into a google.com search .. there are two hits found.
-
joe jordan
Replied:
(
4/15/2005
At
9:26 PM)
but i'm just using the example above bo SimpleButton class
-
joe jordan
Replied:
(
4/15/2005
At
9:44 PM)
sorry i'm not using a SimpleButton class
-
joe jordan
Replied:
(
4/15/2005
At
10:17 PM)
Ok i figured it all out...not bad but is there a way for you to get:
1.) line numbers to show
2.) a check syntax button for MTAS compiler kinda like SE|PY? Its kinda a pain to have to go to the flashout and hit compile
-
d~l
Replied:
(
4/15/2005
At
10:39 PM)
found in Eclipse help ..
1) window > preferences > editors > text editor > tick .. "show line numbers"
2) you could setup short cut keys to run a compile sequence if you prefer
-
sean
Replied:
(
4/15/2005
At
11:55 PM)
hooray!!!
i found a little bug. in the Flashout plugin on the 'Compilation Preferences' tab, it asks for the path to the swf. when i clicked the browse button, the open dialog asks me for an actual .swf file, but would not let me simply select the directory i wanted the file to land in.
so my assumption was that the editor should have already left me a tidy little .swf there for me to select. every time i clicked :::COMPILE::: i got no errors but the compiler didn't leave me my pkg.
i got around this by typing in the path and adding the name of the .swf i wanted to create.
which should i be submitting this to?
the actionscript plugin or the flashout?
thanks for your help all
:o)
-
d~l
Replied:
(
4/16/2005
At
1:23 AM)
here is another unsolved puzzle ..
following on from use of shortcut keys (see earlier)
open the test.as actionscript file in tutorial
go to toolbar | Source | Check with MTASC (Cntrl + Shift + C)
nothing happens .. !
window > preferences > keys shows the settings ..
-
Faisal Agil
Replied:
(
4/19/2005
At
7:15 PM)
A Picture's Worth 1000 Words
see link:
http://www.laszlosystems.com/
http://www.laszlosystems.com/demos/
http://www.openlaszlo.org/
-
d~l
Replied:
(
4/19/2005
At
7:38 PM)
I'm already using Laszlo Presentation Server .. but LPS uses ECMAScript not ActionScript 2.0.
Try decompiling a Laszlo compiled SWF.
I'm exploring this Eclipse IDE here .. to compile swf files to be as assets into Laszlo canvas.
In short, there is a need for both IDE's.
-
John
Replied:
(
4/20/2005
At
11:37 PM)
After a little struggle, I've gotten this to work with the help of the above comments. I'll explain what I did in hopes of helping others, clearing up questions raised above (and having a record for myself). It's pretty close to the original, but with just a few explanatory changes that might avoid problems. *Plus* I added a step that may help those of you combining the Flash tool with Open Source. I did this install on Win2000.
1. Get and install Eclipse 3.0.2. Version 3.0.1 did not work for me. (There *is* a version 3.1, but it's currently at Milestone M6, which I suppose means it's not an official release. 3.1 seems to work fine, except when I exit I get a bunch of "An error has occured; see error log for details.")
2. Get MTASC, ASDT, and Flashout. Unzip MTASC to a place of your choosing. Extract the ASDT and Flashout to your Eclipse folder. DO NOT create a nested plugins folder (.../plugins/plugins/...) Rather, if you unzip correctly you will add 2 new folders to the eclipse/plugins folder, one for ASDT (org.asdt_0.0.7) and one for Flashout (com.potapenko.flashout_0.1.7.9).
3. Start Eclipse and go to Window > Preferences. If you've done step 2 correctly, you should see 2 new categories named "ActionScript 2" and "Flashout". Expand "ActionScript 2" and click "MTASC". Click "Browse" to specify the location of your mtasc.exe.
4. Under "ActionScript 2", click "Pathes" [sic]. I own Flash, so I was able to specify the core classes by browsing to c:\\Documents and Settings\\\\Local Settings\\Application Data\\Macromedia\\Flash MX 2004\\en\\Configuration\\Classes. If you don't own Flash, perhaps it's valid to get the free Trial Version to provide the classes?
5. Under "Flashout", browse to specify the location of your mtasc.exe and your core classes, as you did in steps 3 and 4. Close Preferences.
6. Select Window > Customize Perspective. Verify you're on tab "Shortcuts" and Submenu "New". Check "ActionScript", which causes 2 shortcuts to also be checked.
6. Go to the Eclipse Workbench and find the Navigator window (by default, in the upper left.)
Follow the original tutorial's steps 5, 6, and 7 (enter project name, create src and deploy folders, add src to classpath). Note: specifying the Classpath can be problematic, as there's no Browse button. This doesn't seem so bad because the dialog tries to warn you when the path you've typed doesn't exist. However, it can be fooled! If your path should be "src/scripts", it thinks the path is valid if you just type "scripts". Be careful.
7. Do step 8 from original tutorial EXCEPT name the class Test (not Test.as).
8. Do step 9 from original tutorial with the following clarifications:
* Path to swf: Browse to the folder where you'd like Eclipse to generate the swf (probably the "deploy" folder). Then at "File name:", type in the name for your file.
* Root (main) class: Browse to your freshly created Test.as.
* Additional params for compilation: -header 800:600:20
9. Press :::COMPILE::: and you should see "Hello FlashWeek!!!"
10. (New but perhaps obvious to most of you) To combine your Open Source development with an SWF that you can only have generated with the proprietary Flash tool, add a line to the Test constructor like this: scope.loadMovie("file:///c:/path/to/your/proprietary-tool-generated.swf");
-
Carlos Rovira
Replied:
(
4/24/2005
At
2:33 PM)
Two more links :)
Jesse Warden slideshow example:
http://www.jessewarden.com/archives/2005/04/image_slideshow.html
And via Keith Peters, an XML generation script for swfmill:
http://dynamicflash.com/2005/04/library-dot-py-01/
-
somaboy
Replied:
(
4/27/2005
At
3:33 PM)
Interesting article,
But it's a shame you didn't mention MING (http://ming.sourceforge.net), an open-source SWF output library for languages like PHP, Python, C etc.
.somaboy
-
Nek
Replied:
(
5/11/2005
At
1:40 AM)
Great article!
I've tried the tutorial. It worked for me.
-
r0main
Replied:
(
5/13/2005
At
10:51 AM)
Hello,
is there a way to provide Flex MM core classes instead of Flash ones ?
So I can throw away that crappy Flex Builder...
(when will someone do a Flex Debugger + Flex Network Monitor Eclipse plugin ? :-) )
Ciao, r0main
-
Patrick
Replied:
(
5/19/2005
At
7:41 PM)
great tutorial carlos.
thanks!
-
dk
Replied:
(
5/20/2005
At
12:37 AM)
RE: CONS
* There's no way to embed images and rich media in the SWF.
Ming can compile MX Actionscript and embed images, stream mp3s, and embed flash video .flv files also and is GPL
http://ming.sourceforge.net
-
Lee Tambiah
Replied:
(
5/22/2005
At
6:15 PM)
Hi,
Has anyone successfully set up the actionscript eclipse environment for Linux?
I followed the setup instructions, however when i add a new file to create the .flashout utility i am presented with an error that says "Unable to create part:". Any ideas as to what is wrong here?
-
ishraam
Replied:
(
5/26/2005
At
4:13 AM)
Same pbm here
-
Marcin
Replied:
(
6/2/2005
At
3:24 PM)
I set as You writed, but I get an error:
"C:/Program Files/mtasc/mtasc.exe" -swf "C:/Program Files/eclipse/workspace/Flash_OS_prj/deploy/Test.swf" -cp "c:/Program Files/eclipse/workspace/Flash_OS_prj/src" -main "C:/Program Files/eclipse/workspace/Flash_OS_prj/src/Test.as" -cp "C:/Documents and Settings/marcin/Ustawienia lokalne/Dane aplikacji/Macromedia/Flash MX 2004/en/Configuration/Classes"
Fatal error: exception Sys_error("C:/Program Files/eclipse/workspace/Flash_OS_prj/deploy/Test.swf: No such file or directory")
-
Steve
Replied:
(
6/3/2005
At
9:43 AM)
ok, i know that some people really do love the command line stuff and having to do everything by hand and not visually, but im not one of those people, so my question is:
Is there an imitation of Macromedia Flash MX for Linux that uses .fla file extensions and creates .swf's? If there is please email me the site, btw it would be nice if they were free .rpm's, thnx...
i probabaly sound stupid asking this, but its something thats been bothering me for a really really long time...anways...thnx...
-
shlok
Replied:
(
6/3/2005
At
9:06 PM)
Good article. I am desperately looking for opensource Flash alternative on Linux. Does anyone has the .swf on web that has been mentioned as an example in this article??
Also has anyone tried OpenOffice Impress to generate .swf ?? I did try it, but could not get animation working in it............
It definitely generates .swf files though!
And who says OpenSource is not strong?? I read a comment somewhere in this article follow...
Try:
1. Openoffice [Any platform]
2. Linux in dual mode!!
3. Gimp.
4. Apache
5. JBoss
6..........
All above are open source. List is endless. And this is just the beginning :))
-
Little Dragon
Replied:
(
6/7/2005
At
8:27 PM)
Thank you for this information. I have been perusing the original article and the comments and wondering if anyone could respond to this request. I can program, but I don't have all these IDEs set up. I support a small website for a non-profit so I can't afford a copy of Macromedia Flash. I'd like to change just the buttons on a single header file. So, I don't need to fix the background, any graphics, movement, or anything. I just have 5 buttons and I need to change the code in one of them. I would like to know if this open-source setup could be adapted to this single requirement. It looks like I could install this "suite", view my SWF, write the button code, compile it, and view the results. This seems a lot of overkill for just an edit to a link. And while I had access to a PC with a trial copy in the past, my own system is Mac OS X (10.3.9). Big question: Is there a utility available to perform this simple function? If not, is this IDE suitable to the task? Can you identify the tools I would have to have running? Thanks to any expert who can advise me. I really appreciate the expertise of this community.
-
d~l
Replied:
(
6/9/2005
At
1:03 PM)
Little Dragon, this free tool Flasm might just help you ..
http://www.nowrap.de/flasm.html
read usage first ..
to disassemble your existing "button.swf" into swf bytecode
run command flasm button.swf
inspect flasm created file "button.flm" (you might be able to change some bytecode)
save edited button.flm
run command flasm -a button.flm
check amended button.swf.
....
Another opensource project to look at is http://www.openlaszlo.com and http://www.laszlosystems.com.
Although Laszlo installs a bundled tomcat server on your PC, Laszlo can also be used to generate "stand alone" (serverless) swf files (SOLO mode). And you can import existing swf files.
More here .. http://openlaszlo.org/tips/2005/solo/
There is also an Eclipse plugin for laszlo, so it can coexist with the configuration described in this thread.
....
Then, you might try the free edition of Kinetic Fusion ..
http://www.kinesissoftware.com/download/index.php
SWF files can be disassembled, edited and reassembled.
But ActionScript 1.0 only in free (dated) edition.
-
Basem Asfoor
Replied:
(
6/12/2005
At
9:54 PM)
I am interested in getting the new Flash Lite player. Macromedia's site has it tied to the mobile Handset IMEI number and wants $10 a copy. If I have 10,000 customers, I am not going to ask them to pay over $100,000 for the player. Anyone who can offer alternative suggestions is welcome to contact me.
Thank you.
Basem Asfoor
basfoor@wadimobile.com
-
iuliu
Replied:
(
6/13/2005
At
2:37 PM)
Hello there! Great work with the FAME!
Does anyone know if FAME has any debugging capabilities?
Best,
Iuliu
-
Binay
Replied:
(
6/22/2005
At
3:13 PM)
Question: How we can write on .swf files with scripting? I heard that in an older version of Swish, text was written in seperate .txt file. Is this true?
-
dan lundmark
Replied:
(
7/15/2005
At
10:17 AM)
I'm suprised OpenLazlo has not been mentioned. (http://www.openlaszlo.org/) It is open source, plugs into Eclipse, and allows for visually complex application development without the Flash IDE. Here is a nice guide to using OpenLazlo: http://star-techcentral.com/services/printerfriendly.asp?file=/2005/6/21/prodit/11235219&sec=prodit&new=&cat=
-
d~l
Replied:
(
7/15/2005
At
7:47 PM)
openlaszlo was mentioned briefly in post 72 above.
-
Dan Lundmark
Replied:
(
7/15/2005
At
11:41 PM)
thanks d-l for pointing that out - I missed that post.
Another open source tool I used a few years ago is JGenerator - it's fast: http://www.flashgap.com/
A couple other open source Flash tools I came across recently, but have not tried yet - Freemovie for PHP or Ruby (http://freemovie.sourceforge.net/) and for Flash based IM, the XIFF library (http://www.jivesoftware.org/xiff/).
-
WIS
Replied:
(
7/20/2005
At
1:11 PM)
Where I can get a good example of flash and VB Integration.
-
adampasz
Replied:
(
7/30/2005
At
11:44 PM)
For another FAME tutorial, including screenshots, check here: http://www.pasz.com/articles/installmtasc
-
Ben Allfree
Replied:
(
8/3/2005
At
3:59 AM)
What about exceptions that get logged to the output window in MX 2004? Those might use trace() internally, is there any way to override trace() completely?
-
adampasz
Replied:
(
8/5/2005
At
7:05 PM)
Jesse Warden has a nice post about tracing. I imagine you could integrate this with exception handling. See http://www.jessewarden.com/archives/2005/05/fame_chronicles_1.html
Also, note that the trace syntax has changed with the new version of Flashout. All you do is:
Flashout.debug("message");
Flashout.info("info here");
I'm still doing some research, but I will put some info up about tracing on my site soon...
-
dan lundmark
Replied:
(
8/6/2005
At
12:42 AM)
I've not seen the OSFlash wiki mentioned on this page yet. "OSFlash is a community-run resource site for open source Flash projects and tools."
http://www.osflash.org/
The OSFlash site offers many resources, Eclipse FAME/FLAME tutorials, Flash 8 "hidden gems" wiki, SVN (subversion repository) project hosting, and other developer tools.
-
Matthew
Replied: