# Flashpaper size in AS3

**URL:** <https://forum.kirupa.com/t/flashpaper-size-in-as3/308830>\
**Category:** Uncategorized\
**Created:** [May 1, 2010, 1:32am UTC](https://forum.kirupa.com/t/flashpaper-size-in-as3/308830 "2010-05-01T01:32:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bosteso](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@bosteso](https://forum.kirupa.com/u/bosteso)\
**Post date:** [May 1, 2010, 1:32am UTC](https://forum.kirupa.com/t/flashpaper-size-in-as3/308830/1 "2010-05-01T01:32:59Z")

</div>

Regards.

I have some pdf documents that have been converted to flashpaper, I’m using a little AS3 code to include in flash, however the size does not match the original file; anyone can help me please?

i try load the swf (flashpaper file) into 800x600 movie, but not works, btw there is the code and screenshot

```auto
var url:String = "concepto_001-2007.swf";
var urlRequest:URLRequest = new URLRequest(url);
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loader_complete);
loader.load(urlRequest);
fla.addChild(loader);
 
function loader_complete(evt:Event):void {
    var target_mc:Loader = evt.currentTarget.loader as Loader;
    target_mc.x = 0;
    target_mc.y = 0;
	trace(target_mc.width);
	trace(target_mc.height);
	}

```
