• Home
  • About Me
  • AIR Central
  • AS3 Libs
  • Books
  • Flex Central
  • Resources
  • The Guru's
  •  

    Eclipse for Flex Development

    Although I love PrimalScript for Flex development on my pc, I was looking for a development tool to use on my Mac.  I have been using eclipse for Java delopment on both pc and mac and have heard of others using it with several plugins for Flex (OxygenXML editor $$ and ActionScript 2 Plugin Free)  so I went through the setup today and documented it below.

    If you do not already have eclipse you can download it for free at eclipse.org.
    You will also need a get trial license for OxygenXML here or myEclipse here

    First we will install the OxygenXML plugin for .mxml files or you can choose the myEclipse plugin instead.

    OxygenXML Install

    1. Choose Help -> Software Updates -> Find and Install
    2. Choose Search for new features to install and click next
    3. Create a new Remote Site Name: OxygenXML URL:http://www.oxygenxml.com/InstData/Eclipse/site.xml
    4. Check the box next to the new OxygenXML remote site and click next
    5. Complete the install of the oXygen XML Editor and XSLT Debugger

    Now that the plugin has been installed and you have restarted eclipse, just complete the following.

    1. Choose Window -> Preferences -> Oxygen -> Editor -> Tag Insight -> Default
    2. Click new
    3. Namespace: http://www.macromedia.com/2003/mxml
    4. Root local name: <ANY>
    5. File name : <ANY>
    6. Schema Type: XML Scema
    7. Schema URI:  Browse to your mxml.xsd file located in your flex install root\extras\schema
    8. Move your new entry up to the top of the list
    9. Click OK
    10. Choose Workbence -> File Associations
    11. Click Add and type .mxml as the file type and hit ok
    12. Scoll the list of file types and select *.mxml
    13. Add Oxygen XML Editor as the default editor
    14. Choose Window -> Prefernces -> General -> Content Types -> Text -> XML -> Oxygen XML
    15. Click add File Type: *.mxml and click OK

    myEclipse Install (instead of Oxygen)

    1. Windows -> Preferences -> Workbench -> File Associations
    2. Add “.mxml” and associate it to MyEclipse XML Editor
    3. Windows -> Preferences -> MyEclipse -> Editors -> XML -> XML Catalog

      One Response to “Eclipse for Flex Development”

      1. Flex Development Says:

        Hey,

        thanx for the nice tips. I will surelly use some of them!

      Leave a Reply