Sure, where are you stuck?  Basic OOP stuff?  The basic process is to
put your functionality in a component.  You can use a normal class, and
then instantiate it using either mxml or AS, or you can use static
functions, or you can use the singleton pattern.

 

By the way, you say "all http services"  You understand that it is not
necessary to have multiple HTTPService instances, that one will often
work fine?  You know about AsyncToken?

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ghus32
Sent: Thursday, September 11, 2008 2:30 PM
To: [email protected]
Subject: [flexcoders] Holding functions and http services in separate
files

 

Hello everyone,

My application has reached over 3000 lines and now I want to clean up 
my code..

Is there a way I can put all http services into one file and load them 
on application startup, same with functions.

thanks

 

Reply via email to