# AS for HGA XML Menu

**URL:** <https://forum.kirupa.com/t/as-for-hga-xml-menu/178841>\
**Category:** flash\
**Created:** [February 14, 2006, 6:13pm UTC](https://forum.kirupa.com/t/as-for-hga-xml-menu/178841 "2006-02-14T18:13:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chegworth](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@chegworth](https://forum.kirupa.com/u/chegworth)\
**Post date:** [February 14, 2006, 6:13pm UTC](https://forum.kirupa.com/t/as-for-hga-xml-menu/178841/1 "2006-02-14T18:13:23Z")

</div>

hi everyone  
ok, I’m getting there with making the hga menu conect to MySQL, just a couple of things,

I’m trying to pass a variable through the menu, so I have added another variable, mypage.

```auto
onClipEvent (load)
function executeAction(action)
    {
		_global.page = mypage;
		loadMovie( action , _parent.content);
}

```

This seems to work if you declair somthing like “HELLO”, but when trying to pass through my new “mypage” var, it does not work…  
any ideas?  
Thanks
