we are using some common methods(functions) through out the
application. So we kept these methods in a ActionScript file. What we
are presently doing is we are importing this file whenever those
methods are required using:

<mx:Script source="../../../../Utilities/RequiredMethods.as" />

But what I said to them is make the methods as static or make the
class as singleton and access those methods like:

RequiredMethod.myFunt();

They said there's no difference and both will consume same space
(bytes) but what I think is as we are importing the
'RequiredMethods.as' using mx:script tag in many files its just
copying the code into many files(and thus duplicating) which will
increase the file(bytes) size.

Can any one confirm me whether both ways take same size of the first
one takes more???

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to