Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Adobe Flex SDK 3.2 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows
Browser: Internet Explorer 6.x
Language Found: English
Description
Steps to reproduce:
1. Run the hitEnterKeyOnAlert.mxml.
2. Click the button to show alert control.
3. Hit the Enter key on the alert control.
Actual Results:
It causes the following error.
Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.
at flash.net::FileReference/browse()
at hitEnterKeyOnAlert/alertListener()[C:\Documents and Settings\Administrator\My Documents\Flex Builder 3\SDK320\src\hitEnterKeyOnAlert.mxml:13]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
at mx.controls.alertClasses::AlertForm/removeAlert()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\alertClasses\AlertForm.as:500]
at mx.controls.alertClasses::AlertForm/clickHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\alertClasses\AlertForm.as:541]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
at mx.managers::FocusManager/http://www.adobe.com/2006/flex/mx/internal::sendDefaultButtonEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:1008]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]
at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]
Expected Results:
A file-browsing dialog box opens with no error.