a7mdfm / flexpaper

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

Multi-page SWF with FitPageOnLoad and FitWidthOnLoad centers resulting SWF vertically instead of focusing on 1st page #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

This is the generated SWF html embedding:

<object data="/html2pdf/FlexPaperViewer.swf" name="FlexPaperViewer" 
id="FlexPaperViewer" type="application/x-shockwave-flash" width="970" 
height="670"> 
<param value="high" name="quality"> 
<param value="#ffffff" name="bgcolor"> 
<param value="sameDomain" name="allowscriptaccess"> 
<param value="true" name="allowfullscreen"> 
<param 
value="SwfFile=/html2pdf/myswf.swf&amp;Scale=1&amp;ZoomTransition=linear&am
p;ZoomTime=0.5&amp;ZoomInterval=0.2&amp;FitPageOnLoad=false&amp;FitWidthOnL
oad=true&amp;PrintEnabled=true" name="flashvars">    
</object>

What is the expected output? What do you see instead?
Should focus on first page after generation

What version of the product are you using? On what operating system?
Latest (as of 2010-02-20)

Please provide any additional information below.
Tried FitPageOnLoad=true ==> same result

Original issue reported on code.google.com by ily...@gmail.com on 25 Feb 2010 at 9:02

GoogleCodeExporter commented 8 years ago
As a workaround, can you also add to a list of parameters 'StartAtPage'?  That 
way, I 
can set it to 1 and not worry about it focusing on lower part of page 4/5 of a 
5-page 
document for now.  This parameter might be also helpful in the future for those 
who 
want to tweak the default settings.  Thanks for the great plugin, keep up the 
good 
work.  If you need help on the Jquery end, let me know.

Original comment by ily...@gmail.com on 26 Feb 2010 at 4:51

GoogleCodeExporter commented 8 years ago
I've tried to debug some of these values myself, and it looks like, if I set 
the scale 
to 0.5 and FitWidth to true and FitPage to true, it works as expected.  Weird.

Original comment by ily...@gmail.com on 26 Feb 2010 at 11:07

GoogleCodeExporter commented 8 years ago

Original comment by erik.eng...@gmail.com on 8 Mar 2010 at 2:32

GoogleCodeExporter commented 8 years ago
can't reproduce this in the current version. 

Original comment by erik.eng...@gmail.com on 10 Mar 2010 at 7:27

GoogleCodeExporter commented 8 years ago

Original comment by erik.eng...@gmail.com on 10 Mar 2010 at 7:28

GoogleCodeExporter commented 8 years ago
Set the scale to 1 or greater to reproduce (in current/latest version, too).  
When the 
scale is set to less than 1, it behaves as expected.

Original comment by ily...@gmail.com on 10 Mar 2010 at 10:46

GoogleCodeExporter commented 8 years ago

Original comment by erik.eng...@gmail.com on 16 Mar 2010 at 6:56

GoogleCodeExporter commented 8 years ago
Fixed in code repository. Fix will be available in next build.

Original comment by erik.eng...@gmail.com on 18 May 2010 at 3:37