Thanks for the idea. I'm just declaring it as untyped for now and
assigning it in a conditionally compiled block.

--- In flexcoders@yahoogroups.com, Johannes Nel <johannes....@...> wrote:
>
> abstract factory would also solve this, unless you compile to swc
that is.
> 
> On Fri, Jan 30, 2009 at 6:46 PM, jimmy5804 <jimmy5...@...> wrote:
> 
> >
> > I'm able to use conditional compilation for functions by prefacing
> > them with CONFIG::xxx and other blocks by wrapping them in
> > if(CONFIG::xxx), but I'm not sure how to do conditional declaration of
> > class variables without making the whole class conditional.
> >
> > If, for example, I have a single SQL class variable in a class that's
> > otherwise portable between Flex and AIR, do I need to create separate
> > classes for the two frameworks, or is there a convenient way to
> > conditionally declare the SQL variable?
> >
> > TIA
> >
> >  
> >
> 
> 
> 
> -- 
> j:pn
> \\no comment
>


Reply via email to