[osflash] coda for actionscript?

henrik weber hw at freemind-design.de
Thu Aug 28 03:12:34 PDT 2008


agreed niels ;)

what i had in mind was a button (or a script you can run from coda's 
script panel)
that kicks off the ant-task... does this make sense?

here are a few links dealing with similar problems:
http://osflash.org/pipermail/osflash_osflash.org/2006-March/008033.html
http://blog.simongregory.com/07/textmate-jsfl-bundle/
http://mabblog.com/blog/?p=6

what i came up with now (as a dirty solution) is an applescript that 
opens a jsfl-
file to compile in the flash ide... would be sweet if we could extend 
this to enable
compilation with mtasc and flex-compiler.

the jsfl does nothing special:
flash.getDocumentDOM().testMovie();

really a pitty that we don't have (?) as3-syntax support for coda yet...

greetz!
henrik

Niels Wolf wrote:
> I would say one purpose of ant is to automate build processes and I 
> guess you can write something similar in applescript as you do in ant 
> or make..
>
>
> On 8/27/08 9:04 PM, "henrik weber" <hw at freemind-design.de> wrote:
>
>     cheers tyler,
>
>     thx for your feedback; this looks cool though it might become
>     pretty pedantically... ;)
>
>     maybe there is a solution to compile with flash (like flasc did
>     or like textmate/xcode do) that could be triggered via apple-
>     script or someone found a solution how to automate the build-
>     process via ant?
>
>     additionally: does anyone know whether there is as3-syntax
>     support available for coda?
>
>     best!
>     henrik
>
>     Tyler Larson wrote:
>
>
>
>          
>          
>         I would suggest using ANT.
>          
>         Every project will need a build.xml file, when you want to
>         compile you will have to switch to the terminal tab in coda
>         and type "ant" ever time you want to compile. I dont know if
>         there is a better why.
>          
>
>          
>          
>         Here is a simple ANT build file for compiling with the mxmlc,
>         you will need to fix all of your paths for this to work.
>          
>
>          
>          
>          
>         <project name="yeah!" default="compile">
>          
>            <target name="compile">
>          
>                <exec executable="/opt/flex/3.0.0/bin/mxmlc">
>          
>                     <arg line="-output=../bin/main.swf"/>
>          
>          <arg line="Main.as"/>
>          
>            </exec>
>          
>            </target>
>          
>         </project>
>          
>          
>
>          
>          
>          
>          
>         On Aug 27, 2008, at 10:07 AM, henrik weber wrote:
>          
>          
>
>
>              greetings!
>              
>             i know there are some peeps using textmate or xcode on a
>             mac for
>             as-development, but has anyone already made experiences
>             with coda?
>              http://www.panic.com/coda/developer/
>              
>             what is *really* interesting (in my eyes) are the
>             possibilities regarding
>             online collaboration...
>              
>             my question (i'm not into applescript at all *g*): anyone
>             keen to spit out
>             some kind of flash/mtasc/flex-compiler integration?
>             similar to what is al-
>             ready possible from textmate or xcode?
>              
>             any hints where we might find articles about this
>             combination or am i
>             the only one that is taking coda into consideration as an
>             additional editor
>             for my beloved eclipse? ;)
>              
>             thx in advance!
>              
>             henrik
>              
>               
>             --
>             __digital spices__
>             Henrik Weber
>             [MediaDesign&FlashDevelopment]
>             home: www.digitalspices.com <http://www.digitalspices.com>
>              
>             _______________________________________________
>             osflash mailing list
>              osflash at osflash.org
>             http://osflash.org/mailman/listinfo/osflash_osflash.org
>              
>
>
>          
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20080828/6bfdcb6e/attachment.html 


More information about the osflash mailing list