Netflix API in Tour De Flex

tourdeflex

Just quickly throwing this out. This week 2 examples of the Netflix AS3 API were added to Tour De Flex. These two examples show off some basic service calls and authentication. Hope this helps others if they are wanting to create an application with Netflix/Video information.
Read the rest of this entry »

  • Share/Bookmark

Building ASDocs with ANT

In this running series of creating an ANT script to run your Flex based life I feel like we’ve reached some midway point. We have our application being built off of a Flex Library, building the default Adobe html-wrapper along with our own custom wrapper while keeping the non-embedded assets intact.

Now I feel is a good time to start taking care of the more advanced parts of our discussion: documentation, unit tests, and automated testing. Right now, documentation.
Read the rest of this entry »

  • Share/Bookmark

Building a Library and Application with ANT

Now we have two ANT build files, one for the project and one for the library. What if we want the build file to build the library, store the swc, and then build the application with the newly created swc. These are the next steps we need to take to ensure a brand new clean build each time we make our application.

This is the step that things get a bit hairy – at least more so then it was in the past. Our current steps look like:

Now we need to go a bit further and do some better cleanup then we were doing previously. In this step we will also become much more tied to the computer that is running the build file. I say this because we will be reaching cross projects and no longer is everything going to be simple paths from the base directory. This isn’t an issue and can all be handled in the build.properties for every environment, but still just another hurdle. When we end this step our build process will look like this:

*Denotes new functionality
Read the rest of this entry »

  • Share/Bookmark

Including Assets Files with ANT

Building off of the last few posts, we are continuing to build our one big ANT file that will build your amazing Enterprise Application.

As you are building your application you probably also have a set of assets that aren’t embedded in your final SWF file. Flex/Flash Builder automatically adds this file into your bin and release files, but we need our build script to do the same. Achieving this trick is pretty simple.
Read the rest of this entry »

  • Share/Bookmark

Building a Custom HTML Wrapper with ANT

In the last part of this series you left with the ability to automatically generate your html-wrapper with the FlexTasks.jar provided html-wrapper task. This is extremely helpful, yet troublesome if you need even the smallest change to the html wrapper provided.

In many applications you’ll probably want the application focused by default, this javascript reliant functionality is not provided in the html-wrapper templates and there is no way to change the template files when using the html-wrapper FlexTask task. Now we need to create a custom wrapper and use ANT to produce it everytime we build our application.
Read the rest of this entry »

  • Share/Bookmark