Hi Dan,

as Tracy already said, it is possible to make service calls inside a
component. You might still want to think it through twice before you do this
because the service calls can very often be project specific. If the service
call is externalized, the same component could be more reusable. 

Of course this all depends the size of your "component". If your component
is a view, then it's usually okay to keep its service calls inside it,
although it is still wise to isolate the calls in their own class.

- Jukka


Dan Pride wrote:
> 
> Is it possible to make a service call from inside a component?
> In other words the component would be totally independent, getting its own
> data from the back end rather than passing it in from the parent mxml?
> Thanks
> Dan Pride
> 
> 
>       
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Component-Data-Calls-tp27584053p27694036.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to