RE: [flexcoders] Precompiling with active web-tier compiler

2007-01-17 Thread Stembert Olivier (BIL)
Hi Hara,
 
Specify the location of the services-config.xml file by using the
"services" compiler argument.
 
Regards,
 
Olivier



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of haravallabhan
Sent: Wednesday, January 17, 2007 2:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Precompiling with active web-tier compiler



Hi all..

I am trying to precompile the application which uses the FDS 2.0. 
Precompiling doest give me any errors. But the issue is Iam using 
RemoteObject in the client to access Java methods. So it need web-
tier compiler. 

So when I wrote a html wrapper with the src="MyApp.swf" I get the 
error "couldn't establish a connection to MyService" where MyService 
is the destination I referred to in the RemoteObject call.The 
destination poits to the service mentioned in the remote-config.xml.

But when I give src="MyApp.mxml" in the html wrapper the application 
works fine. Is it that it nullified the precompile I did?? Does it 
compile again when I specify MyApp.mxml iside the html wrapper 

If so is there a way out, without compromising the precompiling 
action? Can I deactivate the web-tier compiler? And which config I 
may use instead of remote-config.xml. Since when remote-config.xml is 
there then the web-tier compiler is activates as per the help doc.

Does anyone have an answer for me?

Thanks in advance
Regards
Hara

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "haravallabhan" 
<[EMAIL PROTECTED]> wrote:
>
> Thanks gr8 work clint... thanks a lot... it worked... I was 
> searching for web-inf/flex/libs but it looks like it takes form the 
> sdk framework
> 
> thanks a lot clint.
> 
> cheers
> Hara
> 
> 
> 
> --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "Clint Modien"  wrote:
> >
> > Sounds like you're missing the fds.swc . It's not included in 
the 
> SDK.
> > 
> > You can get the express version of FDS here:
> > http://www.adobe.com/go/flex_trial
<http://www.adobe.com/go/flex_trial> 
> > 
> > On 1/12/07, haravallabhan  wrote:
> > >
> > > Thanks Clint for the links.. Was useful.
> > >
> > > I have added ant tags to compile and build the Flex application
> > > manually with precompilation.But When I tried to complie the 
mxml
> > > file using the ant build file I get an error which I didnt get 
> when I
> > > compile normally. The error says Interface IManaged not found 
and 
> the
> > > ant says the build was Failed.
> > >
> > > Whats the error mean? I am using the exec tag to use the 
> mxmlc.exe in
> > > the fsdk2/bin in the Flex Builder installed directory.
> > >
> > > Thanks
> > > regards
> > > Hara
> > >
> > > --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com>   40yahoogroups.com>, "Clint
> > > Modien"  wrote:
> > > >
> > > > http://livedocs.flexsearch.org/index.shtml?
<http://livedocs.flexsearch.org/index.shtml?> 
> cx=017079146949617508304%
<http://livedocs.flexsearch.org/index.shtml?
<http://livedocs.flexsearch.org/index.shtml?> 
> cx=017079146949617508304%25>
> > > 3Amv4wpsyofxu&cof=FORID%3A9&q=mxmlc#1126
> > > >
> > > > What you really want to do is setup ant to build it for you in
> > > flexbuilder
> > > > 2.
> > > > http://www.flex2ant.org/ <http://www.flex2ant.org/> 
> > > >
> > > > Or setup ant from the command line.
> > > > http://webddj.sys-con.com/read/309503.htm
<http://webddj.sys-con.com/read/309503.htm> 
> > > > http://webddj.sys-con.com/read/310378.htm
<http://webddj.sys-con.com/read/310378.htm> 
> > > >
> > > >
> > > > On 1/10/07, haravallabhan  wrote:
> > > > >
> > > > > Hi Rob and Mod,
> > > > > Thanks for your itme guys. Rob I use FDS and there are no 
> images
> > > > > loaded initally. I directly call the application which 
> initially
> > > > > shows
> > > > > Vbox--
> > > > > Hbox-a Logo-/Hbox
> > > > > applictionControlBar-- /
> > > > > viewStack
> > > > > -- first tab(visible first time) - 3 viewstack each has a 
> chart
> > > > > and datagrid
> > > > > -- second tab - a tree, 2 data grid and a viewstack with a
> > > > > datagrid and a chart
> > > > > /viewstack
> > > > > /vbox
> > >

RE: [flexcoders] Precompiling with active web-tier compiler

2007-01-17 Thread Dimitrios Gianninas
precompiling is the best option, your SWF will load in a split second. What you 
are missing is to specify the location of the services-config.xml (portion in 
red). Teh HTML wrapper shouldn't have anything to do with this. If you are 
using ant, it should look like this:
 

   
   
   
   
   
   
  
 
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
haravallabhan
Sent: Wednesday, January 17, 2007 8:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Precompiling with active web-tier compiler



