Skip navigation
KennethLeo66
Currently Being Moderated

PopUpEvent class confusion

Nov 9, 2009 12:03 PM

I am using the Cairngorm Popup 1.0 library and have defined a popup like:

 

  <popup:PopUpWrapper id="newObjectClass" center="true" modal="true"

                                     closed="newObjectClassClosedHandler(event)">
    <uid:NewObjectDialog id="newObjectDialog"/>
  </popup:PopUpWrapper>

 

However when I try to compile this I get an error like:

 

[ERROR] /home/k/dev/src/flex-application/src/main/flex/Editor.mxml:[142,-1] Event type 'com.adobe.popup:PopUpEvent' is unavailable.

 

If I removing the 'closed' attribute on the PopUpWrapper compilation succeeds.

 

When I look at the library's PopUpBase I see that the following is declared:

 

[Event(name="closed",type="com.adobe.popup.PopUpEvent")]

 

I cannot find the class com.adobe.popup.PopUpEvent although I do see that the library includes class com.adobe.cairngorm.popup.PopUpEvent.  Is the Event declaration in PopUpBase incorrect or am I missing something?

 

Thanks

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points