mrozmanith / flexcairngorm

Automatically exported from code.google.com/p/flexcairngorm
0 stars 0 forks source link

EventGenerator sequence is null when set in a separate MXML component #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Thank you very much for your framework. Great work guys!

Here is the issue I faced that might not be related to
an actual framework issue but perhaps a misunderstanding.

1. I create a separate MXML component holding Eventgenerator declaration 
(in attached)
2. I reference the component in the main application view
3. I start the sequence in calling the dispatch method on the referenced 
component

The sequence of events shall be dispatched.
Instead, I get a "Cannot access a property of a null object reference".
I attach the debug screen of FB that points the location of the issue.

Latest source version is used.
When the same code in the external MXML component is put in the
main application MXML the sequence is working.

I'm looking forward to any answer. Thanks.
Cédric

Original issue reported on code.google.com by rackamth...@yahoo.com on 5 Nov 2008 at 9:02

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

I found my issue, I had to nest EventGenerator in a UIComponent
in order for home to dispatch event... As explained in the
Thomas PDF Documentation.

Cédric

Original comment by rackamth...@yahoo.com on 6 Nov 2008 at 3:36