Header Image - charles newman's blog

Flex Builder Warning – “Source path entry, …, is a subdirectory of source path entry”

by Charles Newman

If you have two Flex projects sharing the same parent folder like this:



and ProjectTwo refers to ProjectOne in the “Flex Build Path” settings, you’ll get this warning:

Source path entry, ‘/Users/your-name/Documents/your-dev-path/ProjectOne’, is a subdirectory of source path entry, ‘/Users/your-name/Documents/your-dev-path/ProjectTwo/src’.

I don’t know about you, but compile warnings really bug me.  If there is really a problem, I’ll address it directly, but in this case, there is nothing wrong. So to remove this warning from your build, add this to your compile settings:


OSMF – Sprint 11 release now available (aka “FC1”)

Sprint 11 is the feature complete release of OSMF.  Lots of bugs were fixed for this release including the bug I mentioned in the Sprint 10 release blog post below about the MAST plugin and the SMIL plugin not working together.  In fact, in the AkamaiPluginSample all of the plugins are working nicely together.  This sample app has become the sample for demonstrating many of the OSMF plugins that reside in the OSMF repository.

For more details on this release, see this blog entry:


OSMF – Sprint 10 release now available for download

If you’ve been waiting for OSMF (Open Source Media Framework) to settle down, now is the time to dive in. This sprint was largely about locking down the API, but we added a few features as well:

  • DVR Support. OSMF now supports DVR via Flash Media Server’s server-side DVRCast application. This feature allows clients to jump back in time while viewing a live stream.
  • Syndication support (Atom 1.0, RSS 2.0, plus iTunes and Media RSS extensions).  You’ll see a new AS3 library in OSMF that can parse all of the major feed formats, plus the media-centric RSS extensions.  I’ve also updated the Akamai Plugin Sample app to load and parse an RSS feed and display a playlist.  If you load the MAST plugin before loading the RSS feed, you get a pre-roll ad before each video in the playlist. Note there is a bug with the MAST plugin and the SMIL plugin working together, I’m hoping to address this ASAP.
  • Extended HTTP Streaming Support. OSMF now supports subclips for HTTP-streamed content, and DRM for HTTP-streamed content.

See the OSMF blog post here for more details on these features:


As usual, if you have questions, you can post them to the OSMF forums:


Flex Builder 3 – How to get rid of the annoying unused CSS styles warning

by Charles Newman

If you like to use one CSS file in lots of different Flex projects you’ve probably seen an annoying warning message similar to this one:

“The CSS type selector ‘ComboBox’ was not processed, because the type was not used in the application. ”

This warning will appear at compile-time if you don’t have a ComboBox in your app, for example.  I like to put lots of styles in a few CSS files and reuse them, but I really don’t need this information. So the way to get rid of these warnings is to add this line to your “Additional compiler arguments” in the “Flex Compiler” section of your project’s properties:


SVN – How to determine the server version

by Charles Newman

There is an easy way to figure out what version of SVN is running on the server (the repository).  Just copy and paste the http or https address you use for your “svn checkout” into a web browser and you’ll see the server version in the footer of the html page.

So for example, you can see the OSMF repository is running Subversion 1.6.3 by pasting this URL into your browser:



And OVP on Sourceforge.net:



OSMF – Sprint 9 release now available for download

The latest release of OSMF is now available here:


This is the work we did for Sprint 9, which concluded on January 20th. There are quite a few changes to the API and you can read the release notes for the specific changes.  The release notes have detailed descriptions of the API changes and should ease your pain when compiling your player against this new release.

Some of the new features in this release include:

See the OSMF blog post here for more details on these features:


We are currently heads down on Sprint 10, which will wrap up on February 24th.

As usual, if you have questions, you can post them to the OSMF forums:


Mac OS X – Rename a bunch of files quickly

by Charles Newman

Let’s say I have a bunch of files with the extension “.abc” and I want to change all of them to end with “.doc”.  I can rename each one individually in the Finder, but that could take a long time if there are a lot of files.  Especially considering the warning the Finder gives you about changing the file extension.

A much faster way to do it is to launch the Terminal application, “cd” to the directory where your files exist, and use this command:

for f in *.abc; do mv ./”$f” “${f%abc}doc”; done

All of  your “*.abc” files will be changed to “*.doc”.

Adobe Flash – Flash Player 10 is at 93.5% penetration

As of September 2009, Flash Player 10 is installed on 93.5% of the personal computers in mature markets. This includes the US, Canada, UK, Germany, France, Japan, Australia, and New Zealand.

All the projects I work on target Flash Player 10 or higher, and I can’t keep count of how many times developers have asked me, “how can I make this code work with Flash Player 9”. Simple answer, you can’t, so stop asking ;)

Details are here:
Worldwide Ubiquity of Adobe Flash Player by Version

Facebook – maximum picture size

by Charles Newman

If you are uploading pictures to Facebook, the largest dimension in width is 2048 pixels. If you upload a picture with a width or height larger than that, Facebook will resize it, maintaining the aspect ratio, but you won’t be controlling the compression or other settings.

If you want the best quality photo, load your photo into Photoshop, make the largest dimension 2048 pixels, save it, and then upload it to Facebook.

Here’s a link from Facebook for more info.