Hi all..

I am trying to precompile the application which uses the FDS 2.0. 
Precompiling doest give me any errors. But the issue is Iam using 
RemoteObject in the client to access Java methods. So it need web-
tier compiler. 

So when I wrote a html wrapper with the src="MyApp.swf" I get the 
error "couldn't establish a connection to MyService" where MyService 
is the destination I referred to in the RemoteObject call.The 
destination poits to the service mentioned in the remote-config.xml.

But when I give src="MyApp.mxml" in the html wrapper the application 
works fine. Is it that it nullified the precompile I did?? Does it 
compile again when I specify MyApp.mxml iside the html wrapper 

If so is there a way out, without compromising the precompiling 
action? Can I deactivate the web-tier compiler? And which config I 
may use instead of remote-config.xml. Since when remote-config.xml is 
there then the web-tier compiler is activates as per the help doc.

Does anyone have an answer for me?

Thanks in advance
Regards
Hara

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , 
"haravallabhan" 
<[EMAIL PROTECTED]> wrote:
>
> Thanks gr8 work clint... thanks a lot... it worked... I was 
> searching for web-inf/flex/libs but it looks like it takes form the 
> sdk framework
> 
> thanks a lot clint.
> 
> cheers
> Hara
> 
> 
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , 
> "Clint Modien"  wrote:
> >
> > Sounds like you're missing the fds.swc . It's not included in 
the 
> SDK.
> > 
> > You can get the express version of FDS here:
> > http://www.adobe.com/go/flex_trial <http://www.adobe.com/go/flex_trial> 
> > 
> > On 1/12/07, haravallabhan  wrote:
> > >
> > > Thanks Clint for the links.. Was useful.
> > >
> > > I have added ant tags to compile and build the Flex application
> > > manually with precompilation.But When I tried to complie the 
mxml
> > > file using the ant build file I get an error which I didnt get 
> when I
> > > compile normally. The error says Interface IManaged not found 
and 
> the
> > > ant says the build was Failed.
> > >
> > > Whats the error mean? I am using the exec tag to use the 
> mxmlc.exe in
> > > the fsdk2/bin in the Flex Builder installed directory.
> > >
> > > Thanks
> > > regards
> > > Hara
> > >
> > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>  
> > >  40yahoogroups.com>, "Clint
> > > Modien"  wrote:
> > > >
> > > > http://livedocs.flexsearch.org/index.shtml? 
> > > > <http://livedocs.flexsearch.org/index.shtml?> 
> cx=017079146949617508304%
<http://livedocs.flexsearch.org/index.shtml? 
<http://livedocs.flexsearch.org/index.shtml?> 
> cx=017079146949617508304%25>
> > > 3Amv4wpsyofxu&cof=FORID%3A9&q=mxmlc#1126
> > > >
> > > > What you really want to do is setup ant to build it for you in
> > > flexbuilder
> > > > 2.
> > > > http://www.flex2ant.org/ <http://www.flex2ant.org/> 
> > > >
> > > > Or setup ant from the command line.
> > > > http://webddj.sys-con.com/read/309503.htm 
> > > > <http://webddj.sys-con.com/read/309503.htm> 
> > > > http://webddj.sys-con.com/read/310378.htm 
> > > > <http://webddj.sys-con.com/read/310378.htm> 
> > > >
> > > >
> > > > On 1/10/07, haravallabhan  wrote:
> > > > >
> > > > > Hi Rob and Mod,
> > > > > Thanks for your itme guys. Rob I use FDS and there are no 
> images
> > > > > loaded initally. I directly call the application which 
> initially
> > > > > shows
> > > > > Vbox--
> > > > > Hbox-a Logo-/Hbox
> > > > > applictionControlBar-- /
> > > > > viewStack
> 

[flexcoders] Precompiling with active web-tier compiler

2007-01-17 Thread haravallabhan
Hi all..

I am trying to precompile the application which uses the FDS 2.0. 
Precompiling doest give me any errors. But the issue is Iam using 
RemoteObject in the client to access Java methods. So it need web-
tier compiler. 

So when I wrote a html wrapper with the src="MyApp.swf" I get the 
error "couldn't establish a connection to MyService" where MyService 
is the destination I referred to in the RemoteObject call.The 
destination poits to the service mentioned in the remote-config.xml.

But when I give src="MyApp.mxml" in the html wrapper the application 
works fine. Is it that it nullified the precompile I did?? Does it 
compile again when I specify MyApp.mxml iside the html wrapper 

