What steps will reproduce the problem?
1. Have a Flex application with a button and in the click event handler
call FileReference class "browse" method.
What is the expected output? What do you see instead?
1. Expected Behaviour: On clicking the browse button, the File Browse
dialog should be popped up for user to select files.
2. Actual Behaviour: The file browser dialog is not popped up and there
were no error messages observed.
What version of the product are you using? On what operating system?
sfapi 0.2.6, On Windows XP
Please provide any additional information below.
Flex API FileReference->browse() method documentation says:
In Flash Player 10 and Flash Player 9 Update 5, you can only call this
method successfully in response to a user event (for example, in an event
handler for a mouse click or keypress event). Otherwise, calling this
method results in Flash Player throwing an Error exception.
Is this could be the reason for the above issue ??? Are we not simulating
a user event in the Click simulation ?
Original issue reported on code.google.com by sar...@gmail.com on 22 Dec 2009 at 6:57
Original issue reported on code.google.com by
sar...@gmail.com
on 22 Dec 2009 at 6:57