a7mdfm / flexpaper

Automatically exported from code.google.com/p/flexpaper
1 stars 0 forks source link

JS error using mousewheel on MAc when the flexpaper is hidden (display: none) #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load flexpaper in a div
2. Toogle the div to display: none
3. Use the mouse wheel

What is the expected output? What do you see instead?
Then you got many errors: swf.hasFocus is not a function

What version of the product are you using? On what operating system?
This happen on Mac system, Chrome browser

Please provide any additional information below.
The error is comming from here:
http://code.google.com/p/flexpaper/source/browse/trunk/FlexPaper/src/com/devaldi
/controls/flexpaper/utils/MacMouseWheelHandler.as?r=400#102
It seems that the function does't retun a valid swf object if the div has been 
hidden.

Original issue reported on code.google.com by david.je...@gmail.com on 23 Nov 2010 at 10:45

GoogleCodeExporter commented 8 years ago
fixed in repository. due for release in FlexPaper 1.4.1

Original comment by erik.eng...@devaldi.com on 6 Dec 2010 at 7:14