In order to be considered for the Flex position we ask you to complete the following steps.
Note: This task should take no longer than 1 hour to complete. Please read the entire project spec before you start work.
- This task requires some ActionScript3, Flex and git knowledge.
- You will need to have a Flex IDE (Flash Builder ideally) installed to complete this task.
- The goal is to build a simple LaTeX editor which returns a gif image to Flex based on an equation the user enters into a text field similar to the one you can see at http://www.codecogs.com/eqnedit.php. The user can also click buttons to create the equation.
- Fork this public repository (if you don't know how to do that, Google is your friend)
- Create a Flex 4 project with a src folder to contain your code.
- In the src directory, please create a Flex app that accomplishes the following:
- Provide a text input field to the user to enter equation text
- Provide 3 buttons with LaTeX symbols of your choice which, when clicked, add the clicked symbol into the text field (see http://www.codecogs.com/eqnedit.php for an example). If you have time feel free to add additional buttons
- Requests/loads new image data by HTTPService from 'http://latex.codecogs.com/gif.latex?\LARGE%20\bg_white%20[equation]' upon every change of the text field. A valid example for the equation 1+1 would be 'http://latex.codecogs.com/gif.latex?\LARGE%20\bg_white%201+1'
- Display the image data returned from the HTTPService in an image underneath the text field
- Comment your code where you feel appropriate
- Commit and Push your code to your new repository
- Send us a pull request, we will review your code and get back to you