# Google Ad within flash

**URL:** <https://forum.kirupa.com/t/google-ad-within-flash/277146>\
**Category:** flash\
**Created:** [December 8, 2008, 3:47pm UTC](https://forum.kirupa.com/t/google-ad-within-flash/277146 "2008-12-08T15:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhikumar](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Post date:** [December 8, 2008, 3:47pm UTC](https://forum.kirupa.com/t/google-ad-within-flash/277146/1 "2008-12-08T15:47:58Z")

</div>

my flash file has different pages and on every page flip i want to track the hits using GoogleAd… this is how i am trying to get it within flash:

```auto
 
onClipEvent (load) {
 getURL("javascript:pageTracker._trackPageview('/filetrack/'+_root.currentPage.text+'.html');");
}

```

root.currentPage.text is the generated page number- but this does not seem to work- looks like within this getURL parameter i can not add any variables… is there any other way to get the same result… please help… !!
