xJSFL Installation

Categories:Quick Start

Installing xJSFL

xJSFL will run on Adobe Flash CS3 and up.

Installing the framework is simple:

  1. Download the latest files from www.xjsfl.com/download
  2. Unzip the core framework folders (core, user, modules) to a new xJSFL folder, anywhere you like
  3. Run install.jsfl by double-clicking on it
  4. Click OK when you see the confirmation dialog box
  5. Restart Flash

If all goes well, you should see something along the following lines:

=================================================================

           ██  █████ ██████ ██
           ██ ██     ██     ██
  ██ ██    ██  ████  █████  ██
   ███     ██     ██ ██     ██
  ██ ██ ████  █████  ██     █████

=================================================================

  The Rapid-Development Framework for Extending Adobe Flash

  @see licence at http://www.xjsfl.com/license

> xjsfl: RUNNING CORE BOOTSTRAP...
> xjsfl: installation location: "E:/Projects/xJSFL/"
> xjsfl: loading proxy classes...
> xjsfl: loading xjsfl...

> xjsfl: LOADING CORE CLASSES...
> xjsfl: loading library: Globals
> xjsfl: loading library: Utils
> xjsfl: loading library: URI
> xjsfl: loading library: URIList
> xjsfl: loading library: Output

> xjsfl: ADDING SEARCH PATHS...
> xjsfl: added 1 search paths for "{flash}xJSFL/"
> xjsfl: added 28 search paths for "{core}"
> xjsfl: added 27 search paths for "{user}"

> xjsfl: LOADING SUPPORTING CLASSES...
> xjsfl: loading library: File
> xjsfl: loading library: Class
> xjsfl: loading library: FileSystemObject
> xjsfl: loading library: Folder
> xjsfl: loading library: Module
> xjsfl: loading library: Config
> xjsfl: loading library: XML
> xjsfl: loading library: Table
> xjsfl: loading library: PropertyResolver
> xjsfl: loading library: Template
> xjsfl: loading library: Collection
> xjsfl: loading library: ElementCollection
> xjsfl: loading library: ElementSelector
> xjsfl: loading library: Context
> xjsfl: loading library: Selectors
> xjsfl: loading library: Iterators
> xjsfl: loading library: Selector
> xjsfl: loading library: ItemCollection
> xjsfl: loading library: ItemSelector
> xjsfl: loading library: FLfile
> xjsfl: loading library: ActionScript
> xjsfl: loading library: Events
> xjsfl: loading library: Flash
> xjsfl: loading library: JSFLInterface
> xjsfl: loading library: PublishProfile
> xjsfl: loading library: Superdoc
> xjsfl: loading library: Logger
> xjsfl: loading library: SimpleTemplate
> xjsfl: loading library: Bounds
> xjsfl: loading library: Point
> xjsfl: loading library: Color
> xjsfl: loading library: Matrix
> xjsfl: loading library: Date
> xjsfl: loading library: Function
> xjsfl: loading library: JSON
> xjsfl: loading library: RegExp
> xjsfl: loading library: String
> xjsfl: loading library: UI
> xjsfl: loading library: XUL
> xjsfl: loading library: XULControl
> xjsfl: loading library: XULEvent
> xjsfl: loading library: XULBuilder
> xjsfl: loading library: Source
> xjsfl: loading library: Timer

> xjsfl: INITIALISING MODULES...

> xjsfl: REGISTERING MODULE "SAMPLE MODULE"
> xjsfl: added 6 search paths for "{Sample}"
> xjsfl: assets are already up to date

> xjsfl: REGISTERING MODULE "SNIPPETS"
> xjsfl: added 11 search paths for "{Snippets}"
> xjsfl: assets are already up to date

> xjsfl: RUNNING USER BOOTSTRAP...
> xjsfl: ready!

=================================================================

The installation process copies a few key files to your Flash configuration folder, but the framework itself will run from your chosen installation location.

Please do note that:

  • The xJSFL installation folder can be placed anywhere except the Flash configuration folder
  • If you decide to move the folder, you will need to run install.jsfl again

Next steps

If you're a designer, click here to find out how to run your first script.

If you're a developer, click here to learn how to install and set up Komodo.

 

 

10 Responses to xJSFL Installation

  1. Steven Stark says:

    Two things to note:

    1) You can not install this if you put the xJSFL folder inside of Commands ( which I did my first try )

    2) The current head revision does not install.

  2. Steven Stark says:

    Just a follow up comment:

    The head commit is a WIP commit ( it was done today ), and I stepped back until I found the most recent commit that does install, which is 2a73a94

  3. Dave Stewart says:

    Nice catch about the Commands folder. I’ll add an extra check to the install routine.

    Yeah, I’ve been pretty sloppy about developing new features in a branch, so master end up being full of whatever I’m working on at the time! Sorry about that. I’ll do a fresh install check on my mac in a minute and will hopefully get something up in the next hour or so.

    Thanks for reporting these issues.

  4. Owen Bennett says:

    Hey,

    I can’t find a version that will install. I’ve stepped back quite a number of commits, but I just get “The following JavaScript error(s) occurred:
    ” (love the error messages JSFL gives you!)

    I’m running Flash Pro CS5.

    Thanks,

    Owen

  5. Dave Stewart says:

    Sorry Owen,

    The latest beta should be good to go.

    https://github.com/davestewart/xJSFL/tree/Beta2b

    Things have been held up in the last few weeks with client work, but I’m hoping to release the final 1.0 release this week, assuming no show-stopping scenarios.

  6. Owen Bennett says:

    Still no joy I’m afraid. It outputs:

    > xjsfl: INSTALLING xJSFL…
    > xjsfl: loading proxy classes…
    > xjsfl: loading xjsfl…

    > xjsfl: LOADING CORE CLASSES…
    > xjsfl: loading library: Globals
    The following JavaScript error(s) occurred:

    Owen

  7. Dave Stewart says:

    OK, this is a CS5 thing. It gobbles the error messages, which is a f-ing pain in the ass. Try the same install on CS4 and see how you go. Any more questions I’ll happily answer on the forum

    :D

  8. Sebastian Gomis says:

    Not installing on CS6, I got an alert warning about a bug in versions higher than CS5 that outputs empty javascript erros. Then it just stopped…

  9. Dave Stewart says:

    It will still install. The warning is just there for developers who won’t be able to see errors when then develop JSFL.

  10. Daniel says:

    CS4+ Debugging Output Fix

    Tested in FlashPro CC/CS7: Publish Settings > Permit Debugging (check-box)
    untested but my CS6 also has Publish Settings > Permit Debugging
    so I assume CS5 also has the option as well.

    and you get your javascript error/s trace output back.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>