Abdul’s right, depends what you change in the flex-config.xml but I think for the most part a change to flex-config is probably meant to affect the SWF unless you’re only changing the whitelist for one of the proxies.  So I’d generally re-compile.  It’s not like flex-config needs to change that often once it’s set up correctly.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Abdul Qabiz
Sent: Tuesday, May 24, 2005 11:16 AM
To: [email protected]
Subject: RE: [flexcoders] When do I need to Recompile mxml files?

 

Hi,

 

Not sure, depends on your requirements. Some of the settings like

 

generate-profile-swfs

generate-debug-swfs

optimize

actionscript-classpath

lib-path   

cache

fonts

 

might require recompilation of swf...

 

May be someone who is more familiar with this stuff, comment.

 

-abdul

 


From: [email protected] [mailto:[email protected]] On Behalf Of Valy Sivec
Sent: Tuesday, May 24, 2005 8:28 PM
To: [email protected]
Subject: RE: [flexcoders] When do I need to Recompile mxml files?

Thanks  Abdul.  Do I need to re-compile  mxml files in case I made some changes to flex-config.xml?

 

Thanks again,

Valy



Abdul Qabiz <[EMAIL PROTECTED]> wrote:

Hi,

 

Any changes to MXML & associated AS files would require recompilation. Any changes to backend logic (POJO, EJB) doesn't require flex app recompilation, unless you have use Model/XML tag to fetch data from backend.

 

Data of Model/XML tags get compiled in flex application, so you need to take care this situation..

 

<mx:Model source="http://www.myserver.com/getCategories.jsp" /> or <mx:XML source="http://www.myserver.com/getCategories.jsp"/>

 

 

getCategories.jsp returns xml file So if getCategories.jsp is changed, you should recompile the flex app also...

 

Does it make sense?

 

-abdul

 


From: [email protected] [mailto:[email protected]] On Behalf Of Valy Sivec
Sent: Tuesday, May 24, 2005 6:25 PM
To: [email protected]
Subject: [flexcoders] When do I need to Recompile mxml files?

Hello flexcoders,

I have a flex project and want to precompile the mxml files. I was wondering if I need to re-compile the mxml files in case for example I fix a bug in the business logic of a remote object method.. ( not method signature changes ).

So, when do I need to recompile the mxml files due to changes? I know that when any of the "as"/mxml/flex-config.xml has changed than need to recompile... How about server side classes? Should the mxml care if the backend changed?

Thanks for your help.

Valy


Do You Yahoo!?
Yahoo! Small Business - Try our new Resources site!


Do You Yahoo!?
Yahoo! Small Business - Try our new Resources site!



Yahoo! Groups Links

Reply via email to