Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1.create a consumer
2. add an eventListener to listen to channel disconnect
(consumer.addEventListener(|
Actual Results:
Flash Builder Proposes ChannelEvent.CHANNEL_CONNECT, ChannelEvent.CHANNEL_DISCONNECT...
Expected Results:
it should propose ChannelEvent.CONNECT, ChannelEvent.DISCONNECT
the problem is that FB uses the literal string to create the proposed constant and to fix this, the literal value should be public static const DISCONNECT : String="disconnect" instead of "channelDisconnect";
Workaround (if any):
type by hand or pick the wrong definition, clear the content till the 'SelectedEvent.' and press Ctrl+Space to propose the correct values.