yevon-cn / flexpaper

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

Scrolling problems #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load a properly formed, multi-paged SWF file
2. Scroll down the page using the scrollbar or mouse wheel

What is the expected output? What do you see instead?

The pages should smoothly transition from one to the next. Instead, when
the page break is about halfway on the page either the top page, or bottom
page, or both will disappear.

What version of the product are you using? On what operating system?

Using:
   - FlexPaper 1.2.4
   - Windows XP SP 3
   - Firefox 3.6.3
   - Internet Explorer 8.0

Please provide any additional information below.

Using Flex Builder 3 this worked just fine. When we converted to Flash
Builder 4 (non-beta) this occurs every time.

Original issue reported on code.google.com by johnmall...@gmail.com on 14 Apr 2010 at 7:37

GoogleCodeExporter commented 9 years ago
FlexPaper does not support Adobe Flex 4 yet but will be fixed to make sure it 
does.

Original comment by erik.eng...@gmail.com on 27 Apr 2010 at 12:45

GoogleCodeExporter commented 9 years ago
Scrolling works fine when zoom is 100%. The further one gets away from 100% 
(bigger
or smaller) the more pages disappear. The problem was on 1.2.1 and 1.2.4. Is 
there a
work around for Flash Builder 4?

Original comment by info%bey...@gtempaccount.com on 12 May 2010 at 12:55

GoogleCodeExporter commented 9 years ago
Hey Erik! I found what the issue is. In Flex 4 when zooming the height of the
DupImage is not changed like is with Flex 3, only the scaleX, scaleY. I've made 
a
small patch based on the current code from the trunk. The idea is to expose the
Image's unscaledHeight and calculate the image positions based on the scale, 
but I
don't know if this is the best solution. Also I've modified it only when 
ViewMode is
Portrait because I didn't have any problems in the other case.

Tony

Original comment by maverix7 on 17 May 2010 at 11:17

Attachments:

GoogleCodeExporter commented 9 years ago
Hi maverix7, I've applied your patch, it is working perfectly! Thanks

Original comment by BambuCha...@gmail.com on 18 May 2010 at 6:43

GoogleCodeExporter commented 9 years ago
Hey Tony
Thanks for the suggestion, I did however have to change it slightly. I am 
actually not after the unscaled height 
here but rather the scaled height. My fix should work for you though. Its 
available in the source repository and in 
the very soon to be made build. 

Original comment by erik.eng...@gmail.com on 18 May 2010 at 8:58

GoogleCodeExporter commented 9 years ago
I can still observe this issue on FlexPaper_2.0.2 standalone build. 
No matter what the zoom level is:
- Mouse scroll skips more than half of the upcoming page.
- Scroll is not smooth.

I am using:
Chrome 22
Windows 7
FlexPaper_2.0.2 standalone build.

Original comment by ebelvira...@gmail.com on 2 Nov 2012 at 11:21

GoogleCodeExporter commented 9 years ago
BTW, the issue is already there in the examples page: 
http://devaldi.com/adaptiveui/Intl_Monetary_Fund.php?ro=flash,html

Original comment by ebelvira...@gmail.com on 2 Nov 2012 at 11:23