Hello Alex,

I try this and still getting error, saying keep-generated is not
recognized.

PainelAdmApp.mxml -keep-generated
-runtime-shared-library-path=C:\3.0.0\frameworks\libs\framework.swc,C:\3.0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf
-target-player=9.0.60 -services services-config.xml
-link-report=PainelAdmAppReport.xml -output
${deploy.dir}/PainelAdmApp.swf 

I this way to compile swf will be loaded if user dont had 9.0.60 how
can make user update automatically flashplayer? It is possible?
Because -target-player=9.0.60 don't do this, this only show a error
msg say user must update.

Thanks.

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> You want to force update to 9.0.60 or else if the user clears his cache
> he'll have to download the framework rsl again.
> 
>  
> 
> Try building from the command line with -keep-generated.
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of danielvlopes
> Sent: Tuesday, October 16, 2007 12:44 PM
> To: [email protected]
> Subject: [flexcoders] Re: Problems do make framework caching work
> 
>  
> 
> Hello alex... I think the reason is a change the beta1 to beta2 and
> some configurations in Flex Build Path still like in beta1, using .sgn
> file and not .swz file. I clean all configurations and remake like
> showed in video on labs, and now compiling from command line works...
> But when i try use -keep-generated in Addition Compiler Arguments in
> Flex Builder, don't work and in my ant xml don't work to... in flex
> builder my compiler arguments is: -locale en_US -services
> "services-config.xml" -keep-generated 
> 
> Why -keep-generated don't work?
> 
> Other question, when i use -target-player=9.0.60 and not use failover
> file, the app no loaded... ok, fine. It is possible i force user
> update your flashplayer for 9.0.60 or is better use failover swf
> framework file?
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > I use command line compiling all the time. Can you add -keep-generated
> > to your mxml commands? It will create a folder called "generated". I
> > want to see the file whose name ends with
> > "_mx_managers_SystemManager-generated.as:
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [email protected] <mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of danielvlopes
> > Sent: Tuesday, October 16, 2007 10:30 AM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Re: Problems do make framework caching work
> > 
> > 
> > 
> > I think the swz must be loaded, or not? I must upload swz and swf,
> > right? If right, i doing right, but still doesn`t work, i try exactly
> > Darrel teached, but dont work.
> > 
> > I become thinking framework caching can't work when use ant for
> compile.
> > 
> > Here is the link for test:
> > www.areaprojetos.com , in bottom left side put 07291207673 in "Login"
> > field, and 123456 in "Senha" field, and click in "Meus Servicos" ...
> > 
> > Framework will be load and after clean cache, will be loaded again...
> > 
> > --- In [email protected]
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > , "Alex Harui" <aharui@> wrote:
> > >
> > > That sounds right to me. framework_3.0.183453.swf will be loaded the
> > > very first time you run the app, then it should never get loaded
> > again.
> > > 
> > > 
> > > 
> > > ________________________________
> > > 
> > > From: [email protected]
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > [mailto:[email protected]
> <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com>
> > ] On
> > > Behalf Of danielvlopes
> > > Sent: Tuesday, October 16, 2007 7:50 AM
> > > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com> 
> > > Subject: [flexcoders] Problems do make framework caching work
> > > 
> > > 
> > > 
> > > Hello, i had a question about Framework caching on Flex 3 beta 2.
> > > 
> > > I had project, and i use ANT for compile...
> > > And i using rsl for let swf smaller and separte framework file,
> > > naturaly this framework file should be loaded one time and never
> > > quicked out of cache.
> > > 
> > > But not is this what happening, i use this line for compilation i
> ant:
> > > 
> > > "PainelAdmApp.mxml
> > >
> >
> -runtime-shared-library-path=C:\3.0.0\frameworks\libs\framework.swc,C:\3
> > >
> >
> .0.0\frameworks\rsls\framework_3.0.183453.swz,,framework_3.0.183453.swf
> > > -target-player=9.0.60 -services services-config.xml
> > > -link-report=PainelAdmAppReport.xml -output
> > > ${deploy.dir}/PainelAdmApp.swf"
> > > 
> > > I don't know what i do wrong. I had this conversation here in
> > > flexcoder about framework caching and a i try do exactly Darrel
> > > teached, using SWZ and target for 9.0.60 flash player but when look
> in
> > > firebug what is loaded, the swz file is never loaded and swf file is
> > > loaded.
> > > 
> > > Someone can help? Thanks.
> > >
> >
>


Reply via email to