[flexcoders] X-axis values in flex chart

2008-11-18 Thread sefi.ninio
Hey 

I have a Flex LineChart with a lot of x values (around 300) - which
makes them not readable within the chart's container height/width.

Is there a way to make the chart display, say, every fifth value?

I am using:
mx:horizontalAxis
   mx:CategoryAxis dataProvider={row} categoryField=x
labelFunction=formatHorizontalAxis /
/mx:horizontalAxis

The formatHorizontalAxis function formats unix-time into MM/DD/
using DateFormatter, and I suppose I could also implement it to return
every 5th value, but I was wondering if there is a better way to do this.

Thanks,
Sefi



[flexcoders] component reuse

2008-10-02 Thread sefi.ninio
Hi everyone.

I have a functionality that needs to be implemented both as a
standalone app (for users with restricted access) and as a module in
the main app (for users with full rights access). 

In the effort of code reuse (and laziness, of course), I'd like to
implement the functionality once and pack it as a standalone
application and as a module to be loaded inside the main app.

I am in the middle of the process of thinking how to achieve this, and
would appreciate any suggestions the community here might have to offer.

I thought of packing it as a module and make both main app and
restricted app load it as a module - that seems the obvious approach,
but I'm curious if there are more elegant ways to resolve this.

Thanks,
Sefi



[flexcoders] Flex app - Browser compatibility and stress testing

2008-08-27 Thread sefi.ninio
Hey everyone...

I was wondering if anyone tried a stress and browser compatibility
testing tool successfully to test Flex application specifically or
flash applications in general...

I googled and found a few automation tools, but none seems to go the
Flash/Flex alley...

Sefi



[flexcoders] Binding using Interface

2008-08-26 Thread sefi.ninio
Hi everyone...

I get a binding warning I just can't seem to shake off...

I have an interface (let's call it IMyInterface) and it is defining,
among other things, a setter/getter function pair.

I know, I know - this screams extending a base class and not
implementing an interface, but bear with me...

The implementing classes implement those setter/getter pair, and the
getter function has the [Bindable] metatag defined.

Sure, Binding works like a charm, but that warning bugs me.
I know extending a base class that implements those setter/getter as
bindable will solve this.
I'm just wandering if there's a way to work with an interface and
still not get that warning...

Thanks,
Sefi