If so is there a way out, without compromising the precompiling 
action? Can I deactivate the web-tier compiler? And which config I 
may use instead of remote-config.xml. Since when remote-config.xml is 
there then the web-tier compiler is activates as per the help doc.

Does anyone have an answer for me?

Thanks in advance
Regards
Hara



--- In flexcoders@yahoogroups.com, "haravallabhan" 
<[EMAIL PROTECTED]> wrote:
>
> Thanks gr8 work clint... thanks  a lot... it worked... I was 
> searching for web-inf/flex/libs but it looks like it takes form the 
> sdk framework
> 
> thanks a lot clint.
> 
> cheers
> Hara
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Clint Modien"  wrote:
> >
> > Sounds like you're missing the fds.swc .  It's not included in 
the 
> SDK.
> > 
> > You can get the express version of FDS here:
> > http://www.adobe.com/go/flex_trial
> > 
> > On 1/12/07, haravallabhan  wrote:
> > >
> > >   Thanks Clint for the links.. Was useful.
> > >
> > > I have added ant tags to compile and build the Flex application
> > > manually with precompilation.But When I tried to complie the 
mxml
> > > file using the ant build file I get an error which I didnt get 
> when I
> > > compile normally. The error says Interface IManaged not found 
and 
> the
> > > ant says the build was Failed.
> > >
> > > Whats the error mean? I am using the exec tag to use the 
> mxmlc.exe in
> > > the fsdk2/bin in the Flex Builder installed directory.
> > >
> > > Thanks
> > > regards
> > > Hara
> > >
> > > --- In flexcoders@yahoogroups.com  40yahoogroups.com>, "Clint
> > > Modien"  wrote:
> > > >
> > > > http://livedocs.flexsearch.org/index.shtml?
> cx=017079146949617508304%
 cx=017079146949617508304%25>
> > > 3Amv4wpsyofxu&cof=FORID%3A9&q=mxmlc#1126
> > > >
> > > > What you really want to do is setup ant to build it for you in
> > > flexbuilder
> > > > 2.
> > > > http://www.flex2ant.org/
> > > >
> > > > Or setup ant from the command line.
> > > > http://webddj.sys-con.com/read/309503.htm
> > > > http://webddj.sys-con.com/read/310378.htm
> > > >
> > > >
> > > > On 1/10/07, haravallabhan  wrote:
> > > > >
> > > > > Hi Rob and Mod,
> > > > > Thanks for your itme guys. Rob I use FDS and there are no 
> images
> > > > > loaded initally. I directly call the application which 
> initially
> > > > > shows
> > > > > Vbox--
> > > > > Hbox-a Logo-/Hbox
> > > > > applictionControlBar-- /
> > > > > viewStack
> > > > > -- first tab(visible first time) - 3 viewstack each has a 
> chart
> > > > > and datagrid
> > > > > -- second tab - a tree, 2 data grid and a viewstack with a
> > > > > datagrid and a chart
> > > > > /viewstack
> > > > > /vbox
> > > > > Rob what do you mean by the controls in this context.
> > > > > Hi Mod where do I compile the files-- through FlexSDK 
> folder???
> > > > >
> > > > > Thanks
> > > > > regards
> > > > > Hara
> > > > >
> > > > > --- In flexcoders@yahoogroups.com  40yahoogroups.com> > > 40yahoogroups.com>, "Clint
> > > > > Modien"  wrote:
> > > > > >
> > > > > > Ya... precompiling would definitely help. While your 
> waiting for
> > > > > that
> > > > > > minute. 90% of that time is probably compilation.
> > > > > >
> > > > > > Precompiling is in the docs...
> > > > > >
> > > > > > http://livedocs.flexsearch.org/index.shtml?
> > > cx=017079146949617508304%
>  > > cx=017079146949617508304%25>
> > > > > 3Amv4wpsyofxu&cof=FORID%3A9&q=precompiling#816
> > > > > >
> > > > > > Which version of Flex is this?
> > > > > >
> > > > > >
> > > > > > On 1/10/07, haravallabhan  wrote:
> > > > > > >
> > > > > > > Hi guys,
> > > > > > > How to improve the startup performance of the flex
> > > application.
> > > > > That is
> > > > > > > before the application initializes a blank screen 
appears 
> for
> > > > > over a
> > > > > > > minute after that a progress bar shows up.I want to 
> minimize
> > > the
> > > > > time
> > > > > > > the blank page appears. I am using Tomcat server for 
> running
> > > the
> > > > > > > application. Does the usage of containers play a role 
on 
> such
> > > > > behaviour
> > > > > > > or is that a server problem.
> > > > > > >
> > > > > > > Will I be helped if the application is precompiled??.. 
If 
> so
> > > how
> > >