Dragpane too large - movieclip returning wrong width?

Okay, now that I’ve caught your attention. Please have a look at the following project:

http://www.atom.no/pdf4web/vrbook2.html

Use your left and right arrow on the keyboard to navigate- or click the buttons in the buttonbar. Now what i want you to do is, click the “Vis full bredde” (Show full width) on the first page.

As you see, the page displays quite nicely and the scrollbar of the scrollpanne resizes quite correctly (not quite - but close).

Now, go back to “Virtuell bok” (virtual book) and click your way to where the old man grins with a pipe in his mouth (page 6). If you now click “Vis full bredde”, you will see that the scrollbars grow way too large for the content (and the contents does not show untill you drag one of the scrollbars)

Why is this? Here goes techincal information on what I am doing, and what I have tried in order so solve the matter:
[LIST]
[]Movie is flash 7. I have tried compiling it for flash 8 player, but no changes.
[
]I am using flash’s scrollpane for the scrollbars
[*]I have an onResize event for the movie - and it also resizes the size of the scrollpane to fill the width and height of the designated area:[/LIST]


// Stage operations
 Stage.align = "LT";
 Stage.scaleMode = "noScale";
 stageListener = new Object();
 stageListener.onResize = function() {
 
  // resize scroller
   scrPage._x = 0;
   scrPage._y = nMenuHeight;
   scrPage.setSize(Stage.width,Stage.height - nMenuHeight);   
 
  // reposition single page on center of stage (try to -- at least) 
   var page:MovieClip = scrPage.content;
   page._x = (Stage.width / 2) - (page._width / 2); 
}

I load the scrollpane in the following way:


// scrollpane component
 var scrPage = this.attachMovie("ScrollPane", "scrPage", 99);
 scrPage.contentPath = "mcContainer";
 scrPage.setStyle("borderStyle", "none"); 
 scrPage.setDragContent(true);
 scrPage._visible = false;
 
// load single page
  loader.loadClip("./swftools/grovik/swf/" + nCurrPage + "_grovik.swf", scrPage.content);  

[LIST]
[]The onResize event is triggered of course -when resizing- but also on onLoadInit for the movieclip that displays the single page.
[
]Sizes that the loaded movieclips reveal:[LIST]
[]Page 1: 761.55
[
]Page 2: 761.55
[]Page 4: 1464.05 (this is when things start getting weird)
[
]Page 6: 2834.6[/LIST]
[/LIST]When I think about it – could it be that the swfs I load simply are corrupted in a way? That they simply return wrong width? Or is there another explanation?

The swfs I load are:

http://www.atom.no/pdf4web/swftools/grovik/swf/0_grovik.swf
http://www.atom.no/pdf4web/swftools/grovik/swf/1_grovik.swf
http://www.atom.no/pdf4web/swftools/grovik/swf/3_grovik.swf
http://www.atom.no/pdf4web/swftools/grovik/swf/4_grovik.swf

They were created by a tool “pdf2swf” of the software package http://www.swftools.org/. Could it be a problem with the conversion tool? If so, which should I use?

Much information here. I hope it gave you an indication on what my problem is.