|
Hello list; SequenceCommand contains the
executeNextCommand() method:
public function executeNextCommand() : void
{
var isSequenceCommand : Boolean = (
nextEvent != null );
if( isSequenceCommand )
{
dispatchEvent( nextEvent
);
}
} I found that when executing this method in
the result handler of a SequenceCommand subclass, the FrontController’s
event handler was never invoked. I changed:
dispatchEvent( nextEvent ); to:
Application.application.dispatchEvent( nextEvent ); And then the FrontController’s event
handler was invoked as expected. This makes sense to me, since the
SequenceCommand object was not part of the application’s display list,
the event would never bubble up to the application. Has anyone come across this problem before?
Is there a different solution that doesn’t involve modifying the
Cairngorm source? Thanks. Tobias. Kodak Graphic Communications Canada Company Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com -- 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] Flex 2b2: [repost] Cairngorm SequenceCommand qu... Tobias Patton

