• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

PopUpEvent class confusion

Guest
Nov 09, 2009 Nov 09, 2009

Copy link to clipboard

Copied

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

TOPICS
Cairngorm

Views

2.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 09, 2009 Nov 09, 2009

Copy link to clipboard

Copied

The fix for that bug is in trunk.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 10, 2009 Nov 10, 2009

Copy link to clipboard

Copied

LATEST

Thanks, Alex. Can you tell me when I might expect a release containing

the fix?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines