[flexcoders] Re: Is anybody else getting duplicate messages?

2007-03-31 Thread Yaison Alcantara
ya, and i can tell: ITS ANOYING



[flexcoders] Re: If im using the same code twice, should i re-use?

2007-03-26 Thread Yaison Alcantara
thank you for the answer, i guess that an experienced developer knows 
the important of code re-use. i think i need to be in more situations 
where i need to change things in my apps, probably this is the hard way 
to understand.



yaison...



[flexcoders] If im using the same code twice, should i re-use?

2007-03-25 Thread Yaison Alcantara
Hi coders,
This is a newbie question, finding its way to The enlightenment of 
Best-Practices and Re-use. Consider this case:


Custom Component A
--+
mx:Script
![CDATA[
//...logic for comp A
private function getRecords():void{
var params:Object = new Object();
params.method = 'company.getRecords';
params.table = 'Employees';

srv.send(params);
}
]]
/mx:Script

mx:HTTPService id=srv
url=http://company.com/dbmanager//

//components for comp A...
-+

|
|
|-*will it be ok to create a class that
   just handle the service?
  *does it really worth considering we
   are using the code just 2 times?
  *why?
|-*when should I re-use?
|
|

Custom Component B
--+
mx:Script
![CDATA[
//...logic for comp B
private function getRecords():void{
var params:Object = new Object();
params.method = 'company.getRecords';
params.table = 'Employees';

srv.send(params);
}
]]
/mx:Script
mx:HTTPService id=srv
url=http://company.com/dbmanager//

//components for comp B...
-+

that was all i hope you get the main idea. any tips, guidance, etc.. 
will be graceful.


thanks
   yaison.



[flexcoders] Re: Be patient, some messages are taking many hours to post.

2007-02-27 Thread Yaison Alcantara
ROFLOL!



[flexcoders] data being dragged

2006-12-12 Thread Yaison Alcantara
Hi coders,
This is comun Drag and Drop question very important.
How can i know the data being dragged?. How can i add (after the 
dragdrop) the data being dragged to an array collection?



[flexcoders] number to big for AS

2006-12-06 Thread Yaison Alcantara
hi coders;
I made an app that does a lot of matematical functions and handlers a 
lot numbers, but there is an error when the app multiplies some int. 
It have to return the number -2147408896 but it returns 2147408896.


what int is big for AS3 to handle?