mm, I don't know much about Linux, but maybe you have to make sure the
argument is passed in as a String like this: -default-background-color
"#2d3238"
in windows the compiler takes this syntax as well

--- In flexcoders@yahoogroups.com, Clinton Judy <[EMAIL PROTECTED]> wrote:
>
> I have this command in a batch file:
>
> sudo ~/.flex/bin/./mxmlc SearchApp.mxml -default-background-color
#2d3238*
>
> And I get this response:
> *
> command line: Error: configuration variable 'default-background-color'
> expected 1 argument(s), got 0
> Use 'mxmlc -help' for information about using the command line.
>
> Maybe I have a different problem?
> *
> *
> maximecowez wrote:
> >
> > I did it with a hash sign (or whatever the name of that thing is),
works
> > fine:
> > -default-background-color #FFFFFF
> >
> > Also found some sources mentioning the use of a metadata tag, but
that
> > did not do it for my application: <mx:Metadata>
> > [SWF(defaultBackgroundColor="0xFFFFFF")]
> > </mx:Metadata>
> >
> > --- In flexcoders@yahoogroups.com
> > <mailto:flexcoders%40yahoogroups.com>, Clinton Judy cdj@ wrote:
> > >
> > > I'm trying to change the background color the preloader uses. I've
> > been
> > > using mxmlc to compile at the command line. From searching
tutorials
> > and
> > > the documentation, it looks like I'm supposed to add
> > > -default-background-color as an argument.
> > >
> > > But adding -default-background-color 2d3238 throws an error, and
tells
> > > me I need to use an integer? Looking elsewhere, I see someone used
> > > -default-background-color 0x2d3238 successfully. I try that, and I
> > don't
> > > get an error, but I still see the original preloader background
color.
> > >
> > > How do I change it?
> > >
> >
> >
>


Reply via email to