Hi mike,
 
That is the weird thing. Other commands work fine. Also this command works also but the code beneth doesn't get executed which is the weird thing. The command doesn't implement responder therefore it doesn't use delegate either. It just manipulates the ModelLocator. The command is executed way into the application so the controller and everything is instantiated. The command is registered correctly with the controller otherwise it would not execute.

 
On 9/16/05, Michael Herron <[EMAIL PROTECTED]> wrote:

There are only so many things it can be:

 

·         Have you registered the event correctly with the controller?

·         Has the controller been instantiated?

·         Has the controller been instantiated BEFORE the event is broadcast?

o        When is the event broadcast?

·         Are you instantiating a delegate from within your command?

·         Are all services required by the delegates available when they are constructed?

 

-Mike


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Omar Ramos
Sent: 16 September 2005 15:40


To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cairgorn Bug?

 

Nope, This is the call EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj); The command only implements the Command interface and only has a if and a switch statement on execute thats it.

 



 

On 9/16/05, Mercer, Dustin < [EMAIL PROTECTED]> wrote:

Just curious, do you use any viewhelpers within your command?

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Omar Ramos
Sent: Friday, September 16, 2005 5:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cairgorn Bug?

 

I have set traces all over the place. No errors are occurring and the command gets executed. Any Idea what could be the problem?

On 9/14/05, Omar Ramos < [EMAIL PROTECTED]> wrote:

Thanks alot for your reply ali, If in fact there was an error why the piece of code beneth that line doesn't get executed? I am checking the command it is executing just fine. Gona check on it again.

 

On 9/14/05, Alistair McLeod < [EMAIL PROTECTED] > wrote:

Hi Omar,

 

An exception is probably getting thrown somewhere, either in the EventBroadcaster because the event hasn't been registered with a command, or within your command itself.

 

Have you checked flashlog.txt (ensure you have debug player, mm.cfg etc).

 

Ali

 

--
Alistair McLeod
Development Director
iteration::two
 
[EMAIL PROTECTED]
Office: +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.


Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.

 

 


From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Omar Ramos
Sent: 14 September 2005 00:43
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairgorn Bug?

 

Hi there,

 

There is something strange going with cairngorm in the application am currently developting. It seams that when I do a broadcast the lines of code beneth if doesn't execute.

I do this.

 

EventBroadcaster.getInstance().broadcastEvent(ScrapblogController.EVENT_SELECT_OBJECT, eventObj);
trace("TESTTTTTTTTTTTTTTTTTTTTT");

 

 

and the trace never apears or the code beneth it never gets executed. Any ideas?

 

 

 

Omar Ramos

System Developer

 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com


SPONSORED LINKS

Web site design development

Software design and development

Macromedia flex

Software development best practice

 

 

 


YAHOO! GROUPS LINKS

 

 


 


YAHOO! GROUPS LINKS

 

 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Software design and development Macromedia flex
Software development best practice


YAHOO! GROUPS LINKS




Reply via email to