Search the web
Sign In
New User? Sign Up
cairngorm-devel · Cairngorm Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
dispatchEvent   Message List  
Reply | Forward Message #52 of 210 |
I am using dispatchEvent within my Flex 2 Cairngorm 2 alpha
Application root and all is fine. However, when I try using it within
a TitleWindow the function is simply ignored. I have import
flash.events.Event; imported into the TitleWindow. Any ideas ?

Rich



Thu Feb 23, 2006 5:49 pm

rtretola@...
Send Email Send Email

Forward
Message #52 of 210 |
Expand Messages Author Sort by Date

I am using dispatchEvent within my Flex 2 Cairngorm 2 alpha Application root and all is fine. However, when I try using it within a TitleWindow the function...
Rich Tretola
rtretola@...
Send Email
Feb 23, 2006
6:53 pm

Has anyone been able to dispatch an event from an actionscript file successfully ? Rich...
Rich Tretola
rtretola@...
Send Email
Mar 2, 2006
8:39 am

Hi Rich, Yep, its not any different from dispatching from an MXML file, since they are converted to ActionScript anyway. What problem are you having? Cheers, ...
Alistair McLeod
alimcleod
Offline Send Email
Mar 2, 2006
2:43 pm

Hey Rich, The Cairngorm controller listens to Application.application, which is in the event flow (and on the display list) of your MXML files but not in the...
Alex Uhlmann
uhlmann_alex
Offline Send Email
Mar 2, 2006
3:25 pm

Thanks for all of the feedback. I was able to use the sequenceCommand instead but I know wonder, why is that the sequenceCommand works properly when...
Rich Tretola
rtretola@...
Send Email
Mar 3, 2006
9:47 am

Because the SequenceCommand class dispatches the event directly from Application.application. See executeNextCommand(). Best, Alex Alex Uhlmann Consultant...
Alex Uhlmann
uhlmann_alex
Offline Send Email
Mar 6, 2006
9:28 am

Hi Rich, When in a pop-up, events dispatched aren't being caught by the controller. As a work-around just now, use ...
Alistair McLeod
alimcleod
Offline Send Email
Mar 2, 2006
2:43 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help