Skip to content
September 6, 2011 / Daniel Freeman

MadComponents now open source with in-depth documentation

MadComponents0_6_0.swc is available now.

MadComponents is a free open-source library to make user interfaces for Flash/AIR on Mobile.  (iPhone, Android, etc.).  MadComponents projects can be authored using either Flash, Flex (Flash Builder), or command line tools (amxmlc, adt).

The main update to this version is a new list component called <longList>.  The older list components are rendered on creation.  So a long list would be created when the application starts up – which could impact on app start-up performance.  But the <longList> component is rendered lazily, when list rows come into view.  There is also a recycle option:

<longList recycle=”true”/>

Enabling recycle re-uses list rows that have rolled off the screen, rather than instantiating new list rows.  So it is optimised to minimise run time memory.

(Note that <longList> only employs this lazy row rendering or recycling for custom row layouts).

MadComponents is now open-source.  You can access the source from here.  While MadComponents has always been free to use, I wanted to wait until the library was mature and stable before releasing the source.

I’ve also published the asdoc documentation at .

In related news, Michael Martinez is writing a series of blog articles on MadComponents here.

A MadComponents Logo

Can anyone anyone make a MadComponents logo?  (for free obviously).  It would be nice to have a logo.

Help Spread the Word

I’ve contributed MadComponents freely to the Flash Mobile developer community.  Please help spread the word about MadComponents and ExtendedMadness, by blogging and twittering.  It would be great if you could contribute more examples and tutorials, or even just talk about these libraries and what they can do.



Leave a Comment
  1. Jeff / Sep 6 2011 2:01 pm

    Sounds good. but do you have any examples online? Something we can hit with our desktop or Android browser and have a look and feel?

  2. Another Jeff / Sep 6 2011 2:43 pm

    Well done – I’m working on using MadComponents in a big way. This open source step gives me everything I want to feel comfortable about supporting it.

    Adobe – this is the component set that should have been part of AIR/mobile from the beginning. Figure out how to license it from Dan and let him continue to build it.

  3. Michael Martinez (@MonkMartinez) / Sep 6 2011 11:07 pm

    I would love to work on a logo. What elements would you like incorporated? The stuff on my site are just me messing around…

    • Daniel Freeman / Sep 7 2011 2:49 am

      I don’t know. You’ll need to be quite graphically creative to compensate for my lack of inspiration.

      I don’t want to influence you too much by my thoughts. You may think of something much better. But I was thinking about representing it by a simple symbol, or cartoon. No wording. MAD actually stands for Mobile Application Development, but I was thinking of playing on the MadComponents idea, and having a cartoon component, (or a character comprised of component bits) – acting crazy, wearing a straight jacket :), or hitting itself over the head with a hammer or something.

  4. Daniel Freeman / Sep 7 2011 2:53 am

    Notice to everyone: I’ll be a bit slow to approve or answer comments over the next 3 days. I’m not ignoring you – just away from the internet.

  5. Donny / Sep 29 2011 11:34 am

    I love the new AlertDialog in ExtendedMadness 0.0.2 – doesn’t like long text strings though!

    I was wondering – how would you create a layout for a PopUp with lots of text inside a label (think: disclaimer dialog).

    I’ve got the accept / decline buttons, but would need to be able to scroll text when there’s too much for the device’s screen dimensions.

  6. guitar-guy / Sep 29 2011 4:36 pm

    Hello Daniel,
    I’m very much enjoying working with these components – very nicely done. I do a quick question for you.

    Are there asdocs for the extended components? That would be helpful… It took me a while to figure out that the menu uses data instead of…

    • Daniel Freeman / Sep 30 2011 12:16 am

      Not much documentation, and no asdocs for extended components yet. It might be a while. I’m busy with other stuff currently.


  1. Cool Stuff with the Flash Platform - 9/8/2011 | Remote Synthesis

To discuss MadComponents/MC3D, join the Facebook group!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: