Archive for December, 2009

Using Spark Containers in MX Navigators

Wednesday, December 30th, 2009

I love mx Navigators (ViewStack, TabNavigator etc.) yet when adding spark containers to them you get the error…

The children of Halo navigators must implement INavigatorContent.

If you want to use the new spark containers you need to wrap them in, or just use spark.components.NavigatorContent (not easily found unless your using design view). NavigatorContent itself extends spark.components.SkinnableContainer so you can use it much like a Group and set a custom layout.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="" 
	       minWidth="955" minHeight="600">
	<mx:ViewStack id="vs" width="400" height="200">
		<s:NavigatorContent width="100%" height="100%" backgroundColor="0xFF0000">
			<s:Button label="vertical button 1"/>
			<s:Button label="vertical button 2"/>
			<s:Button label="vertical button 3"/>
		<s:NavigatorContent width="100%" height="100%" backgroundColor="0x0000FF">
			<s:Button label="horizontal button 1"/>
			<s:Button label="horizontal button 2"/>
			<s:Button label="horizontal button 3"/>
	<mx:ToggleButtonBar dataProvider="{vs}"/>

London Flash Platform User Group December 2009

Wednesday, December 9th, 2009

As usual I’ll start this LFPUG post with massive thanks to Trevor Burton and James Alliban for their presentations last month. As usual you can find the videos, presentations and source files in the presentations section.

This month due to the season of good will we’ll be meeting up a couple of weeks earlier than usual and there will be no presentations. Instead we’ll be meeting up for chinese food and booze.

That said we’ll still be having the raffle, and this month we have a full conference pass to FITC Amsterdam to give away!

London Flash Platform User Group 17th December 2009 (17/12/2009)

Sponsored by FITC.