# Retrieving Page Number from PDF to AS3

**URL:** <https://forum.kirupa.com/t/retrieving-page-number-from-pdf-to-as3/320318>\
**Category:** flash\
**Created:** [March 20, 2011, 12:06pm UTC](https://forum.kirupa.com/t/retrieving-page-number-from-pdf-to-as3/320318 "2011-03-20T12:06:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coreman2200](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@coreman2200](https://forum.kirupa.com/u/coreman2200)\
**Post date:** [March 20, 2011, 12:06pm UTC](https://forum.kirupa.com/t/retrieving-page-number-from-pdf-to-as3/320318/1 "2011-03-20T12:06:29Z")

</div>

Hello!  
I’m not exactly sure if this is possible (I had at one point researched this and found no information on how to accomplish this task) but I would like to know if there is a way to send the current page number that an swf is embedded into within a PDF file and send it into said flash object for adjusting the scene.

```
As I could not find out how, before, I decided that the best route would be to have the main swf localconnect with another swf object that will relay a static page number to the main object. Of course the problem with going that route is that I will have to embed separate page-relaying objects per page with static page values represented within them, and when this project grows in size that will prove to be cumbersome task. This is an issue that I am willing to "suffer" through and already on the path of accepting ~ I just wanted to be sure that there wasn't a smarter way to go about this process.

```

Thank you for any/All help!
