Re: [flexcoders] Keeping the MXML clean

2008-06-17 Thread Tom Chiverton
On Monday 16 Jun 2008, Richard Rodseth wrote: 3) Duplicate one line functions in the MXML file, that called shared static utility functions This has the advantage of creating an interface from the user of the shared code to the actual shared code itself, which could be handy if/when it

[flexcoders] Keeping the MXML clean

2008-06-16 Thread Richard Rodseth
I have a couple of chart series with dataFunctions that get updated dynamically. Some of these are shared between more than one chart. I wish to avoid large Script blocks with duplicate code. Here are some possibilities I've considered 1) A SeriesHelper class with a reference to the series and