See snapshots of what Colin is doing in real-time.

Join now and start following @skittle.

Get the Kontain app and take your own snapshots!

View all of skittle's updates Kontained: 6 months ago

Generator - AIR Application

Displaying: 1 of 7

Over the past year I've created a series of JSFL Window SWF's for Flash that helped streamline my productivity and make everyday chores a little easier. The downside to restricting myself to JSFL is that I needed to be within Flash to use those panels. Over the weekend I decided I wanted to convert those 3 panels into 1 AIR application. In short, the application is split up into 3 main sections, Class, Comment and Project.

 

The Class section generates a class based off a template structure. It auto-fills  a few fields within my class:

The first field is the package. Based off where you save your class, it auto-detects the package and fills it in for you.

The next field is the date, setting a "@modified" parameter to the class's description of the date the class was created.

Third is the user's name, titled "@author Colin Duffy". This can be changed within the 4th panel of the Application, "Options".

Last is the class's name. It auto-fills the Class Name, the Constructor, and writes a toString() method that returns the name of the class. In the example above, because the class extends a MovieClip, the toString() method begins with an "override" statement.

 

The Comment section proofreads the comment to make "ASDoc" friendly. The "Block Comment" option is for comments between methods that go along my class template structure. It's mostly focused on created dividing lines in code to organize similar methods.

 

The Project section does 2 things. First it generates a series of folders to organize all your project's files. After that, it copies the specified classes into their correct folder packages. In the image above, there are only 3 class options, but because this application runs on XML, it is just as easy to add classes to their correct Class Pairing, or add more options.

 

The final section, Options, only has 2 options as of right now. The first gives the user control of changing their User Name for when they create classes. The second gives you the option of having the AIR App "always on top".

 

There's still a few items left I want to work on before releasing to the public. My JSFL command for Generating Projects copies over FLAs with parameters the user gets to set (See image above). As of right now you can't edit FLA files or run JSFL commands from AIR, though from my understanding there is the option of creating a BAT file that can handle that (still looking into it).

Share this entry

Close
Invalid e-mail format, please try again

Your friends will be notified via email about this entry.

Remove Email

You are about to remove the selected emails from your list. Are you sure you want to remove them?

Yes
Cancel
Select All Deselect All Remove Selected

Report Inappropriate Content

Close
Details
Operations

Thank You!

The safety and legitimacy of Kontain's content is paramount to us. We will be investigating this content shortly. Here is what you reported:

Report Category Harmful of Dangerous Acts Report Detail Drug Abuse
Additional Information

Lorem ipsum dolor sit amet consectetuer adipiscing elit penubrum purous

Comments (4)

To add comments please login OR signup and activate your account by clicking the activation link in the signup confirmation email.

skittle

82 Updates

Designer
  • First Name:
  • Last Name:
  • Location:
  • City:
Twitter:
Website:
Bio:
Loading…
  1. Stevo

    Stephen Martin


    141 Updates Updated: 5 hours ago
  2. David

    David Martin


    1048 Updates Updated: 12 hours ago
  3. claireabelle

    Claire S


    8 Updates Updated: 12 hours ago
  4. Fi

    Fi


    229 Updates Updated: 20 hours ago
  5. Jens Fischer

    Jens Fischer


    76 Updates Updated: 45 hours ago

Previous / Next Updates

More From Colin

Copyright © 2010 Kontain LLC. All rights reserved