[flexcoders] Re: newbie question: Timer across components..

2007-03-28 Thread iilsley
Thanks for the response .. This is the code that I have ( it works ) but is it the right way to do it :) .. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() width=100%

Re: [flexcoders] Re: newbie question: Timer across components..

2007-03-28 Thread Bjorn Schultheiss
How about this ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:ns1=* creationComplete=init() mx:Script ![CDATA[ import flash.utils.Timer; import

[flexcoders] Re: newbie question: Timer across components..

2007-03-28 Thread iilsley
Thank you for responding , interesting but not really what I'm looking for. Your example makes it 'tightly coupled' ( if thats the correct terminology :) ) .. ie. Application relies on comp1 being a child and also having a 'fired' method. The ultimate goal is to have a bunch of 'panels' that

Re: [flexcoders] Re: newbie question: Timer across components..

2007-03-28 Thread Bjorn Schultheiss
I guess the idea would then be to apply a Front Controller Pattern. On 29/03/2007, at 1:50 PM, iilsley wrote: Thank you for responding , interesting but not really what I'm looking for. Your example makes it 'tightly coupled' ( if thats the correct terminology :) ) .. ie. Application relies